C# Class ToggleLaser, EdgeOfInfinity

Inheritance: Activatable
Datei anzeigen Open project: BenBohannon/EdgeOfInfinity

Public Properties

Property Type Description
isOn bool
offSprite Sprite

Public Methods

Method Description
Activate ( ) : void
OnTriggerEnter2D ( Collider2D coll ) : void

Private Methods

Method Description
Start ( ) : void

Method Details

Activate() public method

public Activate ( ) : void
return void

OnTriggerEnter2D() public method

public OnTriggerEnter2D ( Collider2D coll ) : void
coll UnityEngine.Collider2D
return void

Property Details

isOn public_oe property

public bool isOn
return bool

offSprite public_oe property

public Sprite offSprite
return Sprite