Exemplo n.º 1
0
    void Update()
    {
        playerState = playerMove.GetPlayerState();

        if (playerState == PlayerMove.PlayerState.PLAY)
        {
            UpdateRange();
            UpdateAttack();
        }
    }
 private void Update()
 {
     state = playerMove.GetPlayerState();
 }