Example #1
0
    public void SwapColor()
    {
        PassHolder holder = new PassHolder();

        this.onSwapColor.Invoke(this._color, holder);
        this.Discolor(holder.GetValue <Color>());
    }
Example #2
0
 public void Discolor(Color color, PassHolder holder)
 {
     holder.value = this._color;
     this.Discolor(color);
 }