示例#1
0
    public override void SetUpGOUIBranch(IGOUIModule module)
    {
        _myGOUIModule = module;
        _setScreenPosition.InGameObjectPosition = module.GOUITransform;

        var nodes = _myBranch.ThisBranchesGameObject.GetComponentsInChildren <INode>();

        foreach (var node in nodes)
        {
            node.SetGOUIModule(module);
        }
    }
示例#2
0
        private void FindNewIndex(IGOUIModule currentGOUI)
        {
            int index = 0;

            foreach (var inGameObjectUI in _playerObjects)
            {
                if (ReferenceEquals(inGameObjectUI, currentGOUI))
                {
                    _index = index;
                    break;
                }

                index++;
            }
        }
示例#3
0
 public override void SetUpGOUIParent(IGOUIModule module) => _uiNode.InGameObject = module.GOUITransform.gameObject;
示例#4
0
 public virtual void SetUpGOUIBranch(IGOUIModule module)
 {
 }
示例#5
0
 public void SetUpGOUIBranch(IGOUIModule module) => _branchTypeBaseClass.SetUpGOUIBranch(module);
示例#6
0
 public virtual void SetUpGOUIParent(IGOUIModule module)
 {
 }