Ajout Interface Grabable + Start Mug Implementation
This commit is contained in:
parent
594de91135
commit
71d6586baf
5 changed files with 81 additions and 0 deletions
33
Assets/Scripts/Mug.cs
Normal file
33
Assets/Scripts/Mug.cs
Normal file
|
@ -0,0 +1,33 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class Mug : MonoBehaviour, IGrabable
|
||||
{
|
||||
public int size = 1; //Size (1 or 2 hands) of the object
|
||||
|
||||
public void use()
|
||||
{
|
||||
|
||||
}
|
||||
public void take()
|
||||
{
|
||||
|
||||
}
|
||||
public void drop(Transform position) //Drop to position
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue