Class Particles
Inheritance
System.Object
Particles
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: GameKit.Dependencies.Utilities
Assembly: GameKit.Dependencies.dll
Syntax
public static class Particles
Methods
ReturnLongestCycle(ParticleSystem[])
Returns the longest time required for all systems to stop.
Declaration
public static float ReturnLongestCycle(ParticleSystem[] systems)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.ParticleSystem[] | systems |
Returns
Type | Description |
---|---|
System.Single |
StopParticleSystem(ParticleSystem, Boolean, Boolean)
Issues stop on the specified particle systems.
Declaration
public static float StopParticleSystem(ParticleSystem system, bool stopLoopingOnly, bool stopChildren = false)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.ParticleSystem | system | |
System.Boolean | stopLoopingOnly | |
System.Boolean | stopChildren |
Returns
Type | Description |
---|---|
System.Single |
StopParticleSystem(ParticleSystem, Boolean, ParticleSystemStopBehavior, Boolean)
Issues stop on the specified particle system while returning the time required to play out.
Declaration
public static float StopParticleSystem(ParticleSystem system, bool stopLoopingOnly, ParticleSystemStopBehavior stopBehavior = ParticleSystemStopBehavior.StopEmitting, bool stopChildren = false)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.ParticleSystem | system | |
System.Boolean | stopLoopingOnly | |
UnityEngine.ParticleSystemStopBehavior | stopBehavior | |
System.Boolean | stopChildren |
Returns
Type | Description |
---|---|
System.Single |
StopParticleSystem(ParticleSystem, ParticleSystemStopBehavior, Boolean)
Issues stop on the specified particle systems while returning the time required to play out.
Declaration
public static float StopParticleSystem(ParticleSystem system, ParticleSystemStopBehavior stopBehavior = ParticleSystemStopBehavior.StopEmitting, bool stopChildren = false)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.ParticleSystem | system | |
UnityEngine.ParticleSystemStopBehavior | stopBehavior | |
System.Boolean | stopChildren |
Returns
Type | Description |
---|---|
System.Single |
StopParticleSystem(ParticleSystem[], Boolean)
Issues stop on the specified particle systems.
Declaration
public static float StopParticleSystem(ParticleSystem[] systems, bool stopLoopingOnly)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.ParticleSystem[] | systems | |
System.Boolean | stopLoopingOnly |
Returns
Type | Description |
---|---|
System.Single |
StopParticleSystem(ParticleSystem[], Boolean, ParticleSystemStopBehavior)
Issues stop on the specified particle systems while returning the time required to play out.
Declaration
public static float StopParticleSystem(ParticleSystem[] systems, bool stopLoopingOnly, ParticleSystemStopBehavior stopBehavior = ParticleSystemStopBehavior.StopEmitting)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.ParticleSystem[] | systems | |
System.Boolean | stopLoopingOnly | |
UnityEngine.ParticleSystemStopBehavior | stopBehavior |
Returns
Type | Description |
---|---|
System.Single |
StopParticleSystem(ParticleSystem[], ParticleSystemStopBehavior)
Issues stop on the specified particle systems while returning the time required to play out.
Declaration
public static float StopParticleSystem(ParticleSystem[] systems, ParticleSystemStopBehavior stopBehavior = ParticleSystemStopBehavior.StopEmitting)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.ParticleSystem[] | systems | |
UnityEngine.ParticleSystemStopBehavior | stopBehavior |
Returns
Type | Description |
---|---|
System.Single |