override protected void Awake() { base.Awake(); canvas = GetComponentInChildren <CanvasGroup>(); state = normal; previousState = normal; }
override protected void Awake() { base.Awake(); canvas = GetComponentInChildren<CanvasGroup>(); state = normal; previousState = normal; }
protected override void DoStateTransition(SelectionState state, bool instant) { base.DoStateTransition(state, instant); StarSelectorState sState = GetSelectorState(state); if(this.state != sState) { previousState = this.state; this.state = sState; stateTimer = 0; } }
protected override void DoStateTransition(SelectionState state, bool instant) { base.DoStateTransition(state, instant); StarSelectorState sState = GetSelectorState(state); if (this.state != sState) { previousState = this.state; this.state = sState; stateTimer = 0; } }