12 lines
365 B
C#
12 lines
365 B
C#
|
|
using UnityEngine.Events;
|
||
|
|
|
||
|
|
namespace VRSDK.Events
|
||
|
|
{
|
||
|
|
/// <summary>
|
||
|
|
/// Event that gets called when we interact with a object, we extend from UnityEvent<GrabState> so we can see this onn the inspector and add some listeners by hand if we want
|
||
|
|
/// </summary>
|
||
|
|
[System.Serializable]
|
||
|
|
public class OnInteractEvent : UnityEvent<VR_Controller> { }
|
||
|
|
}
|
||
|
|
|