-
-
Notifications
You must be signed in to change notification settings - Fork 0
Custom Inspector
Henry de Jongh edited this page Mar 11, 2023
·
3 revisions
When your MonoBehaviour
uses a custom editor for the Unity inspector, you can add the following lines of code to restore the Reactive Logic Settings
section:
[CustomEditor(typeof(MyLogic))]
public class MyLogicEditor : UnityEditor.Editor
{
public override void OnInspectorGUI()
{
var sReactiveData = serializedObject.FindProperty("_reactiveData");
EditorGUILayout.PropertyField(sReactiveData);
// ...
if (serializedObject.hasModifiedProperties)
serializedObject.ApplyModifiedProperties();
}
}
Logic Components | Terminology | Programming | External Components | |
---|---|---|---|---|
![]() |
Logic Animator | Activator | Custom Logic | Reactive Dynamic Light |
![]() |
Logic Auto | Caller | Custom Inspector | |
![]() |
Logic Branch | Delay | Use Key | |
![]() |
Logic Case | Target | ||
![]() |
Logic Collision Pair | User Inputs | ||
![]() |
Logic Compare | |||
![]() |
Logic Counter | |||
![]() |
Logic Destroy | |||
![]() |
Logic Filter | |||
![]() |
Logic Group | |||
![]() |
Logic Instantiate | |||
![]() |
Logic Log | |||
![]() |
Logic Move Linear | |||
![]() |
Logic Relay | |||
![]() |
Logic Timer | |||
![]() |
Logic Trigger | |||
![]() |
Logic Unity |