Method Object:ToGameObject [-] [+]

Attempts to convert the Object to a GameObject.

If the Object is not a GameObject, returns nil.

Synopsis

gameObject = Object:ToGameObject()

Arguments

None.

Returns

GameObject gameObject

The Object as a GameObject, or nil.

Generated on
© 2010 - 2024 Eluna Lua Engine