Beispiel #1
0
 private static extern void Object_SubscribeToEvent(IntPtr nativeInstance, StringHash eventType, void_function_StringHash_VariantMap function);
Beispiel #2
0
    // public Object(Context context) : this(Object_Object(context.NativeInstance), context) { }

    protected void SubscribeToEvent(StringHash eventType, void_function_StringHash_VariantMap function)
    {
        storage.Add(function);
        Object_SubscribeToEvent(NativeInstance, eventType, function);
    }