예제 #1
0
 public ComponentB(
     IRequireComponent <ComponentA> componentA,
     IInstantiateComponent <ComponentD> componentD)
 {
     _componentA = componentA.Component;
     RegisterPublicComponent(componentD.Component);
 }
예제 #2
0
 public ComponentB(
     IRequireComponent<ComponentA> componentA,
     IInstantiateComponent<ComponentD> componentD)
 {
     _componentA = componentA.Component;
     RegisterPublicComponent(componentD.Component);
 }
예제 #3
0
 public EntityC(
     IInstantiateComponent <ComponentD> componentD)
 {
     ComponentD = componentD.Component;
 }
예제 #4
0
 public EntityA(
     IInstantiateComponent <ComponentA> componentA)
 {
     ComponentA = componentA.Component;
     this.RegisterPublicComponent(componentA);
 }
예제 #5
0
 public EntityC(
     IInstantiateComponent<ComponentD> componentD)
 {
     ComponentD = componentD.Component;
 }
예제 #6
0
 public EntityA(
     IInstantiateComponent<ComponentA> componentA)
 {
     ComponentA = componentA.Component;
     this.RegisterPublicComponent(componentA);
 }