Beispiel #1
0
 protected override Type GetValueType(Type type)
 {
     return(InputInteraction.GetValueType(type));
 }
 public void Editor_CanGetValueTypeOfInteraction()
 {
     InputSystem.RegisterInteraction <TestInteractionWithValueType>();
     Assert.That(InputInteraction.GetValueType(typeof(TestInteractionWithValueType)), Is.SameAs(typeof(float)));
 }