C# Class VisibilityControl, astrochimps

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

Public Properties

Property Type Description
keepVisible bool
sfxPecaLocalizada UnityEngine.AudioClip
sfxRecursoLocalizado UnityEngine.AudioClip
sight_range float

Public Methods

Method Description
IsVisible ( ) : bool

Tells if this unit is visible or not

SetObjectNotVisible ( ) : void

Set object to not visible

SetObjectVisible ( ) : void

Set the object to visible

Start ( ) : void
Update ( ) : void
getSightRange ( ) : float

Private Methods

Method Description
AppearsToEnemy ( ) : bool

Method Details

IsVisible() public method

Tells if this unit is visible or not
public IsVisible ( ) : bool
return bool

SetObjectNotVisible() public method

Set object to not visible
public SetObjectNotVisible ( ) : void
return void

SetObjectVisible() public method

Set the object to visible
public SetObjectVisible ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

getSightRange() public method

public getSightRange ( ) : float
return float

Property Details

keepVisible public property

public bool keepVisible
return bool

sfxPecaLocalizada public property

public AudioClip,UnityEngine sfxPecaLocalizada
return UnityEngine.AudioClip

sfxRecursoLocalizado public property

public AudioClip,UnityEngine sfxRecursoLocalizado
return UnityEngine.AudioClip

sight_range public property

public float sight_range
return float