Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using Sirenix.OdinInspector;
- using UnityEngine;
- public class TestMono : MonoBehaviour
- {
- public enum EnumData
- {
- A,
- B,
- C
- }
- [ToggleGroup("hasCustomFadeDistance", 0, "Custom fade distance")]
- public bool hasCustomFadeDistance = false;
- [ToggleGroup("hasCustomFadeDistance"), LabelText("Offset")]
- public float customFadeDistance = 0f;
- [LabelText("One"), LabelWidth(50f), EnumPaging]
- public EnumData EnumOneValue = EnumData.A;
- [LabelText("Two"), LabelWidth(50f), EnumPaging]
- public EnumData EnumTwoValue = EnumData.A;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement