10 lines
144 B
C#
10 lines
144 B
C#
using UnityEngine;
|
|
|
|
public class DontDestroyInstance : MonoBehaviour
|
|
{
|
|
void Awake()
|
|
{
|
|
DontDestroyOnLoad(gameObject);
|
|
}
|
|
}
|