public ConstArg( ISceneUI sceneUI, IProcessManager processManager ) : base( processManager ) { thisSceneUI = sceneUI; }
public IMarkerUIMarkProcess CreateMarkerUIMarkProcess( ISceneUI sceneUI ) { MarkerUIMarkProcess.IConstArg arg = new MarkerUIMarkProcess.ConstArg( sceneUI, thisProcessManager ); return(new MarkerUIMarkProcess(arg)); }
public GameObject OpenUI(int id) { GameObject ui = Instantiate(UIPrefab[id]); //ui.transform.SetParent(gameObject.transform); Canvas canvas = ui.GetComponent <Canvas>(); canvas.sortingOrder = currSort; ISceneUI uiScript = ui.GetComponent <ISceneUI>(); if (uiScript != null) { uiScript.OnEnter(); } ++currSort; uiQueue.Add(ui); return(ui); }
public override void SetUp() { thisRectTransform = CollectRectTransform(); // thisCanvas = CollectCanvas(); thisSceneUI = CreateSceneUI(); }