Finds an Object in the Scene by name and type including inactive ones
- Parameters
-
name | Name of object in question |
type | Type of object in question |
- Returns
- First object found that has the given name and type. Null if none is found.
Definition at line 194 of file AVR_Utils.cs.
196 Object[] objs = Resources.FindObjectsOfTypeAll(type);
198 foreach (Object obj
in objs)
200 if (obj.name == name)