Little cleaner code

This commit is contained in:
Antoine H 2020-12-07 16:04:11 +01:00
parent 573dc63762
commit c710d3c38e
3 changed files with 2 additions and 3 deletions

View file

@ -8,7 +8,7 @@ public class Mug : MonoBehaviour, IGrabable
{
public int size = 1; //Size (1 or 2 hands) of the object
public bool dirty = false;
public Consumable content= null; //new Consumable("beer",1,null);
public Consumable content{get; protected set;} = null; //new Consumable("beer",1,null);
public void use()
{