瀏覽代碼

Return " >areaCost" variables to AttributeEditor.

Konstant 9 年之前
父節點
當前提交
40907e4ec1
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      bin/Data/Scripts/Editor/AttributeEditor.as

+ 6 - 0
bin/Data/Scripts/Editor/AttributeEditor.as

@@ -1491,6 +1491,12 @@ Array<VectorStruct@> vectorStructs;
 
 
 void InitVectorStructs()
 void InitVectorStructs()
 {
 {
+    Array<String> crowdManagerAreaCostVariables = {
+        "   Area Count",
+        "      Cost"
+    };
+    vectorStructs.Push(VectorStruct("CrowdManager", "   >AreaCost", crowdManagerAreaCostVariables, 1));
+    
     Array<String> categories = GetObjectCategories();
     Array<String> categories = GetObjectCategories();
     for (int categoryIndex = 0; categoryIndex < categories.length; categoryIndex++)
     for (int categoryIndex = 0; categoryIndex < categories.length; categoryIndex++)
     {
     {