Пример #1
0
        protected override void OnCreate()
        {
            m_PhysicsWorldSystem = World.GetOrCreateSystem <PhysicsWorldSystem>();
            m_DebugStreamSystem  = World.GetOrCreateSystem <PhysicsDebugStreamSystem>();

            RequireSingletonForUpdate <PhysicsDebugDisplay>();
        }