mirror of
https://github.com/ConjureETS/PillowFight.git
synced 2026-03-24 00:50:59 +00:00
reduce minimum angle range for auto-target to 10
This commit is contained in:
parent
15d1776957
commit
91cf1734ba
@ -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}
|
||||
|
||||
@ -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 ()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user