void OnDestroy() { infoList.Clear (); mInst = null; }
private static void Spawn() { GameObject go = new GameObject ("_RealTimeInvoker"); mInst = go.AddComponent<RealTimeInvoker>(); mInst.mRealTime = Time.realtimeSinceStartup; }