C# Class SightTrigger, astrochimps

Inheritance: MonoBehaviour
Show file Open project: arcoelho01/astrochimps Class Usage Examples

Public Properties

Property Type Description
myEnemyLayer int
oppositeDroneLost Transform
oppositeDroneSeen Transform
scaleChange bool
sightScaleFactor float

Public Methods

Method Description
OnTriggerEnter ( Collider other ) : void
OnTriggerExit ( Collider other ) : void
Start ( ) : void
Update ( ) : void

Method Details

OnTriggerEnter() public method

public OnTriggerEnter ( Collider other ) : void
other Collider
return void

OnTriggerExit() public method

public OnTriggerExit ( Collider other ) : void
other Collider
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

myEnemyLayer public property

public int myEnemyLayer
return int

oppositeDroneLost public property

public Transform oppositeDroneLost
return Transform

oppositeDroneSeen public property

public Transform oppositeDroneSeen
return Transform

scaleChange public property

public bool scaleChange
return bool

sightScaleFactor public property

public float sightScaleFactor
return float