Abstract
Protected
constructor!
export default class ExampleBehaviour extends AirshipBehaviour {
textComponent!: TMP_Text;
Awake() {
this.textComponent = this.gameObject.GetComponent<TMP_Text>();
}
}
Readonly
gameThe GameObject
this behaviour is attached to.
Readonly
transformThe Transform
this behaviour is attached to.
The enabled state of this component
Protected
Optional
AwakeProtected
Optional
FixedProtected
Optional
LateProtected
Optional
OnProtected
Optional
OnProtected
Optional
OnProtected
Optional
OnProtected
Optional
OnProtected
Optional
OnProtected
Optional
OnProtected
Optional
OnProtected
Optional
OnProtected
Optional
OnProtected
Optional
OnProtected
Optional
OnProtected
Optional
OnProtected
Optional
OnProtected
Optional
OnProtected
Optional
StartProtected
Optional
Update
A TypeScript parallel to the C# MonoBehaviour for Airship.
default
.Example declaration: