|
@@ -88,6 +88,9 @@ namespace GHZLangChao
|
|
|
#region 事件监听
|
|
|
private void SetShowDeviceTransform(ShowDeviceEvent e)
|
|
|
{
|
|
|
+ transform.position = e.ShowDeviceTransform.position;
|
|
|
+ transform.rotation = e.ShowDeviceTransform.rotation;
|
|
|
+ Debug.LogError($"position:{transform.position},rotation:{transform.rotation}");
|
|
|
this.UnRegisterEvent<ShowDeviceEvent>(SetShowDeviceTransform);
|
|
|
}
|
|
|
#endregion
|