public void ClearColorOnRemoved(NodeRemoveEvent e, SelfUserWithFractionNode user, [JoinByFraction] FractionNode fraction, [Combine, JoinAll] SingleNode <FractionImageColorComponent> image) { this.RecolorAllImages(image.component.ImagesToRecolor, image.component.DefaultColor); }
public void FillFractionRewardWindow(NodeAddedEvent e, SingleNode <FractionRewardUiComponent> window, [JoinAll] SelfUserWithFractionNode user, [JoinByFraction] FractionNode fraction) { window.component.RewardImageUid = fraction.fractionInfo.FractionRewardImageUid; }
public void ChangeColorOnFractionAdded(NodeAddedEvent e, SelfUserWithFractionNode user, [JoinByFraction] FractionNode fraction, [Combine, JoinAll] SingleNode <FractionImageColorComponent> image) { string fractionColor = fraction.fractionInfo.FractionColor; this.TryToRecolorImage(image.component.ImagesToRecolor, fractionColor, image.component.DefaultColor); }