1118OPSSNew/Assets/Zion/Scripts/GameScene/Processes/GroundLineSync.cs

32 lines
573 B
C#

using UnityEngine;
/// <summary>
/// 地线同步
/// </summary>
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;
}
}