Example #1
0
 public void InitScene()
 {
     if (iLevelLocal)
     {
         levelManger = iLevelLocal.GetComponent <ILevelLocal>();
     }
     if (levelManger != null)
     {
         levelManger.InitScene();
     }
 }
Example #2
0
    public void InitScene()
    {
        if (ILevelLocal)
        {
            levelManger = ILevelLocal.GetComponent <ILevelLocal>();
        }
        if (levelManger != null)
        {
            levelManger.InitScene();
        }

        //Debug.Log("nothing for this scene");
        UILandscape.Instance.Init(canvasPortrait, canvasLandscape, canvasWorld);
        parentUICanvas.ClearChild();
    }