// Code that runs on entering the state.
    public override void OnEnter()
    {
        atm = Owner.GetComponent<ATM>();

        atm.screenInfo = "You Got a Ticket!\nThank you.";
        atm.Display();

        currentTime = delayTime;
    }
Ejemplo n.º 2
0
    // Code that runs on entering the state.
    public override void OnEnter()
    {
        atm = Owner.GetComponent<ATM>();

        // Next AD to show
        atm.NextAD();
        atm.Display();

        Finish();
    }