reduce minimum angle range for auto-target to 10

This commit is contained in:
jparent 2015-08-23 10:18:44 -04:00
parent 15d1776957
commit 91cf1734ba
2 changed files with 6 additions and 2 deletions

View File

@ -153,7 +153,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 567fe96dcacb08f4ab716a98ce99fc88, type: 3}
m_Name:
m_EditorClassIdentifier:
minAngleRange: 60
minAngleRange: 10
--- !u!135 &13545904
SphereCollider:
m_ObjectHideFlags: 1
@ -214,6 +214,10 @@ Prefab:
propertyPath: Speed
value: 2
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: minAngleRange
value: 10
objectReference: {fileID: 0}
m_RemovedComponents: []
m_ParentPrefab: {fileID: 0}
m_RootGameObject: {fileID: 190616}

View File

@ -5,7 +5,7 @@ using System.Collections.Generic;
public class AutoTarget : MonoBehaviour
{
private List<Transform> targets;
public float minAngleRange = 60f;
public float minAngleRange = 20f;
// Use this for initialization
void Start ()