Find

From ETC Public Wiki
Jump to: navigation, search

To Find an object use

 var go : GameObject = GameObject.Find("name");



To Find out if a object exists:

 if (GameObject.Find("WhateverItsCalled") != null)
 {
     //it exists
 }