コード例 #1
0
ファイル: CGameRoot.cs プロジェクト: luofengwei/Client-Frame
 static public T GetGameSystem <T>()
     where T : CGameSystem
 {
     if (instance == null)
     {
         return(null);
     }
     else
     {
         return(instance._GetGameSystem <T>());
     }
 }
コード例 #2
0
 static public T GetGameSystem <T>()
     where T : CGameSystem
 {
     return(Instance == null ? null : Instance._GetGameSystem <T>());
 }