Main.Play_Update C# (CSharp) Method

Play_Update() private method

private Play_Update ( ) : void
return void
    private void Play_Update()
    {
        health -= damage * Time.deltaTime;

        if(health < 0)
        {
            fsm.ChangeState(States.Lose);
        }
    }