예제 #1
0
 public static T GetInstance <T>() where T : MonoBehaviour
 {
     if (me == null)
     {
         Debug.LogWarningFormat("'{0}' instance is null.", typeof(T).FullName);
     }
     return((T)me);
 }