Пример #1
0
 private static PlayerConnection CreateInstance()
 {
     PlayerConnection.s_Instance           = ScriptableObject.CreateInstance <PlayerConnection>();
     PlayerConnection.s_Instance.hideFlags = HideFlags.HideAndDontSave;
     return(PlayerConnection.s_Instance);
 }
Пример #2
0
 private static PlayerConnection CreateInstance()
 {
     s_Instance           = CreateInstance <PlayerConnection>();
     s_Instance.hideFlags = HideFlags.HideAndDontSave;
     return(s_Instance);
 }