Example #1
0
    private void Update()
    {
        if (animationCtrl != null)
        {
            //刷新Silder
            if (animationCtrl.isPlaying)
            {
                Repaint();
            }
            animationCtrl.Update();
        }

        if (refreshSelection)
        {
            Selection.activeGameObject = currentSelectObj;
            refreshSelection           = false;
        }
    }