Class SomeOneIsSeperated
- Namespace
- DefaultNamespace
- Assembly
- Assembly-CSharp.dll
public class SomeOneIsSeperated : MonoBehaviour
- Inheritance
-
SomeOneIsSeperated
- Inherited Members
-
- Extension Methods
-
Constructors
SomeOneIsSeperated()
public SomeOneIsSeperated()
Fields
aggroRangeIfSeperated
public float aggroRangeIfSeperated
Field Value
- float
minDistanceForPlayerToBeConsideredToBeAlone
public float minDistanceForPlayerToBeConsideredToBeAlone
Field Value
- float
players
public List<Transform> players
Field Value
- List<Transform>
targetPlayer
public Transform targetPlayer
Field Value
- Transform
Methods
GetClosestPlayer()
public Transform GetClosestPlayer()
Returns
- Transform
public float GetMinDistanceToOtherPlayers(Transform player, out Transform closestPlayer)
Parameters
player
Transform
closestPlayer
Transform
Returns
- float
Go()
OnDrawGizmos()
public void OnDrawGizmos()
SomeoneIsAlone()
public bool SomeoneIsAlone()
Returns
- bool
Update()