-
Notifications
You must be signed in to change notification settings - Fork 1
Component bindings
SDraw edited this page May 25, 2023
·
4 revisions
Refer to Unity's Component documentation for properties and methods description.
-
gameObject
: get, GameObject -
tag
: get/set, string -
transform
: get, Transform
bool CompareTag(string tag)
-
object GetComponent(string name)
: Warning! Do not try to access components that don't have Lua bindings, because such components can't be detected by our garbage collector.
-
bool IsComponent()
: checks if value is type ofComponent
.
- Inherits properties and methods from Object.