// Use this for initialization void Start() { NCS = GetComponent <NavigationControlSystem>(); var debugFlag = GetComponent <DebugFlag>(); if (debugFlag != null) { DebugLevel = debugFlag.Level; } }
// Use this for initialization void Start() { if (Mothership == null) { Mothership = GameObject.Find("Mothership"); } if (NCS == null) { NCS = GetComponent <NavigationControlSystem>(); } TransferFrom = GetComponent <ContainerCollection>()["CargoBay"]; TransferTo = Mothership.GetComponent <ContainerCollection>()["CargoBay"]; }
// Use this for initialization void Start() { NCS = GetComponent <NavigationControlSystem>(); AttackEnds = float.PositiveInfinity; }
public ChaseAttackAction(NavigationControlSystem ncs, GameObject target) { NCS = ncs; Target = target; }
// Use this for initialization void Start() { NCS = GetComponent <NavigationControlSystem>(); }
public MoveAction(NavigationControlSystem ncs, GameObject destination, float outerRange = 5.0f) { NCS = ncs; Destination = destination; }