private void Awake() { clockSM = new ClockStateMachine(); standard = new StandardClockState(this, clockSM); timer = new TimerClockState(this, clockSM); stopwatch = new StopwatchClockState(this, clockSM); deleteButton.onClick.AddListener(DeleteClock); }
public StopwatchClockState(Clock clock, ClockStateMachine stateMachine) : base(clock, stateMachine) { }
public TimerClockState(Clock clock, ClockStateMachine stateMachine) : base(clock, stateMachine) { }
protected ClockState(Clock clock, ClockStateMachine stateMachine) { this.clock = clock; this.stateMachine = stateMachine; }
public ClockTemplateState(Clock clock, ClockStateMachine stateMachine) : base(clock, stateMachine) { }
public StandardClockState(Clock clock, ClockStateMachine stateMachine) : base(clock, stateMachine) { }