Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

public gameobject unity

INSTEAD OF WRITING PUBLIC LIKE THIS:-
public GameObject object;
YOU CAN WRITE SERIALIZEFIELD LIKE THIS:-
[SerializeField] GameObject object;
Source by www.codegrepper.com #
 
PREVIOUS NEXT
Tagged: #public #gameobject #unity
ADD COMMENT
Topic
Name
2+2 =