static public void UnSelectAll() { for (int i = 0, imax = selected.Count; i < imax; i++) { MapIcon ic = selected[i]; ic.UnSelect(); } selected.Clear(); }
void Start() { if (NJGMap.instance != null) { if (revealFOW && NJGMap.instance.fow.enabled) { mRevealer = NJGFOW.CreateRevealer(); } } if (miniMap != null) { icon = miniMap.GetEntry(this); arrow = miniMap.GetArrow(this); } if (worldMap != null) { icon = worldMap.GetEntry(this); arrow = worldMap.GetArrow(this); } mColorSet = false; //enabled = revealFOW; }