runnable
This commit is contained in:
parent
7a04d79aba
commit
470aeff3f3
4 changed files with 3659 additions and 3 deletions
|
|
@ -2,6 +2,8 @@ using System;
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UIElements;
|
||||
using Cursor = UnityEngine.Cursor;
|
||||
|
||||
public class PlayerController : MonoBehaviour {
|
||||
#region Singleton
|
||||
|
|
@ -40,4 +42,8 @@ public class PlayerController : MonoBehaviour {
|
|||
Debug.Log("An item requested to select isn't in the inventory" + item);
|
||||
}
|
||||
}
|
||||
|
||||
public UsableItem GetSelectedItem() {
|
||||
return selectedItem;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue