I'm using ConditionalField to hide a SearchableEnum. These are the attributes:
[SerializeField, Tooltip("If true, invokes a callback to get the proper behaviour")]
private bool managedResponse;
[Tooltip("Default behaviour when in contact with laser"), SerializeField, ConditionalField("managedResponse", true), SearchableEnum]
private HitType type;
But every time an object has a managed response (Custom code to decide what to do with the laser) this error pops up. That means that it only happens when the field is being hiden.
I'm using ConditionalField to hide a SearchableEnum. These are the attributes:
But every time an object has a managed response (Custom code to decide what to do with the laser) this error pops up. That means that it only happens when the field is being hiden.