KMBomb - Qkrisi/ktanemodkit GitHub Wiki

KMBomb

[DisallowMultipleComponent]
public class KMBomb : MonoBehaviour

Component representing the bomb visual.


public List<KMBombFace> Faces;

Faces upon which modules are placed.


public List<GameObject> WidgetAreas;

Areas for spawning widgets.


public Transform visualTransform;

Transform of the bomb visual used to rotate the bomb.

Every object on the bomb should be a child of this.


public float Scale;

Indicates how much to scale the modules to fit in the slots (Default: 0.74)


public bool IsHoldable;

Inidicates whether the bomb can be held or not (Default: true)

⚠️ **GitHub.com Fallback** ⚠️