public static List <MyModel> GetLoadedModels() { var list = new List <MyModel>(); m_models.GetValues(list); return(list); }
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(); } } }