private void Start() { mFrameData = new FrameData(); mLockStep = gameObject.AddComponent <LockStep>(); Debug.Log("!!!!!!!!!!" + GameObject.FindObjectOfType <LockStep>()); }
// 游戏推出时销毁 private void OnDestroy() { mFrameData = null; mLockStep = null; }