Factorisation des interactions IGrabable
This commit is contained in:
parent
c254d73103
commit
eacf4f2711
7 changed files with 76 additions and 44 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue