Character System
//Set the default prefab to use when spawning a character
Airship.Characters.SetDefaultCharacterPrefab(myCharacter);
//Listen to every new character spawn
Airship.Characters.ObserveCharacters((newCharacter) => {
//Let the server and client sync
newCharacter.WaitForInit();
//Print their display name to the console
print("Character Spawned: " + newCharacter.GetDisplayName());
})Last updated