dashboard
repositories
filestore
activity
search
login
main
/
GemBattle
宝石塔防
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
置换的时候上面会出现一个塔 原地拖动塔,充能条消失
chenxin
2020-11-19
a11b7ff3fd7da751165fd6c0a99c987b7e856395
[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);
}
}