forked from cgvr/DeltaVR
change mic icon colour to grey/green
This commit is contained in:
@@ -11,7 +11,6 @@ public class MicrophoneProximityTrigger : MonoBehaviour
|
||||
{
|
||||
if (isEnter && other.gameObject.tag == "Player Head")
|
||||
{
|
||||
Debug.Log("collided with: " + other.gameObject.name);
|
||||
mic.OnPlayerApproach();
|
||||
}
|
||||
}
|
||||
@@ -20,7 +19,6 @@ public class MicrophoneProximityTrigger : MonoBehaviour
|
||||
{
|
||||
if (!isEnter && other.gameObject.tag == "Player Head")
|
||||
{
|
||||
Debug.Log("collider left with: " + other.gameObject.name);
|
||||
mic.OnPlayerLeave();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user