9 lines
135 B
C#
9 lines
135 B
C#
using UnityEngine;
|
|
|
|
public class DontDestroy : MonoBehaviour
|
|
{
|
|
void Awake()
|
|
{
|
|
DontDestroyOnLoad(gameObject);
|
|
}
|
|
} |