protected override void OnDestroy() { DisplayListSystem.DeRegisterExternalDisplayListEntryMaker(TypeManager.GetTypeIndex <Text2DRenderer>()); }
protected override void OnDestroy() { DisplayListSystem.DeRegisterExternalDisplayListEntryMaker(TypeManager.GetTypeIndex <RectHitBox2D>()); DeinitNative(); CPlusPlus.ReleaseHandleForEntityManager(cppWrapper); }