コード例 #1
0
 protected override void SetProperties(SerializedProperty sentProperty)
 {
     if (GetIsCurrentProperty(sentProperty))
     {
         return;
     }
     base.SetProperties(sentProperty);
     //method to return a string showing number of child elements in list item
     System.Func <SerializedProperty, string> endTextFunc = (SerializedProperty arrayProperty) =>
     {
         return(EditorTool.GetArrayCountString(arrayProperty, "dataArray", "Thread", "Threads"));
     };
     //create list
     reorderableList = GetDefaultEditButtonList(dataArray, "Stories");
 }