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