public static void ShowWindow(int id) { if (ch == null) { return; } GUIX.Horizontal(() => { GUIX.Label(time.ToString(), 3); GUIX.Label("/", 3); GUIX.Label(max.ToString(), 3); }); GUIX.Horizontal(() => { if (GUIX.Button("<<", 3)) { time -= delta * 5; change = true; } if (GUIX.Button("<", 3)) { time -= delta; change = true; } if (GUIX.Button(">", 3)) { time += delta; change = true; } if (GUIX.Button(">>", 3)) { time += delta * 5; change = true; } if (time < 0) { time = 0; } if (time > max) { time = max; } }); if (GUIX.Button("CopyBone", 3)) { ch.mySetAnimeSpeed(0); ch.myCopyBone(); ch.mySetFKActive(true); hipsPos = ch.myGetBoneHips().guideObject.transformTarget.position - ch.guideObject.transformTarget.position; } if (GUIX.Button("FixPos", 3)) { ch.guideObject.changeAmount.pos = hipsPos; hipsPos = new Vector3(); } GUIX.Label(Kit.VecStr(hipsPos), 12); }