-
Notifications
You must be signed in to change notification settings - Fork 16
BaseBoltSettings
Tommo J. Phillips edited this page Oct 22, 2023
·
2 revisions
Namespace: TommoJProductions.ModApi.Attachable
Represents base bolt settings eg => the size of the bolt.
public class BaseBoltSettingsInheritance Object → BaseBoltSettings
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;default values
public BaseBoltSettings()inits new instance of bolt settings and copies instance values.
public BaseBoltSettings(BaseBoltSettings s)s BaseBoltSettings
the instance of bolt settings to copy.
Copies field values to a new instance and returns.
public BaseBoltSettings copy()BaseBoltSettings
A new instance with the same values