void Awake() { foragerMemory = GetComponent <ForagerMemory> (); foragerMovement = GetComponent <ForagerMovement> (); for (int i = -size; i < size + 1; i++) { for (int j = -size; j < size + 1; j++) { wanderpoint[i + size, j + size] = 1; } } }
void Awake () { foragerMemory = GetComponent<ForagerMemory>(); foragerMovement = GetComponent<ForagerMovement>(); foragerExplore = GetComponent<ForagerExplore>(); foragerCommunicate = GetComponentInChildren<ForagerCommunicate> (); }
void Awake() { foragerMemory = GetComponent <ForagerMemory>(); foragerMovement = GetComponent <ForagerMovement>(); foragerExplore = GetComponent <ForagerExplore>(); }