15 lines
291 B
C#
15 lines
291 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class PersistentManager<TManager> : Manager<TManager>
|
|
where TManager : Component
|
|
{
|
|
protected override void Awake()
|
|
{
|
|
DontDestroyOnLoad(this.gameObject);
|
|
|
|
base.Awake();
|
|
}
|
|
}
|