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; }
public LoadingScreen Initialize() { _ownAnimator = GetComponent <Animator>(); _childrenController = gameObject.AddComponent <ChildrenControllerComponent>(); _childrenController.DisableChildren(); return(this); }
private void OnCloseEnded() { _childrenController.DisableChildren(); }