C# Class PlayerSpot, scriptcaster

Inheritance: MonoBehaviour
Show file 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 property

public GameObject Player
return GameObject

facingLeft public property

public bool facingLeft
return bool

moveSpeed public property

public float moveSpeed
return float

spotted public property

public bool spotted
return bool

startSight public property

public Transform startSight
return Transform

target public property

public Vector2 target
return Vector2