Add StockManager + Multiple minor Fix
This commit is contained in:
parent
1360a3f978
commit
4f99687ae2
10 changed files with 182 additions and 42 deletions
|
@ -37,7 +37,7 @@ public abstract class Workshop : MonoBehaviour, IUsable
|
|||
}
|
||||
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
protected virtual void Start()
|
||||
{
|
||||
if(gameObject.layer != LayerMask.NameToLayer("Interactions"))
|
||||
Debug.LogWarning(gameObject.name+" layer should be set to 'Interactions' to work properly");
|
||||
|
@ -50,7 +50,7 @@ public abstract class Workshop : MonoBehaviour, IUsable
|
|||
}
|
||||
|
||||
//LateUpdate is called after classic Updates
|
||||
void LateUpdate()
|
||||
protected virtual void LateUpdate()
|
||||
{
|
||||
if(playerInteracting)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue