Example #1
0
        protected override void OnCreate()
        {
            HandlesToWaitFor = new NativeList <JobHandle>(16, Allocator.Persistent);
            FinalJobHandle   = new JobHandle();

            m_BuildPhysicsWorld = World.GetOrCreateSystem <KitchenBuildPhysicsWorld>();
            //  m_StepPhysicsWorld = World.GetOrCreateSystem<StepPhysicsWorld>();
            kitchenStepPhysicsWorldSystem = World.GetOrCreateSystem <KitchenStepPhysicsWorld>();
            m_ExportPhysicsWorld          = World.GetOrCreateSystem <KitchenExportPhysicsWorld>();
        }
 protected override void OnCreate()
 {
     m_BuildPhysicsWorldSystem = World.GetOrCreateSystem <KitchenBuildPhysicsWorld>();
     //  m_StepPhysicsWorldSystem = World.GetOrCreateSystem<StepPhysicsWorld>();
     kitchenStepPhysicsWorldSystem = World.GetOrCreateSystem <KitchenStepPhysicsWorld>();
 }