예제 #1
0
 static public void UnSelectAll()
 {
     for (int i = 0, imax = selected.Count; i < imax; i++)
     {
         MapIcon ic = selected[i];
         ic.UnSelect();
     }
     selected.Clear();
 }
예제 #2
0
        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;
        }