// called from CustomCharacters.SpawnCharacterCoroutine internal void INTERNAL_OnSpawn(Character character, string extraRpcData, bool loadingFromSave) { character.gameObject.SetActive(false); ApplyToCharacter(character, loadingFromSave); SL.TryInvoke(OnSpawn, character, extraRpcData); }
// invoked after a save is applied internal void INTERNAL_OnSaveApplied(Character character, string extraRpcData, string extraSaveData) { SL.TryInvoke(OnSaveApplied, character, extraRpcData, extraSaveData); }