C# Class PlayerSpriteController, JRPG

Inheritance: MonoBehaviour
显示文件 Open project: seanlazaro/JRPG Class Usage Examples

Public Properties

Property Type Description
interactionBox GameObject
moveSpeed float

Public Methods

Method Description
CheckForNPC ( GameObject interactionBox, GameObject &npcInteracting ) : bool
EnableMovement ( bool enable ) : void
OnSpawnPlayer ( Vector2 directionToFace ) : void
RemoveFromNpcList ( GameObject go ) : void
Start ( ) : void
Update ( ) : void

Method Details

CheckForNPC() public method

public CheckForNPC ( GameObject interactionBox, GameObject &npcInteracting ) : bool
interactionBox GameObject
npcInteracting GameObject
return bool

EnableMovement() public method

public EnableMovement ( bool enable ) : void
enable bool
return void

OnSpawnPlayer() public method

public OnSpawnPlayer ( Vector2 directionToFace ) : void
directionToFace Vector2
return void

RemoveFromNpcList() public method

public RemoveFromNpcList ( GameObject go ) : void
go GameObject
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

interactionBox public_oe property

public GameObject interactionBox
return GameObject

moveSpeed public_oe property

public float moveSpeed
return float