void Awake() { mInstance = this; mData = new PBCameraData(); mCamera = gameObject.GetCom <Camera>(); mTrans = transform; Reset(); SetCameraFov(); }
void OnDestroy() { mInstance = null; }