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);
|
Debug.LogWarning(action);
|
||||||
|
|
||||||
|
|
||||||
|
/* todo: playerinfo doesnt have these methods?
|
||||||
if (player.GetComponent<PlayerInfo>().GetRightHand() != null)
|
if (player.GetComponent<PlayerInfo>().GetRightHand() != null)
|
||||||
{
|
{
|
||||||
Debug.LogWarning(player.GetComponent<PlayerInfo>().GetRightHand().name);
|
Debug.LogWarning(player.GetComponent<PlayerInfo>().GetRightHand().name);
|
||||||
if (player.GetComponent<PlayerInfo>().GetRightHand().name.Equals("wand")) holdingWand = true;
|
if (player.GetComponent<PlayerInfo>().GetRightHand().name.Equals("wand")) holdingWand = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
else holdingWand = false;
|
else holdingWand = false;
|
||||||
|
*/
|
||||||
|
|
||||||
switch (action)
|
switch (action)
|
||||||
{
|
{
|
||||||
|
@ -25,7 +25,7 @@ public class EssenceNodeController : MonoBehaviour
|
|||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
nodeMaterial = GetComponent<Renderer>().material;
|
nodeMaterial = GetComponent<Renderer>().material;
|
||||||
playerInfo = PlayerInfo.Instance;
|
//playerInfo = PlayerInfo.Instance;
|
||||||
playerInventory = GameObject.Find("Inventory").GetComponent<Inventory>();
|
playerInventory = GameObject.Find("Inventory").GetComponent<Inventory>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user