Inspector Attributes
Version: 1.0.0 Custom attribute that extend basic inspector functionality.
Use Cases:
- Make a field read-only
- Show a field conditionally based on other fields.
Package Mirrors:
Key Scripts & Components:
- public class ReadOnlyAttribute : PropertyAttribute
- public class ShowIfAttribute : PropertyAttribute
- Properties:
- public String ComparedPropertyName { get; }
- public Object ComparedValue { get; }
- public ComparisonType Comparison { get; }
- public DisablingType Disabling { get; }
- Properties:
Tests
- public class ShowIfTestBooleans : MonoBehaviour
- public class ShowIfTestEnumerations : MonoBehaviour
- public class ShowIfTestFloats : MonoBehaviour
- public class ShowIfTestIntegers : MonoBehaviour