Пример #1
0
        private void StartInGameUi()
        {
            if (CanNotDoAction || _active)
            {
                return;
            }

            _active = true;
            StartBranch?.Invoke(this);
            _myGOUIBranch.MoveToThisBranch();
            _activateGOUI?.Invoke(_active);
        }
Пример #2
0
        private void StartUpAlwaysOnBranch()
        {
            _myGOUIBranch.ThisBranchesGameObject.SetActive(true);
            StartBranch?.Invoke(this);

            if (AlwaysOnIsActive)
            {
                PointerOver = true;
                _myGOUIBranch.DontSetBranchAsActive();
                _myGOUIBranch.MoveToThisBranch();
                PointerOver = false;
            }
        }