dashboard
repositories
filestore
activity
search
login
魏旭东
/
GemBattle
forked from
GemBattle
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
增加自定义事件的宏
wangguan
2020-10-27
06430ef49a970c718e10c1ef8154d969e9906401
[~wxd/GemBattle.git]
/
Assets
/
Scripts
/
Common
/
DoNotDestory.cs
1
2
3
4
5
6
7
8
9
10
11
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DoNotDestory : MonoBehaviour
{
public void Awake()
{
DontDestroyOnLoad(gameObject);
}
}