using System.Collections; using System.Collections.Generic; using UnityEngine; public class FuTiGongNeng : MonoBehaviour { /// /// 功能页面 /// private void OnDisable() { } private void OnEnable() { FuTiBaoZhang.Instance.StartPlayAnim(); FuTiManager.Instance.ToCameraMoveToBestPos(); } // Start is called before the first frame update void Start() { } public void EndPage() { //动画结束 FuTiBaoZhang.Instance.EndPlayAnim(); FuTiManager.Instance.IsCanMove = false; //摄像机还原,回到首页 FuTiManager.Instance.ToReturnCameraPos(); //位置旋转还原 FuTiBaoZhang.Instance.ResetToInitialState(); } }