Replace UltimateXR with HurricaneVR
This commit is contained in:
18
Assets/HurricaneVR/TechDemo/Scripts/DemoKeypadButton.cs
Normal file
18
Assets/HurricaneVR/TechDemo/Scripts/DemoKeypadButton.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using HurricaneVR.Framework.Components;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
|
||||
namespace HurricaneVR.TechDemo.Scripts
|
||||
{
|
||||
public class DemoKeypadButton : HVRPhysicsButton
|
||||
{
|
||||
public char Key;
|
||||
public TextMeshPro TextMeshPro;
|
||||
|
||||
protected override void Awake()
|
||||
{
|
||||
ConnectedBody = transform.parent.GetComponentInParent<Rigidbody>();
|
||||
base.Awake();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user