LD50/Assets/Scripts/PersistentManager.cs
2022-04-05 02:09:50 +02:00

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();
}
}