示例#1
0
        public static List <MyModel> GetLoadedModels()
        {
            var list = new List <MyModel>();

            m_models.GetValues(list);
            return(list);
        }
示例#2
0
        public override void UpdateAfterSimulation()
        {
            m_values.Clear();
            base.UpdateAfterSimulation();

            m_triggers.GetValues(m_values);
            foreach (var trigger in m_values)
            {
                trigger.Update();
            }

            if (MyDebugDrawSettings.DEBUG_DRAW_UPDATE_TRIGGER)
            {
                foreach (var trigger in m_values)
                {
                    trigger.DebugDraw();
                }
            }
        }