public MTTintByState(MTTintBy action, GameObject target) : base(action, target) { DeltaB = action.DeltaB; DeltaG = action.DeltaG; DeltaR = action.DeltaR; var protocol = target; if (protocol != null) { var color = protocol.getColor(); FromR = color.r; FromG = color.g; FromB = color.b; } }