C# Class LightDetector, Pharos

Inheritance: MonoBehaviour
显示文件 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_oe property

public bool isActivated
return bool

lightnumber public_oe property

public int lightnumber
return int

speed public_oe property

public float speed
return float

targetlocation public_oe property

public Transform targetlocation
return Transform