Example #1
0
    void NowEvent()
    {
        // イベントを終了時にtrueを返しStateを戻す
        if (_event.Event.EventUpData())
        {
            // イベントオブジェクトのアイコンの設定
            _event.SetEventObjIcon();

            // アイテムUIを表示する
            if (_itemCircle != null)
            {
                if (_itemCircle.gameObject.activeSelf == false &&
                    _itemCircle.ItemIconList.Count != 0)
                {
                    _itemCircle.gameObject.SetActive(true);
                }
            }

            _state = CharState.NOMAL;
        }
    }