TimeScale Class

Summary

A simple Inspector slider to control UnityEngine.Time.timeScale.
Assembly
Animancer.dll
Namespace
Animancer.Samples
Base Types
  • MonoBehaviour
graph BT Type-->Base0["MonoBehaviour"] Type["TimeScale"] class Type type-node

Syntax

[AddComponentMenu(Strings.SamplesMenuPrefix + "Time Scale")]
[AnimancerHelpUrl(typeof(TimeScale))]
public class TimeScale : MonoBehaviour

Remarks

Documentation: Time Scale

Attributes

Type Description
AddComponentMenu
AnimancerHelpUrlAttribute [Assert-Conditional] A UnityEngine.HelpURLAttribute which points to Animancer's documentation.

Properties

Name Value Summary
Value float
The current UnityEngine.Time.timeScale or the value that will be assigned when this component is enabled.

Methods

Name Value Summary
OnDisable() void
OnEnable() void
OnValidate() void