private void OnClickLoadButton() { ChromaSDKAnimation1D animation = GetAnimation(); EditorUtility.SetDirty(animation); Unload(); animation.Load(); }
private void OnClickPlayButton() { ChromaSDKAnimation1D animation = GetAnimation(); EditorUtility.SetDirty(animation); if (!animation.IsLoaded()) { animation.Load(); } animation.Play(); }