public static void Register(LeanWindow window)
 {
     if (Instances.Count > 0 && window != null)
     {
         Instances[0].RegisterNow(window);
     }
 }
        private void RegisterNow(LeanWindow window)
        {
            WindowOrder.Remove(window);             // NOTE: Property

            windowOrder.Add(window);
        }
Esempio n. 3
0
    void Awake()
    {
        window = GetComponent <Lean.Gui.LeanWindow>();

        InitializeOnAwake();
    }