using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class 地图脚本 : MonoBehaviour
{
public GameObject[] 围墙;
public GameObject[] 地板;
public GameObject[] 障碍物;
public GameObject[] 食物;
public GameObject[] 敌人;
public GameObject 出口;
public GameObject 主角;
private int 行 = 10;
private int 列 = 10;
private Transform 地图管理;
private List<Vector2> 地图位置列表 = new List<Vector2>();
private 游戏流程脚本 游戏流程;
void Awake()
{
游戏流程 = this.GetComponent<游戏流程脚本>();
地图初始化();
}
// Update is called once per frame
void Update()
{
}
private void 地图初始化()
{
地图管理 = n