Protected
constructor!
export default class ExampleBehaviour extends AirshipBehaviour {
textComponent!: TMP_Text;
Awake() {
this.textComponent = this.gameObject.GetComponent<TMP_Text>();
}
}
Optional
customMust include a Character component. Make sure this prefab is also assigned in the Resources/NetworkPrefabCollection.asset
Readonly
gameThe GameObject
this behaviour is attached to.
Readonly
transformThe Transform
this behaviour is attached to.
Use to configure basic properties of Airship character system.
Usage: add this component to any game object in your scene.