Пример #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);
 }