本文整理汇总了C#中EVENT_CALLBACK类的典型用法代码示例。如果您正苦于以下问题:C# EVENT_CALLBACK类的具体用法?C# EVENT_CALLBACK怎么用?C# EVENT_CALLBACK使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
EVENT_CALLBACK类属于命名空间,在下文中一共展示了EVENT_CALLBACK类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: setCallback
public RESULT setCallback(EVENT_CALLBACK callback, EVENT_CALLBACK_TYPE callbackmask = EVENT_CALLBACK_TYPE.ALL)
{
return FMOD_Studio_EventInstance_SetCallback(rawPtr, callback, callbackmask);
}
示例2:
private static extern RESULT FMOD_Studio_EventInstance_SetCallback (IntPtr _event, EVENT_CALLBACK callback, EVENT_CALLBACK_TYPE callbackmask);
示例3: EventInstance
private EVENT_CALLBACK cachedCallback; // cached to prevent gc free-ing the callback delegate
public EventInstance()
{
cachedCallback = wrapperCallback;
}
示例4: FMOD_Studio_EventDescription_SetCallback
private static extern RESULT FMOD_Studio_EventDescription_SetCallback(IntPtr eventdescription, EVENT_CALLBACK callback, EVENT_CALLBACK_TYPE callbackmask);
示例5: FMOD_Event_SetCallback
private static extern RESULT FMOD_Event_SetCallback(IntPtr _event, EVENT_CALLBACK callback, IntPtr userdata);
示例6: setCallback
public RESULT setCallback(EVENT_CALLBACK callback, IntPtr userdata)
{
return FMOD_Event_SetCallback(eventraw, callback, userdata);
}
示例7: setCallback
public RESULT setCallback(EVENT_CALLBACK callback)
{
return FMOD_Studio_EventDescription_SetCallback(rawPtr, callback);
}
示例8: AddListener
public static void AddListener(GameObject obj, UGUIEventType evtType, EVENT_CALLBACK<AxisEventData> func)
{
AddListenerAsDelegate(obj, evtType, func);
}