Ejemplo n.º 1
0
 public void Initialize(GameObject shipGameObject, ShopItemModel model, OwnerComponent.Owner owner)
 {
     shipGameObject.GetComponent <ShipConfigurationComponent>().AddMaxSpeedMultiplier(this);
     shipGameObject.GetComponent <ShipConfigurationComponent>().AddAcelerationMultiplier(this);
     this.model = model;
 }
 public void Initialize(GameObject shipGameObject, ShopItemModel model, OwnerComponent.Owner owner)
 {
     this.model           = model;
     ownerComponent.owner = owner;
 }
Ejemplo n.º 3
0
 public void SetOwner(OwnerComponent.Owner owner)
 {
     myOwner.owner = owner;
 }