C# Class ThrowGoal

Inheritance: GoalState
Show file Open project: Denakee/HackerMan_2016

Public Properties

Property Type Description
distanceToThrowObject float
objectToThrow GameObject
targetObject GameObject
throwableTagName string

Public Methods

Method Description
CheckIfStateIsReached ( ) : bool
Start ( ) : void
ThrowGoal_objectHit ( object sender, EventArgs e ) : void

Method Details

CheckIfStateIsReached() public method

public CheckIfStateIsReached ( ) : bool
return bool

Start() public method

public Start ( ) : void
return void

ThrowGoal_objectHit() public method

public ThrowGoal_objectHit ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

Property Details

distanceToThrowObject public property

public float distanceToThrowObject
return float

objectToThrow public property

public GameObject objectToThrow
return GameObject

targetObject public property

public GameObject targetObject
return GameObject

throwableTagName public property

public string throwableTagName
return string