C# Class LightDetector, Pharos

Inheritance: MonoBehaviour
Show file Open project: rstaewen/Pharos Class Usage Examples

Public Properties

Property Type Description
isActivated bool
lightnumber int
speed float
targetlocation Transform

Public Methods

Method Description
OnTriggerEnter ( Collider other ) : void
Start ( ) : void
Update ( ) : void
moveLight ( ) : void
setMove ( bool yes ) : void

Method Details

OnTriggerEnter() public method

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

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

moveLight() public method

public moveLight ( ) : void
return void

setMove() public method

public setMove ( bool yes ) : void
yes bool
return void

Property Details

isActivated public property

public bool isActivated
return bool

lightnumber public property

public int lightnumber
return int

speed public property

public float speed
return float

targetlocation public property

public Transform targetlocation
return Transform