You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
CrowdControl/Assets/3rd/D2D_Scripts/Gameplay/Collectables/ICollectable.cs

14 lines
304 B
C#

using UnityEngine;
namespace D2D.Gameplay
{
/// <summary>
/// A base class for all collectables (coins, gems, weapons, ruins, ammo, cures, etc).
/// </summary>
public interface ICollectable
{
public bool IsPicked { get; }
public void Pick(GameObject owner);
}
}