C# Class FollowObject, Viewport

Inheritance: MonoBehaviour
Mostra file Open project: tws2xa/Viewport Class Usage Examples

Public Properties

Property Type Description
followX bool
followY bool
followZ bool
initialTarget GameObject
moveStepDistance float
offsets Vector3

Public Methods

Method Description
GetTarget ( ) : GameObject

Gets the target object.

SetTarget ( GameObject newTarget ) : void

Sets the target object.

Start ( ) : void
Update ( ) : void

Method Details

GetTarget() public method

Gets the target object.
public GetTarget ( ) : GameObject
return GameObject

SetTarget() public method

Sets the target object.
public SetTarget ( GameObject newTarget ) : void
newTarget GameObject The new target object.
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

followX public_oe property

public bool followX
return bool

followY public_oe property

public bool followY
return bool

followZ public_oe property

public bool followZ
return bool

initialTarget public_oe property

public GameObject initialTarget
return GameObject

moveStepDistance public_oe property

public float moveStepDistance
return float

offsets public_oe property

public Vector3 offsets
return Vector3