public void OnExitRange(PlayerController player)
 {
     if (base.sprite != null)
     {
         if (SpriteOutlineManager.HasOutline(base.sprite))
         {
             SpriteOutlineManager.RemoveOutlineFromSprite(base.sprite);
         }
         SpriteOutlineManager.AddOutlineToSprite(base.sprite, Color.black);
     }
 }
 private void Update()
 {
     if (GameManager.HasInstance && GameManager.Instance.Dungeon != null && GameManager.Instance.Dungeon.tileIndices != null && GameManager.Instance.Dungeon.tileIndices.tilesetId == (GlobalDungeonData.ValidTilesets)CustomValidTilesets.CHAMBERGEON)
     {
         if (this.addsOutlineToSprite && this.attemptToAddOutlineAfterCreation && !SpriteOutlineManager.HasOutline(base.sprite))
         {
             SpriteOutlineManager.AddOutlineToSprite(base.sprite, outlineColor);
         }
     }
 }