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); } }
private void FindNewIndex(IGOUIModule currentGOUI) { int index = 0; foreach (var inGameObjectUI in _playerObjects) { if (ReferenceEquals(inGameObjectUI, currentGOUI)) { _index = index; break; } index++; } }
public override void SetUpGOUIParent(IGOUIModule module) => _uiNode.InGameObject = module.GOUITransform.gameObject;
public virtual void SetUpGOUIBranch(IGOUIModule module) { }
public void SetUpGOUIBranch(IGOUIModule module) => _branchTypeBaseClass.SetUpGOUIBranch(module);
public virtual void SetUpGOUIParent(IGOUIModule module) { }