Factorisation des interactions IGrabable

This commit is contained in:
Antoine H 2020-12-09 15:41:56 +01:00
parent c254d73103
commit eacf4f2711
7 changed files with 76 additions and 44 deletions

View file

@ -4,8 +4,8 @@ using UnityEngine;
public interface IGrabable
{
//Unity inspector doesn't handle interface...
// int size {get; set;} //Size (1 or 2 hands) of the object
//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