You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
550 B
22 lines
550 B
using UnityEngine; |
|
using System.Collections; |
|
using System.Collections.Generic; |
|
public class StairCanGo : MonoBehaviour { |
|
|
|
/// <summary> |
|
/// 用于判断可以去的楼层 |
|
/// 场景不同需要拖拽不同的楼层 |
|
/// </summary> |
|
|
|
public Transform ShiNei;//用于遍历楼有几层 |
|
public List<GameObject> CanGoFloor = new List<GameObject>();//可以去的楼层 |
|
|
|
public static StairCanGo Instance; |
|
void Awake() |
|
{ |
|
if (Instance == null) |
|
{ |
|
Instance = this; |
|
} |
|
} |
|
}
|
|
|