void Start() { if (controller == null) { controller = GetComponent <MachineController>(); } controller.AddOnStateChanged(OnStateChanged); flareLight.color = Color.green; }
void Start() { if (controller == null) { controller = GetComponent <MachineController>(); } controller.AddOnStateChanged(OnStateChanged); flareLight.color = Color.green; }