public void LoadingIn(UIImplements implements, List <UIBaseLayer> addingList, Action <UIBase> addFront) { if (m_LoadingBaseLayer != null) { return; } if (implements.LoadingCreator == null) { return; } UILoading loading = implements.LoadingCreator.Create(); addFront.Invoke(loading); m_LoadingBaseLayer = addingList.Find(layer => layer.Base == loading); }
public void FadeIn(UIImplements implements, List <UIBaseLayer> addingList, Action <UIBase> addFront) { if (m_FadeBaseLayer != null) { return; } if (implements.FadeCreator == null) { return; } UIFade fade = implements.FadeCreator.Create(); addFront.Invoke(fade); m_FadeBaseLayer = addingList.Find(layer => layer.Base == fade); }
public void ToastIn(UIImplements implements, List <UIBaseLayer> addingList, Action <UIBase> addFront, string message) { if (m_ToastBaseLayer != null) { return; } if (implements.ToastCreator == null) { return; } UIToast toast = implements.ToastCreator.Create(message); addFront.Invoke(toast); m_ToastBaseLayer = addingList.Find(layer => layer.Base == toast); }
public UIController(UIImplements implements) { m_Implements = implements; }