Struct ParticleSystem.SubEmittersModule
Assembly: UnityEngine.dll
Syntax
public struct SubEmittersModule
Properties
|
Improve this Doc
View Source
birth0
Declaration
[Obsolete("birth0 property is deprecated. Use AddSubEmitter, RemoveSubEmitter, SetSubEmitterSystem and GetSubEmitterSystem instead.", false)]
public ParticleSystem birth0 { get; set; }
Property Value
|
Improve this Doc
View Source
birth1
Declaration
[Obsolete("birth1 property is deprecated. Use AddSubEmitter, RemoveSubEmitter, SetSubEmitterSystem and GetSubEmitterSystem instead.", false)]
public ParticleSystem birth1 { get; set; }
Property Value
|
Improve this Doc
View Source
collision0
Declaration
[Obsolete("collision0 property is deprecated. Use AddSubEmitter, RemoveSubEmitter, SetSubEmitterSystem and GetSubEmitterSystem instead.", false)]
public ParticleSystem collision0 { get; set; }
Property Value
|
Improve this Doc
View Source
collision1
Declaration
[Obsolete("collision1 property is deprecated. Use AddSubEmitter, RemoveSubEmitter, SetSubEmitterSystem and GetSubEmitterSystem instead.", false)]
public ParticleSystem collision1 { get; set; }
Property Value
|
Improve this Doc
View Source
death0
Declaration
[Obsolete("death0 property is deprecated. Use AddSubEmitter, RemoveSubEmitter, SetSubEmitterSystem and GetSubEmitterSystem instead.", false)]
public ParticleSystem death0 { get; set; }
Property Value
|
Improve this Doc
View Source
death1
Declaration
[Obsolete("death1 property is deprecated. Use AddSubEmitter, RemoveSubEmitter, SetSubEmitterSystem and GetSubEmitterSystem instead.", false)]
public ParticleSystem death1 { get; set; }
Property Value
|
Improve this Doc
View Source
enabled
Declaration
public bool enabled { get; set; }
Property Value
|
Improve this Doc
View Source
subEmittersCount
Declaration
public int subEmittersCount { get; }
Property Value
Methods
|
Improve this Doc
View Source
AddSubEmitter(ParticleSystem, ParticleSystemSubEmitterType, ParticleSystemSubEmitterProperties)
Declaration
public void AddSubEmitter(ParticleSystem subEmitter, ParticleSystemSubEmitterType type, ParticleSystemSubEmitterProperties properties)
Parameters
|
Improve this Doc
View Source
AddSubEmitter(ParticleSystem, ParticleSystemSubEmitterType, ParticleSystemSubEmitterProperties, Single)
Declaration
public void AddSubEmitter(ParticleSystem subEmitter, ParticleSystemSubEmitterType type, ParticleSystemSubEmitterProperties properties, float emitProbability)
Parameters
|
Improve this Doc
View Source
GetSubEmitterEmitProbability(Int32)
Declaration
public float GetSubEmitterEmitProbability(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
|
Improve this Doc
View Source
GetSubEmitterProperties(Int32)
Declaration
public ParticleSystemSubEmitterProperties GetSubEmitterProperties(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
|
Improve this Doc
View Source
GetSubEmitterSystem(Int32)
Declaration
public ParticleSystem GetSubEmitterSystem(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
|
Improve this Doc
View Source
GetSubEmitterType(Int32)
Declaration
public ParticleSystemSubEmitterType GetSubEmitterType(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
|
Improve this Doc
View Source
RemoveSubEmitter(Int32)
Declaration
public void RemoveSubEmitter(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
|
Improve this Doc
View Source
SetSubEmitterEmitProbability(Int32, Single)
Declaration
public void SetSubEmitterEmitProbability(int index, float emitProbability)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Single |
emitProbability |
|
|
Improve this Doc
View Source
SetSubEmitterProperties(Int32, ParticleSystemSubEmitterProperties)
Declaration
public void SetSubEmitterProperties(int index, ParticleSystemSubEmitterProperties properties)
Parameters
|
Improve this Doc
View Source
SetSubEmitterSystem(Int32, ParticleSystem)
Declaration
public void SetSubEmitterSystem(int index, ParticleSystem subEmitter)
Parameters
|
Improve this Doc
View Source
SetSubEmitterType(Int32, ParticleSystemSubEmitterType)
Declaration
public void SetSubEmitterType(int index, ParticleSystemSubEmitterType type)
Parameters
Extension Methods