Selection.activeGameObjectstatic var activeGameObject : GameObjectDescriptionReturns the active game object. (The one shown in the inspector) It will also return game objects that might be prefabs or non-modifyable objects. |
|
||||
| Scripting > Editor Classes > Selection | ||||
Selection.activeGameObjectstatic var activeGameObject : GameObjectDescriptionReturns the active game object. (The one shown in the inspector) It will also return game objects that might be prefabs or non-modifyable objects. |