Exemplo n.º 1
0
    private void OnClickLoadButton()
    {
        ChromaSDKAnimation1D animation = GetAnimation();

        EditorUtility.SetDirty(animation);
        Unload();

        animation.Load();
    }
Exemplo n.º 2
0
    private void OnClickPlayButton()
    {
        ChromaSDKAnimation1D animation = GetAnimation();

        EditorUtility.SetDirty(animation);
        if (!animation.IsLoaded())
        {
            animation.Load();
        }

        animation.Play();
    }