mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 21:37:40 +02:00
Added Checkbox Parameter + Toggle Inputs Event
So now you can disable inputs if you need to :)
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user