Beispiel #1
0
 public void TurnOnSceneLoadUI()
 {
     sceneLoadView = (SceneLoadCanvas)canvasPrefab_Dictionary[CanvasType.SceneLoad];
     sceneLoadView = Instantiate <SceneLoadCanvas>(sceneLoadView);
     DontDestroyOnLoad(sceneLoadView);
     sceneLoadView.TurnOnCanvas();
 }
Beispiel #2
0
    public void TurnOffSceneLoadUI()
    {
        sceneLoadView = FindObjectOfType <SceneLoadCanvas>();

        if (sceneLoadView != null)
        {
            sceneLoadView.TurnOffCanvas();
        }
    }
 public SceneLoadState(UIMgr owner, BaseCanvas canvasPrefab) : base(owner, canvasPrefab)
 {
     _canvas = (SceneLoadCanvas)canvasPrefab;
 }
 public override void Enter()
 {
     Debug.Log("씬 로딩 시작");
     _canvas = MonoBehaviour.Instantiate(_canvas);
 }