ProjetPatate/Assets/Scripts/IGrabable.cs
2020-12-09 15:41:56 +01:00

12 lines
315 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public interface IGrabable
{
//Unity inspector doesn't handle well interface...
int size {get; set;} //Size (1 or 2 hands) of the object
void use();
void take();
void drop(Vector2 position); //Drop to position
}