private void Update() { if (animationCtrl != null) { //刷新Silder if (animationCtrl.isPlaying) { Repaint(); } animationCtrl.Update(); } if (refreshSelection) { Selection.activeGameObject = currentSelectObj; refreshSelection = false; } }