/// <summary> /// Gets the instance. /// </summary> /// <returns>The instance.</returns> public static NextpeerManager GetInstance() { if (instance == null) { instance = new NextpeerManager (); } return instance; }
void Awake() { instance = this; }