comment out missing playerinfo methods
This commit is contained in:
parent
ca41eda129
commit
029c6cf7ba
|
@ -23,12 +23,16 @@ public class ActionGestureInteraction : MonoBehaviour
|
|||
{
|
||||
Debug.LogWarning(action);
|
||||
|
||||
|
||||
/* todo: playerinfo doesnt have these methods?
|
||||
if (player.GetComponent<PlayerInfo>().GetRightHand() != null)
|
||||
{
|
||||
Debug.LogWarning(player.GetComponent<PlayerInfo>().GetRightHand().name);
|
||||
if (player.GetComponent<PlayerInfo>().GetRightHand().name.Equals("wand")) holdingWand = true;
|
||||
}
|
||||
|
||||
else holdingWand = false;
|
||||
*/
|
||||
|
||||
switch (action)
|
||||
{
|
||||
|
|
|
@ -25,7 +25,7 @@ public class EssenceNodeController : MonoBehaviour
|
|||
private void Awake()
|
||||
{
|
||||
nodeMaterial = GetComponent<Renderer>().material;
|
||||
playerInfo = PlayerInfo.Instance;
|
||||
//playerInfo = PlayerInfo.Instance;
|
||||
playerInventory = GameObject.Find("Inventory").GetComponent<Inventory>();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue