// called by native code public static void NETUpdate(float timeStep) { GC.Collect(); GC.WaitForPendingFinalizers(); GC.Collect(); ReleaseExpiredNativeReferences(); ComponentCore.Update(timeStep); }
public void Destroy() { if (Node != null) { Node.RemoveComponent(this); } // if we're a CSComponent notify ComponentCore ComponentCore.DestroyComponent(this); }
static void CSComponentCallMethod(uint componentID, CSComponentMethod method, float value) { ComponentCore.CallComponentMethod(componentID, method, value); }
static IntPtr CSComponentCreate(string name) { return(ComponentCore.CreateCSComponent(name)); }
public static void RegisterAssemblyComponents(Assembly assembly) { ComponentCore.RegisterAssemblyComponents(assembly); }