using UnityEngine; /// /// 地线同步 /// public class GroundLineSync : MonoBehaviour { private bool IsSelet = false; public FunctionSync_PositionRoate groundLineSync; // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { } public void RotateStarted() { groundLineSync.GetControl(); IsSelet = true; } public void RotateStoped() { groundLineSync.ReleaseControl(); IsSelet = false; } }