摘要:
using System.Collections; using System.Collections.Generic; using UnityEngine; using System.IO; public class Test : MonoBehaviour { public int m_x; pu 阅读全文
摘要:
using System; using System.Collections; using System.Collections.Generic; using UnityEngine.EventSystems; using UnityEngine.Events; using UnityEngine. 阅读全文
摘要:
1.先写一个单例模式保证全局只有一个音频管理的物体 1 public class Singleton<T> : MonoBehaviour where T : Singleton<T> 2 { 3 public static T Instance { get; private set; } 4 5 阅读全文