/// <summary> /// Overriden method for when scripts starts /// </summary> protected override void Start() { base.Start(); action = GetComponentInChildren <WheelAction>(); toggle = GetComponentInChildren <LightToggle>(); outAnglePrevious = action.outAngle; audioSource = GetComponent <AudioSource>(); }
/// <summary> /// Method for when scripts starts /// </summary> protected void Start() { action = GetComponentInChildren <WheelAction>(); toggle = GetComponentInChildren <LightToggle>(); //Tests if game needs to start automatically if (autoStart) { StartGameSequence(); } }