コード例 #1
0
 private void OnEnable()
 {
     generater             = new GenerateController();
     serializedObject      = new SerializedObject(this);
     animations            = serializedObject.FindProperty("animationObjects");
     subAnimatorMachines   = serializedObject.FindProperty("subAnimatorMachineItems");
     customReorderableList = new CustomReorderableList(serializedObject, subAnimatorMachines);
     InitAnimationList();
 }
コード例 #2
0
 private void OnEnable()
 {
     _isAddDefaultAnis      = true;
     _generater             = new GenerateController();
     _serializedObject      = new SerializedObject(this);
     _animations            = _serializedObject.FindProperty("_animationObjects");
     _machineItems          = _serializedObject.FindProperty("_subMachineItems");
     _customReorderableList = new CustomReorderableList(_serializedObject, _machineItems);
     InitAnimationList();
 }