-
Notifications
You must be signed in to change notification settings - Fork 17
TorqueToYieldBoltSettings
Namespace: TommoJProductions.ModApi.Attachable
Represents Torque to yield bolt specific settings.
public class TorqueToYieldBoltSettings : BoltSettings
Inheritance Object → BaseBoltSettings → BoltSettings → TorqueToYieldBoltSettings
The torque angle of this bolt.
public float torqueAngle;
for initializing a new instance of bolt with custom name.
public string name;
Represents the bolts type.
public BoltType type;
If , the rachet can be used to tighten and loosen the fastener.
public bool canUseRachet;
Represents the position step. (how quick the position of the bolt moves in BoltSettings.posDirection. when un/tightening)
public float posStep;
Represents the rot step. (how quick the bolt rotates when un/tightening.
public float rotStep;
Represents positional direction of bolt.
public Vector3 posDirection;
Represents the rotational direction of bolt.
public Vector3 rotDirection;
if true, highlights the bolt green when the bolt is activated.
public bool highlightWhenActive;
If true, Bolt is visible and logic is active when uninstalled.
public bool activeWhenUninstalled;
Represents the tool size required to un/tighten this fastener.
public BoltSize size;
Represents the custom prefab to use. set this to the prefab you want the fastener to be. leave null if you want modapi to handle model creation.
public GameObject customPrefab;
public TorqueToYieldBoltSettings()
public TorqueToYieldBoltSettings(TorqueToYieldBoltSettings s)
public TorqueToYieldBoltSettings copy()