C# Class PlayerSpot, scriptcaster

Inheritance: MonoBehaviour
显示文件 Open project: crazymeeshu/scriptcaster Class Usage Examples

Public Properties

Property Type Description
Player GameObject
facingLeft bool
moveSpeed float
spotted bool
startSight Transform
target Vector2

Public Methods

Method Description
Behaviors ( ) : void
Patrol ( ) : void
Raycasting ( ) : void
Start ( ) : void
Update ( ) : void
movement ( ) : void

Method Details

Behaviors() public method

public Behaviors ( ) : void
return void

Patrol() public method

public Patrol ( ) : void
return void

Raycasting() public method

public Raycasting ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

movement() public method

public movement ( ) : void
return void

Property Details

Player public_oe property

public GameObject Player
return GameObject

facingLeft public_oe property

public bool facingLeft
return bool

moveSpeed public_oe property

public float moveSpeed
return float

spotted public_oe property

public bool spotted
return bool

startSight public_oe property

public Transform startSight
return Transform

target public_oe property

public Vector2 target
return Vector2