public void RemoveComponent(RenderComponent cmp)
 {
     components.Remove(cmp);
     if (cmp != null)
         cmp.renderManager = null;
 }
 public void AddComponent(RenderComponent cmp)
 {
     components.Add(cmp);
     cmp.renderManager = this;
     cmp.Init();
 }