public override void GetActiveInterfaceObjects(List <Widget> currentObjects, int flag)
        {
            int tabsEditorID       = flag;
            int containersEditorID = flag;
            int quickslotsEditorID = flag;
            int genericFlag        = flag;

            if (flag < 0)
            {
                tabsEditorID       = TabsEditorID;
                containersEditorID = ContainersEditorID;
                quickslotsEditorID = QuickslotsEditorID;
                genericFlag        = GUIEditorID;
            }

            for (int i = 0; i < StackContainerDisplays.Count; i++)
            {
                StackContainerDisplays[i].GetActiveInterfaceObjects(currentObjects, containersEditorID);
            }
            StackContainerInterface.GetActiveInterfaceObjects(currentObjects, containersEditorID);
            InventoryTabs.GetActiveInterfaceObjects(currentObjects, tabsEditorID);
            QuickslotsDisplay.GetActiveInterfaceObjects(currentObjects, quickslotsEditorID);

            Widget w = new Widget(quickslotsEditorID);

            w.SearchCamera = NGUICamera;
            w.BoxCollider  = QuickslotsCarrySquare.Collider;
            currentObjects.Add(w);

            w.Flag        = genericFlag;
            w.BoxCollider = CloseButton.GetComponent <BoxCollider>();
            currentObjects.Add(w);
        }
        public override void GetActiveInterfaceObjects(List <Widget> currentObjects, int flag)
        {
            if (flag < 0)
            {
                flag = GUIEditorID;
            }

            Tabs.GetActiveInterfaceObjects(currentObjects, flag);
        }
Beispiel #3
0
        public override void GetActiveInterfaceObjects(List <Widget> currentObjects, int flag)
        {
            if (flag < 0)
            {
                flag = GUIEditorID;
            }

            Tabs.GetActiveInterfaceObjects(currentObjects, flag);
            if (GUIDetailsPage.Get.Visible)
            {
                GUIDetailsPage.Get.GetActiveInterfaceObjects(currentObjects, GUIDetailsPage.Get.GUIEditorID);
            }
        }
Beispiel #4
0
        public override void GetActiveInterfaceObjects(List <Widget> currentObjects, int flag)
        {
            if (flag < 0)
            {
                flag = GUIEditorID;
            }

            Tabs.GetActiveInterfaceObjects(currentObjects, flag);
            Widget w = new Widget(flag);

            w.SearchCamera = NGUICamera;
            w.BoxCollider  = CloseButton.GetComponent <BoxCollider> ();
            currentObjects.Add(w);
            w.BoxCollider = ConfigureControlsButton.GetComponent <BoxCollider> ();
            currentObjects.Add(w);
        }
Beispiel #5
0
        public override void GetActiveInterfaceObjects(List <Widget> currentObjects, int flag)
        {
            if (flag < 0)
            {
                flag = GUIEditorID;
            }

            Tabs.GetActiveInterfaceObjects(currentObjects, flag);
            if (VideoApplyButton.layer != Globals.LayerNumGUIRaycastIgnore)
            {
                Widget w = new Widget(flag);
                w.SearchCamera = NGUICamera;
                w.BoxCollider  = VideoApplyButton.GetComponent <BoxCollider>();
                currentObjects.Add(w);
                w.BoxCollider = VideoCancelButton.GetComponent <BoxCollider>();
                currentObjects.Add(w);
            }
        }
Beispiel #6
0
        public void GetActiveInterfaceObjects(List <FrontiersInterface.Widget> currentObjects, int flag)
        {
            if (flag < 0)
            {
                flag = TabParent.Owner.GUIEditorID;
            }

            if (HasSubTabs)
            {
                SubTabs.GetActiveInterfaceObjects(currentObjects, flag);
            }
            else
            {
                for (int i = 0; i < Panels.Count; i++)
                {
                    if (Panels[i].gameObject.layer != Globals.LayerNumGUIRaycastIgnore)
                    {
                        FrontiersInterface.GetActiveInterfaceObjectsInTransform(Panels[i].transform, NGUICamera, currentObjects, flag);
                    }
                }
            }
        }