BBGamelib.CCTintBy.startWithTarget C# (CSharp) Method

startWithTarget() public method

public startWithTarget ( object aTarget ) : void
aTarget object
return void
		public override void startWithTarget (object aTarget)
		{
			base.startWithTarget (aTarget);
			CCRGBAProtocol tn = (CCRGBAProtocol) _target;
			Color32 color = tn.color;
			
			_fromR = color.r;
			_fromG = color.g;
			_fromB = color.b;
		}