Exemplo n.º 1
0
        protected override void OnCreate()
        {
            Enabled = false;

            m_BuildPhysicsWorld  = World.GetOrCreateSystem <BuildPhysicsWorld>();
            m_StepPhysicsWorld   = World.GetOrCreateSystem <StepPhysicsWorld>();
            m_ExportPhysicsWorld = World.GetOrCreateSystem <ExportPhysicsWorld>();
            m_EnsureHavokSystem  = World.GetOrCreateSystem <EnsureHavokSystem>();
        }
Exemplo n.º 2
0
        protected override void OnCreate()
        {
            Enabled = false;

            m_BuildPhysicsWorld  = World.GetOrCreateSystem <BuildPhysicsWorld>();
            m_StepPhysicsWorld   = World.GetOrCreateSystem <StepPhysicsWorld>();
            m_ExportPhysicsWorld = World.GetOrCreateSystem <ExportPhysicsWorld>();
            m_EnsureHavokSystem  = World.GetOrCreateSystem <EnsureHavokSystem>();
            m_FixedStepGroup     = World.GetOrCreateSystem <FixedStepSimulationSystemGroup>();
        }