Ejemplo n.º 1
0
        public void Add(FlowWindowBase.SerializeParamBase param)
        {
            if (!UnityEngine.Object.op_Inequality((UnityEngine.Object)param.window, (UnityEngine.Object)null))
            {
                return;
            }
            FlowWindowBase instance = Activator.CreateInstance(param.type) as FlowWindowBase;

            if (instance == null)
            {
                return;
            }
            instance.Initialize(param);
            this.m_List.Add(instance);
        }
Ejemplo n.º 2
0
 public void Remove(FlowWindowBase window)
 {
     window.Release();
     this.m_List.Remove(window);
 }