(Created page with "=Properties= {{ScriptFunction|SGameObject|GameObject|{get;}|Return the GameObject which component added.|5= collider = Space.Scene.Find("Cube").Collider<br> ''--get the sampl...") |
|||
Line 7: | Line 7: | ||
''--get the game object from collider component.''<br> | ''--get the game object from collider component.''<br> | ||
Space.Log(obj.Name)<br> | Space.Log(obj.Name)<br> | ||
− | ''--output name of the component added | + | ''--output name of the component added.'' |
}} | }} | ||
Return the GameObject which component added.
--get the sample component collider here.
obj = collider.GameObject
--get the game object from collider component.
Space.Log(obj.Name)
Return if the component is alive.
--get the sample component collider here.
obj = collider.GameObject
--get the game object from collider component.
Space.Log(obj.Alive)
|