Click or drag to resize
SpriteBaseSetInputsTowardSprite Method
Set the state of the directional inputs on this sprite to move toward the specified sprite.

Namespace: (Default Namespace)
Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
public virtual void SetInputsTowardSprite(
	SpriteBase Target
)

Parameters

Target
Type: (Default Namespace)SpriteBase
Specifies the sprite collection containing the sprite toward which this sprite will try to move.
Remarks
This function is not exposed as a rule function because it is intended to be called by a plan or other code that can provide a target sprite based on specific context whereas a sprite definition rule function is supposed to be generic. This is called by SetInputsTowardCategory(SpriteCollection, Int32).
See Also