コード例 #1
0
    private void Update()
    {
        if (TurnState.IsReplay || !Actor.YourTurn || GameManager.Instance.IsPause)
        {
            return;
        }

        _wasChanged = Rotate() || _wasChanged;
        _wasChanged = Fire() || _wasChanged;

        if (_wasChanged)
        {
            TurnState.AddState();
            _wasChanged = false;
        }
    }