void Start() { Instance = this; }
public GameObject enemyIconPrefab; //敌人在地图上的图标预设(为什么是预设呢,因为敌人都是动态生成的,所以其在小地图的图标也应该是动态生成的) // Use this for initialization void Awake() { _instance = this; playerIconTrs = GameObject.Find("PlayerIcon").transform; }
private void MinMap_SelectionChanged(object sender, EventArgs e) { MinMap.ClearSelection(); }
// Use this for initialization void Awake() { _instance = this; playerIcon = transform.Find("PlayerIcon"); }