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.
The NetworkObject this behaviour is attached to
Readonly
transformThe Transform
this behaviour is attached to.
The enabled state of this component
Protected
AwakeProtected
Optional
FixedGets the player who owns this object (if applicable)
undefined
if the object is server-owned or the owner is no longer in the serverProtected
Optional
LateProtected
Optional
OnProtected
Optional
OnProtected
Optional
OnProtected
Optional
OnProtected
Optional
OnProtected
Optional
OnProtected
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#
NetworkBehaviour
for Airship.default
.This component REQUIRES a NetworkObject in the same game object or in the parent of the heirachy
Example declaration: