Added Checkbox Parameter + Toggle Inputs Event

So now you can disable inputs if you need to :)
This commit is contained in:
Carson Kompon
2022-03-01 02:27:49 -05:00
parent daf19fae54
commit 687f2b53f4
8 changed files with 42 additions and 8 deletions

View File

@ -15,6 +15,7 @@ namespace RhythmHeavenMania.Editor
[Header("Property Prefabs")]
[SerializeField] private GameObject IntegerP;
[SerializeField] private GameObject FloatP;
[SerializeField] private GameObject BooleanP;
[SerializeField] private GameObject DropdownP;
[SerializeField] private GameObject ColorP;
@ -106,6 +107,10 @@ namespace RhythmHeavenMania.Editor
{
prefab = FloatP;
}
else if(type is bool)
{
prefab = BooleanP;
}
else if (objType.IsEnum)
{
prefab = DropdownP;