Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

game object find

//Find

private GameObject any_name;

any_name = GameObject.Find("any_name_object").GetComponent<GameObject>();

//___________________________________or_____________________________________

//FindWithTag
private GameObject any_name;

any_name = GameObject.FindWithTag("any_name_tag");



 
PREVIOUS NEXT
Tagged: #game #object #find
ADD COMMENT
Topic
Name
9+6 =