private static void LoadBoneDisplay() { Setting.boneSelectKey = (KeyCode)IniUtil.GetIntValue("BoneDisplay", "BoneSelectKey", 308); Setting.normalBoneColor = new Setting.SettingValue <Color>(ColorUtil.GetColorFromName(IniUtil.GetStringValue("BoneDisplay", "NormalBoneColor", "white"))); Setting.selectBoneColor = new Setting.SettingValue <Color>(ColorUtil.GetColorFromName(IniUtil.GetStringValue("BoneDisplay", "SelectBoneColor", "red"))); Setting.bodyBoneDisplay = new Setting.SettingValue <BodyBoneDisplay>((BodyBoneDisplay)IniUtil.GetIntValue("BoneDisplay", "BodyBoneDisplay", 1)); }
private static void LoadGizmoDisplay() { Setting.gizmoSmallKey = (KeyCode)IniUtil.GetIntValue("GizmoDisplay", "GizmoSmallKey", 304); Setting.gizmoBigKey = (KeyCode)IniUtil.GetIntValue("GizmoDisplay", "GizmoBigKey", 0); }
private static void LoadSetting() { Setting.boneDisplay = (BoneDisplay)IniUtil.GetIntValue("Setting", "BoneDisplay", 1); Setting.coordinateType = (ExGizmoRenderer.COORDINATE)IniUtil.GetIntValue("Setting", "CoordinateType", 0); Setting.gizmoType = (GizmoType)IniUtil.GetIntValue("Setting", "GizmoType", 2); }