Show / Hide Table of Contents

Class ParticleHelper

Inheritance
Object
ParticleHelper
Namespace: Modding.Modules.Official
Assembly: Assembly-CSharp.dll
Syntax
public static class ParticleHelper

Methods

CreateParticleSystems<T>(Transform, BlockModuleBehaviour<T>, ParticleHelper.ParticleDefinition[])

Declaration
public static ParticleHelper.ParticleSystemsInformation CreateParticleSystems<T>(Transform parent, BlockModuleBehaviour<T> behaviour, ParticleHelper.ParticleDefinition[] particleSystems)
    where T : BlockModule
Parameters
Type Name Description
UnityEngine.Transform parent
BlockModuleBehaviour<T> behaviour
ParticleHelper.ParticleDefinition[] particleSystems
Returns
Type Description
ParticleHelper.ParticleSystemsInformation
Type Parameters
Name Description
T

OnReloadModule<T>(Transform, BlockModuleBehaviour<T>, ParticleHelper.ParticleDefinition[], ParticleHelper.ParticleSystemsInformation)

Declaration
public static ParticleHelper.ParticleSystemsInformation OnReloadModule<T>(Transform parent, BlockModuleBehaviour<T> behaviour, ParticleHelper.ParticleDefinition[] particleSystems, ParticleHelper.ParticleSystemsInformation info)
    where T : BlockModule
Parameters
Type Name Description
UnityEngine.Transform parent
BlockModuleBehaviour<T> behaviour
ParticleHelper.ParticleDefinition[] particleSystems
ParticleHelper.ParticleSystemsInformation info
Returns
Type Description
ParticleHelper.ParticleSystemsInformation
Type Parameters
Name Description
T

ParticlesOff(ParticleHelper.ParticleSystemsInformation, Boolean)

Declaration
public static void ParticlesOff(ParticleHelper.ParticleSystemsInformation info, bool SimPhysics)
Parameters
Type Name Description
ParticleHelper.ParticleSystemsInformation info
Boolean SimPhysics

ParticlesOn(ParticleHelper.ParticleSystemsInformation, Boolean)

Declaration
public static void ParticlesOn(ParticleHelper.ParticleSystemsInformation info, bool SimPhysics)
Parameters
Type Name Description
ParticleHelper.ParticleSystemsInformation info
Boolean SimPhysics

SetParticleRange<T>(ParticleHelper.ParticleSystemsInformation, BlockModuleBehaviour<T>, Single)

Declaration
public static void SetParticleRange<T>(ParticleHelper.ParticleSystemsInformation info, BlockModuleBehaviour<T> behaviour, float value)
    where T : BlockModule
Parameters
Type Name Description
ParticleHelper.ParticleSystemsInformation info
BlockModuleBehaviour<T> behaviour
Single value
Type Parameters
Name Description
T
Back to top Generated by DocFX