Skip to content

NachoAbril/EditConditionForUnity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

EditConditionForUnity

EditCondition property for Unity. Similar to EditCondition in Unreal Engine

Inside your class:

[HideInInspector]
public bool myEditCondition = true;
[EditCondition("myEditCondition")]
public float anyVariable;

In inspector you will see a checkbox in front of your variable ("anyVariable" in this case). Unchecking the check box, the variable will be readonly in the inspector.

About

EditCondition property for Unity. Similar to EditCondition in Unreal Engine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages