Example #1
0
 void Start()
 {
     Instance = this;
 }
    public GameObject enemyIconPrefab; //敌人在地图上的图标预设(为什么是预设呢,因为敌人都是动态生成的,所以其在小地图的图标也应该是动态生成的)

    // Use this for initialization
    void Awake()
    {
        _instance     = this;
        playerIconTrs = GameObject.Find("PlayerIcon").transform;
    }
Example #3
0
 private void MinMap_SelectionChanged(object sender, EventArgs e)
 {
     MinMap.ClearSelection();
 }
Example #4
0
 // Use this for initialization
 void Awake()
 {
     _instance  = this;
     playerIcon = transform.Find("PlayerIcon");
 }