Beispiel #1
0
 public ConstArg(
     ISceneUI sceneUI,
     IProcessManager processManager
     ) : base(
         processManager
         )
 {
     thisSceneUI = sceneUI;
 }
Beispiel #2
0
 public IMarkerUIMarkProcess CreateMarkerUIMarkProcess(
     ISceneUI sceneUI
     )
 {
     MarkerUIMarkProcess.IConstArg arg = new MarkerUIMarkProcess.ConstArg(
         sceneUI,
         thisProcessManager
         );
     return(new MarkerUIMarkProcess(arg));
 }
Beispiel #3
0
    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();
 }