-
Notifications
You must be signed in to change notification settings - Fork 17
OilPan
Tommo J. Phillips edited this page Oct 22, 2023
·
2 revisions
Namespace: TommoJProductions.ModApi.GameDatabase.GameParts
reps the oil pan game part.
public class OilPan : GamePart
Inheritance Object → GamePart → OilPan
reps the oil level of the engine.
public FsmFloat oilLevel { get; set; }
FsmFloat
reps the oil contamination.
public FsmFloat oilContamination { get; set; }
FsmFloat
reps the oil grade.
public FsmFloat oilGrade { get; set; }
FsmFloat
reps if the game part is bolted
public FsmBool bolted { get; set; }
FsmBool
reps if the game part is installed
public FsmBool installed { get; set; }
FsmBool
reps if the game part is damaged
public FsmBool damaged { get; set; }
FsmBool
reps the ingame gameobject reference.
public FsmGameObject thisPart { get; set; }
FsmGameObject
reps the 'not broken' mesh for the game part.
public FsmGameObject newMesh { get; set; }
FsmGameObject
reps the 'broken' mesh for the game part.
public FsmGameObject damagedMesh { get; set; }
FsmGameObject
reps the trigger gameobject for the game part.
public FsmGameObject trigger { get; set; }
FsmGameObject
public OilPan(PlayMakerFSM data)
data
PlayMakerFSM