Summary
Draws a button which toggles between play and pause icons.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.Editor - Containing Type
- AnimancerGUI
Syntax
public static bool DoPlayPauseToggle(Rect area, bool isPlaying, GUIStyle style = null, string tooltip = null)
Parameters
| Name | Type | Description |
|---|---|---|
| area | Rect | |
| isPlaying | bool | |
| style | GUIStyle | |
| tooltip | string |
Return Value
| Type | Description |
|---|---|
| bool |