Unity Fix Timelimit UI didn't work
Unity Fix Timelimit UI didn't work
This commit is contained in:
parent
818928a5aa
commit
cf2e4cee2c
@ -1 +1 @@
|
|||||||
{"count":1,"self":14.364236799999999,"total":14.7678687,"children":{"InitializeActuators":{"count":2,"self":0.0009999,"total":0.0009999,"children":null},"InitializeSensors":{"count":2,"self":0.0010008,"total":0.0010008,"children":null},"AgentSendState":{"count":504,"self":0.0060111,"total":0.0636617,"children":{"CollectObservations":{"count":504,"self":0.0546419,"total":0.0546419,"children":null},"WriteActionMask":{"count":503,"self":0.001006,"total":0.001006,"children":null},"RequestDecision":{"count":503,"self":0.0020027,"total":0.0020027,"children":null}}},"DecideAction":{"count":503,"self":0.0035023,"total":0.0035023,"children":null},"AgentAct":{"count":503,"self":0.3304658,"total":0.3304658,"children":null}},"gauges":{},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1665764651","unity_version":"2020.3.19f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2020.3.19f1\\Editor\\Unity.exe -projectpath C:\\Users\\UCUNI\\OneDrive\\Unity\\ML-Agents\\Aimbot-PPO\\Aimbot-PPO-MultiScene -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-mO9W_RqJkSeNPEPgTMbRK -hubSessionId b189fbf0-4bd9-11ed-af18-5796c8a9db6e -accessToken 0gt45CYC6M5EI-dlFucvkHWtcpKMAExHCZ5Lm71p-7E00ef","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.0","scene_name":"InGame","end_time_seconds":"1665764666"}}
|
{"count":1,"self":12.279527999999999,"total":12.4987023,"children":{"InitializeActuators":{"count":2,"self":0.0009998,"total":0.0009998,"children":null},"InitializeSensors":{"count":2,"self":0.0014946,"total":0.0014946,"children":null},"AgentSendState":{"count":391,"self":0.0045030999999999995,"total":0.08056519999999999,"children":{"CollectObservations":{"count":391,"self":0.0745624,"total":0.0745624,"children":null},"WriteActionMask":{"count":391,"self":0,"total":0,"children":null},"RequestDecision":{"count":391,"self":0.0014996999999999999,"total":0.0014996999999999999,"children":null}}},"DecideAction":{"count":391,"self":0.0040221,"total":0.0040221,"children":null},"AgentAct":{"count":391,"self":0.1305816,"total":0.1305816,"children":null}},"gauges":{},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1666536692","unity_version":"2020.3.19f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2020.3.19f1\\Editor\\Unity.exe -projectpath C:\\Users\\UCUNI\\OneDrive\\Unity\\ML-Agents\\Aimbot-PPO\\Aimbot-PPO-MultiScene -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-UCUNI -hubSessionId d9586dc0-52db-11ed-b872-a92f6803ef60 -accessToken fnNcXGed14xZ4T2QDjYvkfHJGstBdUCo4Db2J0SHVQY00ef","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.0","scene_name":"InGame","end_time_seconds":"1666536704"}}
|
@ -375,9 +375,9 @@ MonoBehaviour:
|
|||||||
m_OnValueChanged:
|
m_OnValueChanged:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
m_Calls:
|
m_Calls:
|
||||||
- m_Target: {fileID: 0}
|
- m_Target: {fileID: 2024406051}
|
||||||
m_TargetAssemblyTypeName: StartSceneTimeLimChanger, Assembly-CSharp
|
m_TargetAssemblyTypeName: EnvArgsChanger, Assembly-CSharp
|
||||||
m_MethodName: onValueTimeChanged
|
m_MethodName: onTimeValueChanged
|
||||||
m_Mode: 1
|
m_Mode: 1
|
||||||
m_Arguments:
|
m_Arguments:
|
||||||
m_ObjectArgument: {fileID: 0}
|
m_ObjectArgument: {fileID: 0}
|
||||||
@ -4933,7 +4933,7 @@ MonoBehaviour:
|
|||||||
m_HorizontalOverflow: 0
|
m_HorizontalOverflow: 0
|
||||||
m_VerticalOverflow: 0
|
m_VerticalOverflow: 0
|
||||||
m_LineSpacing: 1
|
m_LineSpacing: 1
|
||||||
m_Text: 30
|
m_Text: 15
|
||||||
--- !u!222 &1199381302
|
--- !u!222 &1199381302
|
||||||
CanvasRenderer:
|
CanvasRenderer:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -5473,7 +5473,7 @@ MonoBehaviour:
|
|||||||
m_HorizontalOverflow: 0
|
m_HorizontalOverflow: 0
|
||||||
m_VerticalOverflow: 0
|
m_VerticalOverflow: 0
|
||||||
m_LineSpacing: 1
|
m_LineSpacing: 1
|
||||||
m_Text: -10.0
|
m_Text: -0.05
|
||||||
--- !u!222 &1507283001
|
--- !u!222 &1507283001
|
||||||
CanvasRenderer:
|
CanvasRenderer:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -12,7 +12,7 @@ public class StartSeneData : MonoBehaviour
|
|||||||
public float hitRewardDefault = 5.0f;
|
public float hitRewardDefault = 5.0f;
|
||||||
public float killRewardDefault = 10.0f;
|
public float killRewardDefault = 10.0f;
|
||||||
public float winRewardDefault = 20.0f;
|
public float winRewardDefault = 20.0f;
|
||||||
public float loseRewardDefault = -10.0f;
|
public float loseRewardDefault = -0.05f;
|
||||||
public bool lockMouse = false;
|
public bool lockMouse = false;
|
||||||
public bool defaultTPCamera = true;
|
public bool defaultTPCamera = true;
|
||||||
|
|
||||||
@ -37,7 +37,7 @@ public class StartSeneData : MonoBehaviour
|
|||||||
[System.NonSerialized] public int EnemyNum = 3;
|
[System.NonSerialized] public int EnemyNum = 3;
|
||||||
|
|
||||||
// TimeLimit
|
// TimeLimit
|
||||||
[System.NonSerialized] public int Timelim = 30;
|
[System.NonSerialized] public int Timelim = 15;
|
||||||
|
|
||||||
private void Start()
|
private void Start()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user