예제 #1
0
 void OnEnable()
 {
     m_BasicCommandsReorderableList = new RepliesSetReorderableList(
         serializedObject,
         serializedObject.FindProperty("m_BasicCommands"),
         "Basic: Single command no parameters"
         );
     m_ParameterizedCommandsReorderableList = new RepliesSetReorderableList(
         serializedObject,
         serializedObject.FindProperty("m_ParameterizedCommands"),
         "Parameterized: Must use one parameter"
         );
     m_NArgunmentCommandsReorderableList = new RepliesSetReorderableList(
         serializedObject,
         serializedObject.FindProperty("m_NArgunmentCommands"),
         "N Argunment: One or more parameters"
         );
 }
예제 #2
0
 void OnEnable()
 {
     m_RepliesSetReorderableList = new RepliesSetReorderableList(serializedObject, serializedObject.FindProperty("m_Greetings"), "Greetings: {0}=nick {1}=greeting");
 }