摘要:
一、添加单例模板类 1 using UnityEngine; 2 3 public class Singleton<T> : MonoBehaviour where T : MonoBehaviour 4 { 5 private static T _instance; 6 7 private sta 阅读全文
摘要:
1 using UnityEngine; 2 using System.Collections; 3 using System.Collections.Generic; 4 [ExecuteInEditMode] 5 public class Parabola : MonoBehaviour { 6 阅读全文