/// <summary>
    /// 设置漫游漂浮UI
    /// </summary>
    /// <param name="isShow"></param>
    public void SetRoamFollowUI(bool isShow)
    {
        RoamFollowMange followManager = RoamFollowMange.Instance;

        if (followManager == null)
        {
            return;
        }
        if (isShow)
        {
            followManager.ShowRoamCameraUI();
        }
        else
        {
            followManager.CloseCameraUI();
        }
    }
Exemple #2
0
 // Use this for initialization
 void Start()
 {
     Instance = this;
 }