示例#1
0
 protected override void OnDestroy()
 {
     DisplayListSystem.DeRegisterExternalDisplayListEntryMaker(TypeManager.GetTypeIndex <Text2DRenderer>());
 }
示例#2
0
 protected override void OnDestroy()
 {
     DisplayListSystem.DeRegisterExternalDisplayListEntryMaker(TypeManager.GetTypeIndex <RectHitBox2D>());
     DeinitNative();
     CPlusPlus.ReleaseHandleForEntityManager(cppWrapper);
 }
示例#3
0
 protected override void OnCreate()
 {
     base.OnCreate();
     DisplayListSystem.RegisterDisplayListEntryMaker(new MakeEntryText());
 }
示例#4
0
 protected override void OnCreate()
 {
     cppWrapper = CPlusPlus.WrapEntityManager(EntityManager);
     DisplayListSystem.RegisterDisplayListEntryMaker(new MakeEntryHitBox2D());
     InitNative();
 }