예제 #1
0
        internal static void OnNativeFunctionsRegistered()
        {
            onAdd    = new Native_GCHelper.Del_Add(OnAdd);
            onRemove = new Native_GCHelper.Del_Remove(OnRemove);

            Native_GCHelper.Set_OnAdd(onAdd);
            Native_GCHelper.Set_OnRemove(onRemove);

            objectInternalIndexOffset = Native_GCHelper.GetInternalIndexOffset();

            FCoreUObjectDelegates.PostGarbageCollect.Bind(OnPostGarbageCollect);
        }
예제 #2
0
        internal static void OnNativeFunctionsRegistered()
        {
            onAdd         = new Native_GCHelper.Del_Add(OnAdd);
            onAddExisting = new Native_GCHelper.Del_AddExisting(OnAddExisting);
            onRemove      = new Native_GCHelper.Del_Remove(OnRemove);

            Native_GCHelper.Set_OnAdd(onAdd);
            Native_GCHelper.Set_OnAddExisting(onAddExisting);
            Native_GCHelper.Set_OnRemove(onRemove);

            FCoreUObjectDelegates.PostGarbageCollect.Bind(OnPostGarbageCollect);
        }