using UnityEngine; using System.Collections; public class StairNeedAdd : MonoBehaviour { /// /// 把烘焙过的层添加都数组 /// void Start () { StairCanGo.Instance.CanGoFloor.Add(this.gameObject); } }