Compare commits

..

No commits in common. "6e9cafec5f0e98feb9a8301d82a876660b1bf6ca" and "61216fd72238ee4c0b20baf12c5f13fb817cb8d1" have entirely different histories.

2 changed files with 0 additions and 15 deletions

View File

@ -18,10 +18,4 @@ struct EndScreenShot
struct OnLock
{
public bool isLock;
}
struct OnUpdatePos
{
public Vector3 pos;
public Vector3 rot;
}

View File

@ -53,12 +53,6 @@ public class Show3DCamera : MonoBehaviour
TypeEventSystem.Global.Register<OnLock>(OnLockEvent).UnRegisterWhenDisabled(this);
}
private void OnEnable()
{
#if Turing
gameObject.SetActive(false);
#endif
}
private void OnLockEvent(OnLock islock)
{
this.lockMove = islock.isLock;
@ -447,9 +441,6 @@ public class Show3DCamera : MonoBehaviour
// 相机始终朝向目标点
transform.LookAt(targetPos);
}
#if Turing
TypeEventSystem.Global.Send<OnUpdatePos>(new OnUpdatePos() { pos = gameObject.Position(), rot = gameObject.LocalEulerAngles() });
#endif
}
}