using UnityEngine; using System.Collections; public class AssetGame_Basewhere T : new() { public static T Ins { get { if (m_Instance == null) m_Instance = new T(); return m_Instance; } } private static T m_Instance; }