C# Class SimpleVfx, ProjectPhoenix

Inheritance: MonoBehaviour, IVisualEffect, IPoolable
Exibir arquivo Open project: Alx666/ProjectPhoenix

Public Properties

Property Type Description
MuzzleDuration float
SoundDuration float

Public Methods

Method Description
Awake ( ) : void
Disable ( ) : void
Enable ( ) : void
PlayEffect ( Vector3 vPosition, Vector3 vDirection, float scaleCoef, bool isSide ) : void

Private Methods

Method Description
DisableMuzzle ( ) : void
WaitForMuzzle ( float duration ) : IEnumerator
WaitForSound ( float duration ) : IEnumerator

Method Details

Awake() public method

public Awake ( ) : void
return void

Disable() public method

public Disable ( ) : void
return void

Enable() public method

public Enable ( ) : void
return void

PlayEffect() public method

public PlayEffect ( Vector3 vPosition, Vector3 vDirection, float scaleCoef, bool isSide ) : void
vPosition Vector3
vDirection Vector3
scaleCoef float
isSide bool
return void

Property Details

MuzzleDuration public_oe property

public float MuzzleDuration
return float

SoundDuration public_oe property

public float SoundDuration
return float