Exemple #1
0
        // 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);
        }
Exemple #2
0
        // invoked after a save is applied

        internal void INTERNAL_OnSaveApplied(Character character, string extraRpcData, string extraSaveData)
        {
            SL.TryInvoke(OnSaveApplied, character, extraRpcData, extraSaveData);
        }