Example #1
0
    /// <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();
        }
    }
Example #2
0
 // Use this for initialization
 void Start()
 {
     Instance = this;
 }