27 lines
686 B
Plaintext
27 lines
686 B
Plaintext
URL: https://wiki.studiominus.nl/internalReference/GearBehaviour.html
|
|
Title: People Playground Modding - GearBehaviour
|
|
==================================================
|
|
|
|
public class GearBehaviour
|
|
Inherits MonoBehaviour
|
|
[System.Obsolete]
|
|
Behaviour of all gears
|
|
Fields
|
|
public int ToothCount
|
|
[SkipSerialisation]
|
|
How many teeth the gear has. Determines gear ratio.
|
|
|
|
public PhysicalBehaviour Phys
|
|
[SkipSerialisation]
|
|
Reference to the PhysicalBehaviour
|
|
|
|
public LayerMask GearLayer
|
|
[SkipSerialisation]
|
|
What layers should be considered when checking for other gears?
|
|
|
|
Methods
|
|
public void ManagedUpdate(float dt)
|
|
No description provided
|
|
|
|
public void ManagedLateUpdate()
|
|
No description provided |