예제 #1
0
파일: GameObject.cs 프로젝트: zhuowp/ge
 public void AddComponent(Component component)
 {
     _components.Add(component.GetType(), component);
     component.AttachToGameObject(this, _registry);
 }