14 lines
378 B
C#
14 lines
378 B
C#
|
|
using UnityEngine.Events;
|
||
|
|
|
||
|
|
|
||
|
|
namespace VRSDK.Events
|
||
|
|
{
|
||
|
|
/// <summary>
|
||
|
|
/// Event that gets called when a is dropped inside a DropZone, 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 OnDropStateChangeEvent : UnityEvent<VR_Grabbable> { }
|
||
|
|
|
||
|
|
}
|
||
|
|
|