Esempio n. 1
0
        /// <summary>
        /// Delete the specified entry, adding it to the unused list.
        /// </summary>

        public virtual void DeleteArrow(UIMapArrowBase ent)
        {
            if (ent != null)
            {
                mListArrow.Remove(ent);
                mUnusedArrow.Add(ent);
                NJGTools.SetActive(ent.gameObject, false);
            }
        }
Esempio n. 2
0
 public virtual void DeleteArrow(UIMapArrowBase ent)
 {
     if (ent != null)
     {
         this.mListArrow.Remove(ent);
         this.mUnusedArrow.Add(ent);
         NJGTools.SetActive(ent.gameObject, false);
     }
 }
Esempio n. 3
0
 private void OnDestroy()
 {
     if (Application.isPlaying)
     {
         if (NJGMapBase.instance != null && NJGMapBase.instance.fow.enabled)
         {
             NJGFOW.DeleteRevealer(this.mRevealer);
         }
         this.mRevealer = null;
         if (this.arrow != null)
         {
             UIMiniMapBase.inst.DeleteArrow(this.arrow);
         }
         this.arrow = null;
     }
     NJGMapItem.list.Remove(this);
 }