C# Class LightGenerator, TheUnseen

Inheritance: MonoBehaviour
Datei anzeigen Open project: henryj41043/TheUnseen Class Usage Examples

Public Properties

Property Type Description
PEG Animator
PEGcharge UnityEngine.AudioClip
PEGfire UnityEngine.AudioClip
PEGscreen Material
attractiveSound GameObject
chargingRange float
energy float
energyDrainPerSecond float
energyRechargePerSecond float
firingRange float
maxEnergy float
maxOrbCharge float
minEnergy float
minOrbCharge float
orbChargeLoc GameObject
playerCam GameObject
ratioChargePerSecond float
recharging bool
screens UnityEngine.Texture2D[]
shootingOrb GameObject
soundDelay float

Public Methods

Method Description
AddEnergy ( float e ) : void
Charge ( ) : void
FireShot ( ) : void
GetRatio ( ) : float
Start ( ) : void
StartShot ( ) : void
Update ( ) : void
UpdateDisplay ( ) : void
makeSound ( float intensity ) : void

Method Details

AddEnergy() public method

public AddEnergy ( float e ) : void
e float
return void

Charge() public method

public Charge ( ) : void
return void

FireShot() public method

public FireShot ( ) : void
return void

GetRatio() public method

public GetRatio ( ) : float
return float

Start() public method

public Start ( ) : void
return void

StartShot() public method

public StartShot ( ) : void
return void

Update() public method

public Update ( ) : void
return void

UpdateDisplay() public method

public UpdateDisplay ( ) : void
return void

makeSound() public method

public makeSound ( float intensity ) : void
intensity float
return void

Property Details

PEG public_oe property

public Animator PEG
return Animator

PEGcharge public_oe property

public AudioClip,UnityEngine PEGcharge
return UnityEngine.AudioClip

PEGfire public_oe property

public AudioClip,UnityEngine PEGfire
return UnityEngine.AudioClip

PEGscreen public_oe property

public Material PEGscreen
return Material

attractiveSound public_oe property

public GameObject attractiveSound
return GameObject

chargingRange public_oe property

public float chargingRange
return float

energy public_oe property

public float energy
return float

energyDrainPerSecond public_oe property

public float energyDrainPerSecond
return float

energyRechargePerSecond public_oe property

public float energyRechargePerSecond
return float

firingRange public_oe property

public float firingRange
return float

maxEnergy public_oe property

public float maxEnergy
return float

maxOrbCharge public_oe property

public float maxOrbCharge
return float

minEnergy public_oe property

public float minEnergy
return float

minOrbCharge public_oe property

public float minOrbCharge
return float

orbChargeLoc public_oe property

public GameObject orbChargeLoc
return GameObject

playerCam public_oe property

public GameObject playerCam
return GameObject

ratioChargePerSecond public_oe property

public float ratioChargePerSecond
return float

recharging public_oe property

public bool recharging
return bool

screens public_oe property

public Texture2D[],UnityEngine screens
return UnityEngine.Texture2D[]

shootingOrb public_oe property

public GameObject shootingOrb
return GameObject

soundDelay public_oe property

public float soundDelay
return float