Headers and Tooltips in Unity (C#)
[Header("Movement and Speeds")] | |
[Tooltip("Player speeds, etc")] | |
public Movement movement; | |
[Tooltip("Determines maximum jog over time until timeToMaxJog (1.0 is max on curve)")] | |
public AnimationCurve rampToFullJog = new AnimationCurve(new Keyframe(0,0.1f),new Keyframe(1,1)); | |
[Tooltip("Time in seconds before maximum jog speed is reached")] | |
public float timeToMaxJog = 2.0f; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment