Click or drag to resize
GeneralRulesSetTargetParameter Method
Set the value of a numeric property or parameter on a sprite selected with SelectTargetSprite(SpriteCollection, Int32) to the specified value.

Namespace: (Default Namespace)
Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
public virtual void SetTargetParameter(
	string ParameterName,
	int Value
)

Parameters

ParameterName
Type: SystemString
Name of the parameter on the target sprite that will be affected.
Value
Type: SystemInt32
Numeric value that will be assigned to the specified parameter
Remarks
This function is provided for compatibility; see SetTargetParameterFor(String, Int32, String). This is equivalent to SetTargetParameterFor(String, Int32, String) passing an empty string as Target Name.
See Also