Exemplo n.º 1
0
 private void Start()
 {
     SavingSystem = this;
     DontDestroyOnLoad(gameObject);
     if (SaveType == SavingType.Time || SaveType == SavingType.TimeAndTrigger)
     {
         StartCoroutine(SaveTimer());
     }
 }
Exemplo n.º 2
0
 private void OnEnable()
 {
     CurrentSL = (SLScene)target;
 }