public void SwapColor() { PassHolder holder = new PassHolder(); this.onSwapColor.Invoke(this._color, holder); this.Discolor(holder.GetValue <Color>()); }
public void Discolor(Color color, PassHolder holder) { holder.value = this._color; this.Discolor(color); }