private void LoadScene(HScene scene) { sf.Reset(); ac.Init(); string[] onHolds = scene.GetOnHolds(); for (int i = (int)AvatarControl.BODYS.RH; i <= (int)AvatarControl.BODYS.LF; i++) { if (!string.IsNullOrEmpty(onHolds[i])) { Transform t = holds.Find(onHolds[i]); if (t != null) { Hold hold = t.gameObject.GetComponent <Hold>(); sf.SetFocusHold(i, hold); ac.SetFixed(i, true); } } } cs.SetComments(scene.GetComments()); if (scene.IsPose()) { ik.SetPose(scene.GetPose(), scene.GetPRotate()); } else { ik.InitAvatar(); } }