private void drawReloadAsset(GAFAnimationAsset _Asset) { GUILayout.Space(3f); if (GUILayout.Button("Reload asset")) { _Asset.reload(); } }
private void drawInitMovieClipButton(GAFAnimationAsset _Asset) { GUILayout.Space(3f); if (GUILayout.Button("Create GAF movie clip")) { foreach (var target in targets) { _Asset.reload(); target.settings.init(_Asset); target.init(_Asset, m_TimelineID); target.reload(); GAFTracking.sendMovieClipCreatedRequest(_Asset.name); } } }