init
This commit is contained in:
commit
fca6784fe7
571 changed files with 84105 additions and 0 deletions
13
Assets/Scripts/DontDestroy.cs
Normal file
13
Assets/Scripts/DontDestroy.cs
Normal file
|
@ -0,0 +1,13 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class DontDestroy : MonoBehaviour{
|
||||
|
||||
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
DontDestroyOnLoad(gameObject);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue