public void EnterInteractable(InteractibleObject.InteractType objectType)
 {
     _collideTrigger     = true;
     _inInteractable     = true;
     _isInteractableFuse = objectType == InteractibleObject.InteractType.Fuse;
     UpdateAnimators();
 }
    public override void OnInspectorGUI()
    {
        serializedObject.Update();

        EditorGUILayout.PropertyField(TypeProperty);
        InteractibleObject.InteractType type = (InteractibleObject.InteractType)TypeProperty.enumValueIndex;
        switch (type)
        {
        case InteractibleObject.InteractType.Damage:
            EditorGUILayout.PropertyField(DamageValueProperty, new GUIContent("Damage Value"));
            break;

        case InteractibleObject.InteractType.DangerZone:
            EditorGUILayout.PropertyField(DamageValueProperty, new GUIContent("Damage Per Second"));
            break;

        case InteractibleObject.InteractType.Break:
        case InteractibleObject.InteractType.BurnableProp:
            EditorGUILayout.PropertyField(HealValueProperty, new GUIContent("Heal Amount"));
            break;

        case InteractibleObject.InteractType.PickUp:
            EditorGUILayout.PropertyField(HealValueProperty, new GUIContent("Heal Amount"));
            break;
        }

        EditorGUILayout.PropertyField(BumpHeightProperty, new GUIContent("Bump Height"));
        serializedObject.ApplyModifiedProperties();
    }