コード例 #1
0
        override public void ShowGUI(List <ActionParameter> parameters)
        {
            documentID      = InventoryManager.DocumentSelectorList(documentID);
            addToCollection = EditorGUILayout.Toggle("Add to collection?", addToCollection);

            AfterRunningOption();
        }
コード例 #2
0
        override public void ShowGUI(List <ActionParameter> parameters)
        {
            documentCollectionMethod = (DocumentCollectionMethod)EditorGUILayout.EnumPopup("Method:", documentCollectionMethod);
            documentID = InventoryManager.DocumentSelectorList(documentID);

            AfterRunningOption();
        }
コード例 #3
0
 public override void ShowGUI(List <ActionParameter> parameters)
 {
     parameterID = Action.ChooseParameterGUI("Check carrying:", parameters, parameterID, ParameterType.Document);
     if (parameterID < 0)
     {
         documentID = InventoryManager.DocumentSelectorList(documentID, "Check carrying:");
     }
 }
コード例 #4
0
        override public void ShowGUI(List <ActionParameter> parameters)
        {
            parameterID = Action.ChooseParameterGUI("Document:", parameters, parameterID, ParameterType.Document);
            if (parameterID < 0)
            {
                documentID = InventoryManager.DocumentSelectorList(documentID);
            }
            addToCollection = EditorGUILayout.Toggle("Add to collection?", addToCollection);

            AfterRunningOption();
        }
コード例 #5
0
        public override void ShowGUI(List <ActionParameter> parameters)
        {
            documentCollectionMethod = (DocumentCollectionMethod)EditorGUILayout.EnumPopup("Method:", documentCollectionMethod);

            parameterID = Action.ChooseParameterGUI("Document:", parameters, parameterID, ParameterType.Document);
            if (parameterID < 0)
            {
                documentID = InventoryManager.DocumentSelectorList(documentID);
            }

            AfterRunningOption();
        }
コード例 #6
0
        override public void ShowGUI(List <ActionParameter> parameters)
        {
            documentID = InventoryManager.DocumentSelectorList(documentID, "Check carrying:");

            AfterRunningOption();
        }