Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to get variable value in properties file in inspector unity

add this [SerializeField] , like this

[SerializeField] float starSpeed = 0.5f;
 
PREVIOUS NEXT
Tagged: #variable #properties #file #inspector #unity
ADD COMMENT
Topic
Name
4+8 =