using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
[RequireComponent(typeof(ObjectPool))]
[RequireComponent(typeof(Sound))]
[RequireComponent(typeof(StaticData))]
public class Game : ApplicationBase<Game>
{
//全局访问功能
[HideInInspector]
public ObjectPool ObjectPool = null;
[HideInInspector]
public Sound Sound = null;
[HideInInspector]
public StaticData StaticData = null; //静态数据
//全局方法
public void LoadScene(int level)
{
//-----退出前一场景