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)
|