fixed 9/11
This commit is contained in:
@@ -94,13 +94,13 @@ AnimatorController:
|
||||
m_DefaultFloat: 0
|
||||
m_DefaultInt: 0
|
||||
m_DefaultBool: 0
|
||||
m_Controller: {fileID: 9100000}
|
||||
m_Controller: {fileID: 0}
|
||||
- m_Name: IsTurning
|
||||
m_Type: 4
|
||||
m_DefaultFloat: 0
|
||||
m_DefaultInt: 0
|
||||
m_DefaultBool: 0
|
||||
m_Controller: {fileID: 9100000}
|
||||
m_Controller: {fileID: 0}
|
||||
m_AnimatorLayers:
|
||||
- serializedVersion: 5
|
||||
m_Name: Base Layer
|
||||
|
||||
@@ -1 +1 @@
|
||||
{"count":1,"self":144.7434112,"total":146.1154218,"children":{"InitializeActuators":{"count":8,"self":0.0019955,"total":0.0019955,"children":null},"InitializeSensors":{"count":8,"self":0.0019944,"total":0.0019944,"children":null},"AgentSendState":{"count":2931,"self":0.1644883,"total":0.2066159,"children":{"CollectObservations":{"count":4696,"self":0.0210144,"total":0.0210144,"children":null},"WriteActionMask":{"count":4696,"self":0.0050081,"total":0.0050081,"children":null},"RequestDecision":{"count":4696,"self":0.0161051,"total":0.0161051,"children":null}}},"DecideAction":{"count":2931,"self":0.974961,"total":0.98789779999999994,"children":{"RayPerceptionSensor.Perceive":{"count":9392,"self":0.0129368,"total":0.0129368,"children":null}}},"AgentAct":{"count":2931,"self":0.1735083,"total":0.1735083,"children":null}},"gauges":{},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1714150792","unity_version":"2022.3.11f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.11f1\\Editor\\Unity.exe -projectpath C:\\Users\\Noah\\Documents\\Unity\\Racesm -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-Noah -hubSessionId afc1258c-abe0-4a00-8f4e-1d44662f8e05 -accessToken E8uMA-2GqZxoKnR6eDa7D1Oy5BMcE1EuXtrSjgTRut0005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"Car Customization","end_time_seconds":"1714150938"}}
|
||||
{"count":1,"self":106.7421248,"total":107.1068926,"children":{"InitializeActuators":{"count":8,"self":0.0010004999999999999,"total":0.0010004999999999999,"children":null},"InitializeSensors":{"count":8,"self":0.002986,"total":0.002986,"children":null},"AgentSendState":{"count":650,"self":0.041885,"total":0.0619281,"children":{"CollectObservations":{"count":1040,"self":0.0070542999999999995,"total":0.0070542999999999995,"children":null},"WriteActionMask":{"count":1040,"self":0.00097109999999999991,"total":0.00097109999999999991,"children":null},"RequestDecision":{"count":1040,"self":0.0120177,"total":0.0120177,"children":null}}},"DecideAction":{"count":650,"self":0.255932,"total":0.2628589,"children":{"RayPerceptionSensor.Perceive":{"count":2080,"self":0.0069269,"total":0.0069269,"children":null}}},"AgentAct":{"count":650,"self":0.0359955,"total":0.0359955,"children":null}},"gauges":{},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1714155477","unity_version":"2022.3.11f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.11f1\\Editor\\Unity.exe -projectpath C:\\Users\\Noah\\Documents\\Unity\\Racesm -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-Noah -hubSessionId afc1258c-abe0-4a00-8f4e-1d44662f8e05 -accessToken HAsa1FnURjmkRUeQ_SpKT3QXzVn9_XUZdrXwm9silxw005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"Car Customization","end_time_seconds":"1714155584"}}
|
||||
@@ -1 +1 @@
|
||||
{"count":1,"self":59.1238208,"total":60.424250099999995,"children":{"InitializeActuators":{"count":8,"self":0.0009979,"total":0.0009979,"children":null},"InitializeSensors":{"count":8,"self":0.0029920999999999997,"total":0.0029920999999999997,"children":null},"AgentSendState":{"count":2791,"self":0.1610984,"total":0.21168199999999998,"children":{"CollectObservations":{"count":4472,"self":0.0255537,"total":0.0255537,"children":null},"WriteActionMask":{"count":4472,"self":0.0050374999999999994,"total":0.0050374999999999994,"children":null},"RequestDecision":{"count":4472,"self":0.0199924,"total":0.0199924,"children":null}}},"DecideAction":{"count":2791,"self":0.9130041,"total":0.93479059999999992,"children":{"RayPerceptionSensor.Perceive":{"count":8944,"self":0.0217865,"total":0.0217865,"children":null}}},"AgentAct":{"count":2791,"self":0.1489682,"total":0.1489682,"children":null}},"gauges":{},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1714150952","unity_version":"2022.3.11f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.11f1\\Editor\\Unity.exe -projectpath C:\\Users\\Noah\\Documents\\Unity\\Racesm -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-Noah -hubSessionId afc1258c-abe0-4a00-8f4e-1d44662f8e05 -accessToken E8uMA-2GqZxoKnR6eDa7D1Oy5BMcE1EuXtrSjgTRut0005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"CityRacetrack","end_time_seconds":"1714151012"}}
|
||||
{"count":1,"self":26.095076799999998,"total":26.751341699999998,"children":{"InitializeActuators":{"count":8,"self":0.0009961,"total":0.0009961,"children":null},"InitializeSensors":{"count":8,"self":0.0029674999999999997,"total":0.0029674999999999997,"children":null},"AgentSendState":{"count":1105,"self":0.0747235,"total":0.1041604,"children":{"CollectObservations":{"count":1768,"self":0.0124887,"total":0.0124887,"children":null},"WriteActionMask":{"count":1768,"self":0,"total":0,"children":null},"RequestDecision":{"count":1768,"self":0.0169482,"total":0.0169482,"children":null}}},"DecideAction":{"count":1105,"self":0.4582231,"total":0.46919059999999996,"children":{"RayPerceptionSensor.Perceive":{"count":3536,"self":0.0109675,"total":0.0109675,"children":null}}},"AgentAct":{"count":1105,"self":0.077951899999999991,"total":0.077951899999999991,"children":null}},"gauges":{},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1714156312","unity_version":"2022.3.11f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.11f1\\Editor\\Unity.exe -projectpath C:\\Users\\Noah\\Documents\\Unity\\Racesm -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-Noah -hubSessionId afc1258c-abe0-4a00-8f4e-1d44662f8e05 -accessToken HAsa1FnURjmkRUeQ_SpKT3QXzVn9_XUZdrXwm9silxw005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"CityRacetrack","end_time_seconds":"1714156339"}}
|
||||
@@ -4481,8 +4481,28 @@ PrefabInstance:
|
||||
- targetCorrespondingSourceObject: {fileID: 7984375907914713465, guid: 63afb34a2c116fe498ae42967d35d805, type: 3}
|
||||
insertIndex: 1
|
||||
addedObject: {fileID: 384523816}
|
||||
m_AddedComponents: []
|
||||
m_AddedComponents:
|
||||
- targetCorrespondingSourceObject: {fileID: 6776445221154225130, guid: 63afb34a2c116fe498ae42967d35d805, type: 3}
|
||||
insertIndex: -1
|
||||
addedObject: {fileID: 993115567}
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 63afb34a2c116fe498ae42967d35d805, type: 3}
|
||||
--- !u!1 &993115566 stripped
|
||||
GameObject:
|
||||
m_CorrespondingSourceObject: {fileID: 6776445221154225130, guid: 63afb34a2c116fe498ae42967d35d805, type: 3}
|
||||
m_PrefabInstance: {fileID: 993115565}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!114 &993115567
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 993115566}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 9447c82152d77e143b1f39f2d4f2292e, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!1 &1057282484
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
||||
20
Assets/Scripts/TheTowersMustFall.cs
Normal file
20
Assets/Scripts/TheTowersMustFall.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class TheTowersMustFall : MonoBehaviour
|
||||
{
|
||||
Animator animator;
|
||||
KeyCode hitTowersButton = KeyCode.L;
|
||||
void Start()
|
||||
{
|
||||
animator = GetComponent<Animator>();
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
if (Input.GetKeyDown(hitTowersButton))
|
||||
animator.SetBool("Fall", true);
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/TheTowersMustFall.cs.meta
Normal file
11
Assets/Scripts/TheTowersMustFall.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9447c82152d77e143b1f39f2d4f2292e
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
File diff suppressed because it is too large
Load Diff
@@ -43,9 +43,9 @@ AnimatorStateTransition:
|
||||
m_Mute: 0
|
||||
m_IsExit: 0
|
||||
serializedVersion: 3
|
||||
m_TransitionDuration: 0.012783408
|
||||
m_TransitionDuration: 0.6141238
|
||||
m_TransitionOffset: 0
|
||||
m_ExitTime: 0.3120151
|
||||
m_ExitTime: 0.4280422
|
||||
m_HasExitTime: 1
|
||||
m_HasFixedDuration: 1
|
||||
m_InterruptionSource: 0
|
||||
@@ -64,8 +64,8 @@ AnimatorController:
|
||||
m_Type: 9
|
||||
m_DefaultFloat: 0
|
||||
m_DefaultInt: 0
|
||||
m_DefaultBool: 1
|
||||
m_Controller: {fileID: 0}
|
||||
m_DefaultBool: 0
|
||||
m_Controller: {fileID: 9100000}
|
||||
m_AnimatorLayers:
|
||||
- serializedVersion: 5
|
||||
m_Name: Base Layer
|
||||
@@ -90,7 +90,7 @@ AnimatorStateMachine:
|
||||
m_ChildStates:
|
||||
- serializedVersion: 1
|
||||
m_State: {fileID: 7207422066676919104}
|
||||
m_Position: {x: 360, y: 120, z: 0}
|
||||
m_Position: {x: 350, y: 120, z: 0}
|
||||
- serializedVersion: 1
|
||||
m_State: {fileID: -2509353387458069387}
|
||||
m_Position: {x: 350, y: -30, z: 0}
|
||||
@@ -125,7 +125,7 @@ AnimatorState:
|
||||
m_MirrorParameterActive: 0
|
||||
m_CycleOffsetParameterActive: 0
|
||||
m_TimeParameterActive: 0
|
||||
m_Motion: {fileID: 7400000, guid: 6099b927b557800408b96e0aff7f3185, type: 2}
|
||||
m_Motion: {fileID: 7400000, guid: 5798ed78f4546ab4fa7792d829e5c4b4, type: 2}
|
||||
m_Tag:
|
||||
m_SpeedParameter:
|
||||
m_MirrorParameter:
|
||||
|
||||
Reference in New Issue
Block a user