C# Class ParticleVfx, ProjectPhoenix

Inheritance: MonoBehaviour, IVisualEffect, IPoolable
显示文件 Open project: Alx666/ProjectPhoenix Class Usage Examples

Public Properties

Property Type Description
Duration 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
Wait ( 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

Duration public_oe property

public float Duration
return float