Beispiel #1
0
        private void MoveToNextObjectOrBranch(IBranch branchToClose)
        {
            if (_playerObjects.Count > 0)
            {
                if (_myDataHub.ActiveBranch == branchToClose || _myDataHub.ActiveBranch.MyParentBranch == branchToClose)
                {
                    _playerObjects[_index].SwitchEnter();
                }

                _historyTrack.GOUIBranchHasClosed(branchToClose);
            }
            else
            {
                _historyTrack.GOUIBranchHasClosed(branchToClose, true);
            }
        }