RtkManage.cs 389 B

123456789101112131415161718192021
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. public class RtkManage : MonoBehaviour
  5. {
  6. private SvrPlugin svrPlugin;
  7. private Vector3 oldPos;
  8. private void Start()
  9. {
  10. svrPlugin = SvrPlugin.Instance;
  11. }
  12. private void Update()
  13. {
  14. if(oldPos != transform.position)
  15. {
  16. // svrPlugin.
  17. }
  18. }
  19. }