コード例 #1
0
 public void AddComponent(Component component)
 {
     component.entity = this;
     componentContainer.Add(component);
     ComponentManager.GetInstance().Add(component, component.GetType());
 }