Exemplo n.º 1
0
 public LoadingScreen Hide(bool forced)
 {
     _ownAnimator.SetInteger("LoadingState", 0);
     if (forced)
     {
         _childrenController.DisableChildren();
     }
     return(this);
 }
 public LoadingScreen Initialize()
 {
     _ownAnimator = GetComponent<Animator>();
     _childrenController = gameObject.AddComponent<ChildrenControllerComponent>();
     _childrenController.DisableChildren();
     return this;
 }
Exemplo n.º 3
0
 public LoadingScreen Initialize()
 {
     _ownAnimator        = GetComponent <Animator>();
     _childrenController = gameObject.AddComponent <ChildrenControllerComponent>();
     _childrenController.DisableChildren();
     return(this);
 }
Exemplo n.º 4
0
 private void OnCloseEnded()
 {
     _childrenController.DisableChildren();
 }