GearLib
Loading...
Searching...
No Matches
GearLib.API.Fields Namespace Reference

Classes

class  BooleanField
 A Boolean property for your Behaviour. More...
 
class  FloatField
 A Float property for your Behaviour. More...
 
class  IField
 Interface for adding properties to their Part Behaviour in game for players. This uses the built-in existing properties available on Parts to customize them.
MODDERS: Do not use this. Instead, use the other fields inheriting from this. Example below on how to use these fields:
[IntField(label = "Timing", tooltip_text = "Offset degrees from TDC to fire piston", initial_value = 5, minimum_value = -30, maximum_value = 30)] public int timing;. More...
 
class  InputField
 A Input property for your Behaviour. This is for Keyboard inputs. More...
 
class  IntField
 A Integer property for your Behaviour. More...
 
class  JoystickField
 A Joystick property for your Behaviour. Utilizes the base game functionality with controllers. More...
 
class  StringField
 A String property for your Behaviour. More...