Table of Contents

Class Hacks

Namespace
KSP.Sim
Assembly
Assembly-CSharp.dll
public static class Hacks
Inheritance
Hacks
Inherited Members

Methods

CreateFXGroupFromPrefab(ISimulationObjectView, PartBehavior, string, GameObject, Transform)

public static FXGroup CreateFXGroupFromPrefab(ISimulationObjectView simObject, PartBehavior part, string fxGroupName, GameObject prefabObject, Transform transform)

Parameters

simObject ISimulationObjectView
part PartBehavior
fxGroupName string
prefabObject GameObject
transform Transform

Returns

FXGroup

CreateFXGroupFromPrefab(GameObject, Transform)

public static FXGroup CreateFXGroupFromPrefab(GameObject prefabObject, Transform transform)

Parameters

prefabObject GameObject
transform Transform

Returns

FXGroup

CreateFXGroupFromPrefab<T>(ISimulationObjectView, PartBehavior, string, string, Transform, Action<T>)

public static void CreateFXGroupFromPrefab<T>(ISimulationObjectView simObject, PartBehavior part, string fxGroupName, string fxPrefabName, Transform transform, Action<T> resultCallback) where T : FXGroup

Parameters

simObject ISimulationObjectView
part PartBehavior
fxGroupName string
fxPrefabName string
transform Transform
resultCallback Action<T>

Type Parameters

T