public void Start() { wallSensors = sensors.wallSensors; vision = sensors.visionSensor; harpoonSensor = sensors.harpoonSensor; EnvironmentManager.ActiveFishes.Add(gameObject); }
void Start() { movement.Throttle = 1f; proximitySensor = shipSensors.visionSensor; wallSensors = shipSensors.wallSensors; environment = GameObject.FindGameObjectWithTag("GameManager").GetComponent <EnvironmentManager>(); // bootstrap intention and tell other ships I'm here TryFindWhale(true); }
// Start is called before the first frame update void Start() { closestShip = null; previousHarpoon = null; wallSensors = sensors.wallSensors; vision = sensors.visionSensor; harpoonSensor = sensors.harpoonSensor; environment = GameObject.FindGameObjectWithTag("GameManager").GetComponent <EnvironmentManager>(); movement.Speed = 1; }
void Start() { movement.Throttle = 1f; proximitySensor = shipSensors.visionSensor; wallSensors = shipSensors.wallSensors; }
// Start is called before the first frame update void Start() { wallSensors = sensors.wallSensors; vision = sensors.visionSensor; }