Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
载入中...
搜索中...
未找到
ProgressManager.cs
浏览该文件的文档.
1using Engine;
2
3namespace Game {
4 public static class ProgressManager {
5 public static string OperationName { get; set; }
6
7 public static float Progress { get; set; }
8
9 public static void UpdateProgress(string operationName, float progress) {
10 OperationName = operationName;
11 Progress = MathUtils.Saturate(progress);
12 }
13 }
14}
static float Saturate(float x)
static void UpdateProgress(string operationName, float progress)