1.2.0
This commit is contained in:
1 parent
c3bb8d1a9e
commit
fd0312270b
26 files changed
+3310
-87
No files matched your search
@@ -33,8 +33,8 @@ public class RoundConfig : GameSettings
|
||||
public string buildId; // 出包時的 git commit 短碼,分辨同版號的不同 build
|
||||
public string sessionId; // 這次執行的代號 (= 資料夾 / zip 的時間戳)
|
||||
public int planSeed; // 排程種子
|
||||
public int planIndex; // 排程中的第幾項 (熱身 0~4,正式 5~84)
|
||||
public int blockIndex; // 區塊 0~7,熱身 -1
|
||||
public int planIndex; // 排程中的第幾項 (v1.2.0 : 熱身 0~2,正式 3~52)
|
||||
public int blockIndex; // 區塊 (v1.2.0 : 0~4),熱身 -1
|
||||
public int orderInBlock; // 區塊內 0~9,熱身 -1
|
||||
public bool isWarmup; // 熱身回合 (分析時排除)
|
||||
public float assistFovDeg; // 作用範圍 (度),無輔助為 0
|
||||
@@ -42,6 +42,10 @@ public class RoundConfig : GameSettings
|
||||
public int targetFps; // Application.targetFrameRate,-1 = 不限制
|
||||
public int vSyncCount;
|
||||
|
||||
// v1.2.0
|
||||
public float warmupFps; // 熱身量到的平均 FPS ; 熱身還沒結束、自由模式為 -1
|
||||
public string qualityLevel; // 這一回合的畫質等級名稱
|
||||
|
||||
public static RoundConfig Create(int index, SessionPlan.RoundCondition condition)
|
||||
{
|
||||
RoundConfig c = new RoundConfig();
|
||||
@@ -72,6 +76,11 @@ public class RoundConfig : GameSettings
|
||||
c.recoilSeed = condition.roundSeed;
|
||||
c.targetFps = Application.targetFrameRate;
|
||||
c.vSyncCount = QualitySettings.vSyncCount;
|
||||
|
||||
c.warmupFps = SessionPlan.IsAuto(c) ? SessionPlan.WarmupFps : -1f;
|
||||
int quality = QualitySettings.GetQualityLevel();
|
||||
string[] names = QualitySettings.names;
|
||||
c.qualityLevel = quality >= 0 && quality < names.Length ? names[quality] : quality.ToString();
|
||||
return c;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user