fixed checkpoints and AI
This commit is contained in:
BIN
Assets/Brains/IcecreamTrack3.onnx
Normal file
BIN
Assets/Brains/IcecreamTrack3.onnx
Normal file
Binary file not shown.
16
Assets/Brains/IcecreamTrack3.onnx.meta
Normal file
16
Assets/Brains/IcecreamTrack3.onnx.meta
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 51ab194121bd4714e911514655ea2fb4
|
||||||
|
ScriptedImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
script: {fileID: 11500000, guid: 683b6cb6d0a474744822c888b46772c9, type: 3}
|
||||||
|
optimizeModel: 1
|
||||||
|
forceArbitraryBatchSize: 1
|
||||||
|
treatErrorsAsWarnings: 0
|
||||||
|
importMode: 1
|
||||||
|
weightsTypeMode: 0
|
||||||
|
activationTypeMode: 0
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: f58d25b9e504a4f41ab4a71cf87c1845
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1 +1 @@
|
|||||||
{"count":1,"self":14.8922256,"total":15.657670399999999,"children":{"InitializeActuators":{"count":8,"self":0.0019944999999999997,"total":0.0019944999999999997,"children":null},"InitializeSensors":{"count":8,"self":0.0019947,"total":0.0019947,"children":null},"AgentSendState":{"count":314,"self":0.0484605,"total":0.0744336,"children":{"CollectObservations":{"count":504,"self":0.00801,"total":0.00801,"children":null},"WriteActionMask":{"count":504,"self":0.00099549999999999986,"total":0.00099549999999999986,"children":null},"RequestDecision":{"count":504,"self":0.0169676,"total":0.0169676,"children":null}}},"DecideAction":{"count":314,"self":0.63277189999999994,"total":0.6397572,"children":{"RayPerceptionSensor.Perceive":{"count":1008,"self":0.0069853,"total":0.0069853,"children":null}}},"AgentAct":{"count":314,"self":0.0472652,"total":0.0472652,"children":null}},"gauges":{},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1714121178","unity_version":"2022.3.11f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.11f1\\Editor\\Unity.exe -projectpath C:\\Users\\Magnus\\Desktop\\Ny unityting\\Racesm -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-Magnus -hubSessionId 8c17471b-7795-4082-905c-75744d6a077b -accessToken hv3zp4IA8nxcowfZc35r5tDHrlmzUZoExTBgESksngo005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"Car Customization","end_time_seconds":"1714121194"}}
|
{"count":1,"self":237.5488256,"total":238.8033793,"children":{"InitializeActuators":{"count":8,"self":0.0010234999999999999,"total":0.0010234999999999999,"children":null},"InitializeSensors":{"count":8,"self":0.0020252,"total":0.0020252,"children":null},"AgentSendState":{"count":3500,"self":0.1812675,"total":0.2385947,"children":{"CollectObservations":{"count":5600,"self":0.035244,"total":0.035244,"children":null},"WriteActionMask":{"count":5600,"self":0.0030093999999999997,"total":0.0030093999999999997,"children":null},"RequestDecision":{"count":5600,"self":0.0190738,"total":0.0190738,"children":null}}},"DecideAction":{"count":3500,"self":0.76805329999999994,"total":0.78443109999999994,"children":{"RayPerceptionSensor.Perceive":{"count":11200,"self":0.016377799999999998,"total":0.016377799999999998,"children":null}}},"AgentAct":{"count":3500,"self":0.2284724,"total":0.2284724,"children":null}},"gauges":{},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1714126738","unity_version":"2022.3.11f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.11f1\\Editor\\Unity.exe -projectpath C:\\Users\\noahk\\Documents\\Unity projects\\Racesm -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-noahk -hubSessionId a6f45e0e-41b6-4c96-a70e-ec8e10ca5aa9 -accessToken LhF-MiZYoHmiI2p1_6JvQZvJ6QUPd4VyLbrTbhNHTT8005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"Car Customization","end_time_seconds":"1714126977"}}
|
||||||
@@ -1 +1 @@
|
|||||||
{"count":1,"self":195.41159679999998,"total":198.03848159999998,"children":{"InitializeActuators":{"count":8,"self":0.0020007,"total":0.0020007,"children":null},"InitializeSensors":{"count":8,"self":0.0025236,"total":0.0025236,"children":null},"AgentSendState":{"count":9661,"self":0.5351234,"total":0.6740645,"children":{"CollectObservations":{"count":15464,"self":0.098202299999999992,"total":0.098202299999999992,"children":null},"WriteActionMask":{"count":15464,"self":0.0081061,"total":0.0081061,"children":null},"RequestDecision":{"count":15464,"self":0.0326327,"total":0.0326327,"children":null}}},"DecideAction":{"count":9661,"self":1.2607447999999999,"total":1.296937,"children":{"RayPerceptionSensor.Perceive":{"count":30928,"self":0.0361922,"total":0.0361922,"children":null}}},"AgentAct":{"count":9661,"self":0.6503544,"total":0.6503544,"children":null}},"gauges":{"RacecarTrack3.CumulativeReward":{"count":26,"max":27.7548618,"min":-1.80565119,"runningAverage":20.1893,"value":25.4251633,"weightedAverage":17.6442719}},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1714049138","unity_version":"2022.3.11f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.11f1\\Editor\\Unity.exe -projectpath C:\\Users\\noahk\\Documents\\Unity projects\\Racesm -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-noahk -hubSessionId b034e26d-02c7-41ad-9a20-c198a628a35a -accessToken Dt6gMuGhvx1BDLlNSM4Gg2t5w5_py5VVtuHcl5oYJQk005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"City racesm","end_time_seconds":"1714049336"}}
|
{"count":1,"self":72.5527808,"total":72.6327409,"children":{"InitializeActuators":{"count":8,"self":0.0010035999999999999,"total":0.0010035999999999999,"children":null},"InitializeSensors":{"count":8,"self":0.0013766,"total":0.0013766,"children":null},"AgentSendState":{"count":17,"self":0.0076086999999999995,"total":0.016133599999999998,"children":{"CollectObservations":{"count":32,"self":0.001005,"total":0.001005,"children":null},"WriteActionMask":{"count":32,"self":0,"total":0,"children":null},"RequestDecision":{"count":32,"self":0.0075198999999999995,"total":0.0075198999999999995,"children":null}}},"DecideAction":{"count":17,"self":0.0599388,"total":0.0599388,"children":{"RayPerceptionSensor.Perceive":{"count":64,"self":0,"total":0,"children":null}}},"AgentAct":{"count":17,"self":0.0015076999999999998,"total":0.0015076999999999998,"children":null}},"gauges":{},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1714124476","unity_version":"2022.3.11f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.11f1\\Editor\\Unity.exe -projectpath C:\\Users\\noahk\\Documents\\Unity projects\\Racesm -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-noahk -hubSessionId a6f45e0e-41b6-4c96-a70e-ec8e10ca5aa9 -accessToken LhF-MiZYoHmiI2p1_6JvQZvJ6QUPd4VyLbrTbhNHTT8005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"City racesm","end_time_seconds":"1714124548"}}
|
||||||
1
Assets/ML-Agents/Timers/CityRacetrack_timers.json
Normal file
1
Assets/ML-Agents/Timers/CityRacetrack_timers.json
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{"count":1,"self":92.3586048,"total":93.8270144,"children":{"InitializeActuators":{"count":8,"self":0.0013886999999999999,"total":0.0013886999999999999,"children":null},"InitializeSensors":{"count":8,"self":0.0025284,"total":0.0025284,"children":null},"AgentSendState":{"count":4468,"self":0.23973129999999998,"total":0.2994185,"children":{"CollectObservations":{"count":7152,"self":0.036733499999999995,"total":0.036733499999999995,"children":null},"WriteActionMask":{"count":7152,"self":0.0030748999999999998,"total":0.0030748999999999998,"children":null},"RequestDecision":{"count":7152,"self":0.0198788,"total":0.0198788,"children":null}}},"DecideAction":{"count":4468,"self":0.8916,"total":0.9134002,"children":{"RayPerceptionSensor.Perceive":{"count":14304,"self":0.0218002,"total":0.0218002,"children":null}}},"AgentAct":{"count":4468,"self":0.2516723,"total":0.2516723,"children":null}},"gauges":{"Benson Track2.CumulativeReward":{"count":4,"max":26.9638157,"min":25.1088982,"runningAverage":26.0176334,"value":25.1088982,"weightedAverage":26.0247383}},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1714126990","unity_version":"2022.3.11f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.11f1\\Editor\\Unity.exe -projectpath C:\\Users\\noahk\\Documents\\Unity projects\\Racesm -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-noahk -hubSessionId a6f45e0e-41b6-4c96-a70e-ec8e10ca5aa9 -accessToken LhF-MiZYoHmiI2p1_6JvQZvJ6QUPd4VyLbrTbhNHTT8005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"CityRacetrack","end_time_seconds":"1714127083"}}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 58f7e79a87c79824597746e8c1bfe400
|
guid: 492beb31ec749764381a05e45171cba2
|
||||||
DefaultImporter:
|
TextScriptImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
userData:
|
userData:
|
||||||
assetBundleName:
|
assetBundleName:
|
||||||
@@ -1,5 +1 @@
|
|||||||
<<<<<<< HEAD
|
{"count":1,"self":16.4673248,"total":16.889606399999998,"children":{"InitializeActuators":{"count":8,"self":0.0030069999999999997,"total":0.0030069999999999997,"children":null},"InitializeSensors":{"count":8,"self":0.0010002,"total":0.0010002,"children":null},"AgentSendState":{"count":617,"self":0.038239999999999996,"total":0.056531899999999996,"children":{"CollectObservations":{"count":992,"self":0.0066193,"total":0.0066193,"children":null},"WriteActionMask":{"count":992,"self":0,"total":0,"children":null},"RequestDecision":{"count":992,"self":0.0116726,"total":0.0116726,"children":null}}},"DecideAction":{"count":617,"self":0.31339469999999997,"total":0.3166316,"children":{"RayPerceptionSensor.Perceive":{"count":1984,"self":0.0032369,"total":0.0032369,"children":null}}},"AgentAct":{"count":617,"self":0.044110199999999995,"total":0.044110199999999995,"children":null}},"gauges":{},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1714124585","unity_version":"2022.3.11f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.11f1\\Editor\\Unity.exe -projectpath C:\\Users\\noahk\\Documents\\Unity projects\\Racesm -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-noahk -hubSessionId a6f45e0e-41b6-4c96-a70e-ec8e10ca5aa9 -accessToken LhF-MiZYoHmiI2p1_6JvQZvJ6QUPd4VyLbrTbhNHTT8005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"ForestRacetrack","end_time_seconds":"1714124602"}}
|
||||||
{"count":1,"self":10.4157048,"total":11.1841809,"children":{"InitializeActuators":{"count":8,"self":0.0019944999999999997,"total":0.0019944999999999997,"children":null},"InitializeSensors":{"count":8,"self":0.0019947,"total":0.0019947,"children":null},"AgentSendState":{"count":314,"self":0.0484605,"total":0.0744336,"children":{"CollectObservations":{"count":504,"self":0.00801,"total":0.00801,"children":null},"WriteActionMask":{"count":504,"self":0.00099549999999999986,"total":0.00099549999999999986,"children":null},"RequestDecision":{"count":504,"self":0.0169676,"total":0.0169676,"children":null}}},"DecideAction":{"count":314,"self":0.63277189999999994,"total":0.6397572,"children":{"RayPerceptionSensor.Perceive":{"count":1008,"self":0.0069853,"total":0.0069853,"children":null}}},"AgentAct":{"count":314,"self":0.0472652,"total":0.0472652,"children":null}},"gauges":{},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1714121178","unity_version":"2022.3.11f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.11f1\\Editor\\Unity.exe -projectpath C:\\Users\\Magnus\\Desktop\\Ny unityting\\Racesm -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-Magnus -hubSessionId 8c17471b-7795-4082-905c-75744d6a077b -accessToken hv3zp4IA8nxcowfZc35r5tDHrlmzUZoExTBgESksngo005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"ForestRacetrack","end_time_seconds":"1714121189"}}
|
|
||||||
=======
|
|
||||||
{"count":1,"self":10.229835999999999,"total":10.539707,"children":{"InitializeActuators":{"count":8,"self":0.0015033,"total":0.0015033,"children":null},"InitializeSensors":{"count":8,"self":0.0015321,"total":0.0015321,"children":null},"AgentSendState":{"count":302,"self":0.025935299999999998,"total":0.0560955,"children":{"CollectObservations":{"count":488,"self":0.0060285,"total":0.0060285,"children":null},"WriteActionMask":{"count":488,"self":0,"total":0,"children":null},"RequestDecision":{"count":488,"self":0.0241317,"total":0.0241317,"children":null}}},"DecideAction":{"count":302,"self":0.22161319999999998,"total":0.2252556,"children":{"RayPerceptionSensor.Perceive":{"count":976,"self":0.0036423999999999996,"total":0.0036423999999999996,"children":null}}},"AgentAct":{"count":302,"self":0.0239814,"total":0.0239814,"children":null}},"gauges":{},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1714119859","unity_version":"2022.3.11f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.11f1\\Editor\\Unity.exe -projectpath C:\\Users\\noahk\\Documents\\Unity projects\\Racesm -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-noahk -hubSessionId a6f45e0e-41b6-4c96-a70e-ec8e10ca5aa9 -accessToken LhF-MiZYoHmiI2p1_6JvQZvJ6QUPd4VyLbrTbhNHTT8005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"ForestRacetrack","end_time_seconds":"1714119870"}}
|
|
||||||
>>>>>>> 2296b85dc53301fe32c92b3c43dbf49679df7e9b
|
|
||||||
@@ -1,9 +1 @@
|
|||||||
<<<<<<< HEAD
|
{"count":1,"self":299.9013632,"total":307.61609189999996,"children":{"InitializeActuators":{"count":8,"self":0.0010006,"total":0.0010006,"children":null},"InitializeSensors":{"count":8,"self":0.0015026,"total":0.0015026,"children":null},"AgentSendState":{"count":15142,"self":0.7721819,"total":0.9181054,"children":{"CollectObservations":{"count":21584,"self":0.0768378,"total":0.0768378,"children":null},"WriteActionMask":{"count":21584,"self":0.026219799999999998,"total":0.026219799999999998,"children":null},"RequestDecision":{"count":21584,"self":0.0428659,"total":0.0428659,"children":null}}},"DecideAction":{"count":15142,"self":6.0027792,"total":6.0986367999999995,"children":{"RayPerceptionSensor.Perceive":{"count":43168,"self":0.0958574,"total":0.0958574,"children":null}}},"AgentAct":{"count":15142,"self":0.6944775,"total":0.6944775,"children":null}},"gauges":{"Benson Track2.CumulativeReward":{"count":21,"max":25.388195,"min":17.5381966,"runningAverage":23.97337,"value":24.9569759,"weightedAverage":24.8837566}},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1714125978","unity_version":"2022.3.11f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.11f1\\Editor\\Unity.exe -projectpath C:\\Users\\noahk\\Documents\\Unity projects\\Racesm -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-noahk -hubSessionId a6f45e0e-41b6-4c96-a70e-ec8e10ca5aa9 -accessToken LhF-MiZYoHmiI2p1_6JvQZvJ6QUPd4VyLbrTbhNHTT8005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"WinScreen","end_time_seconds":"1714126286"}}
|
||||||
{"count":1,"self":86.943936,"total":96.840498599999989,"children":{"InitializeActuators":{"count":8,"self":0.0029922,"total":0.0029922,"children":null},"InitializeSensors":{"count":8,"self":0.0029917,"total":0.0029917,"children":null},"AgentSendState":{"count":4582,"self":0.78503249999999991,"total":0.9650871,"children":{"CollectObservations":{"count":6288,"self":0.10648149999999999,"total":0.10648149999999999,"children":null},"WriteActionMask":{"count":6288,"self":0.02222,"total":0.02222,"children":null},"RequestDecision":{"count":6288,"self":0.0513531,"total":0.0513531,"children":null}}},"DecideAction":{"count":4582,"self":8.3173576,"total":8.4548896,"children":{"RayPerceptionSensor.Perceive":{"count":12576,"self":0.1375323,"total":0.1375323,"children":null}}},"AgentAct":{"count":4582,"self":0.46860939999999995,"total":0.46860939999999995,"children":null}},"gauges":{"Benson Track2.CumulativeReward":{"count":7,"max":24.91114,"min":19.7783585,"runningAverage":21.9734344,"value":21.0881538,"weightedAverage":21.94166}},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1714121754","unity_version":"2022.3.11f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.11f1\\Editor\\Unity.exe -projectpath C:\\Users\\Magnus\\Desktop\\Ny unityting\\Racesm -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-Magnus -hubSessionId 8c17471b-7795-4082-905c-75744d6a077b -accessToken hv3zp4IA8nxcowfZc35r5tDHrlmzUZoExTBgESksngo005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"WinScreen","end_time_seconds":"1714121851"}}
|
|
||||||
=======
|
|
||||||
<<<<<<< HEAD
|
|
||||||
{"count":1,"self":495.4255872,"total":498.2974708,"children":{"InitializeActuators":{"count":8,"self":0,"total":0,"children":null},"InitializeSensors":{"count":8,"self":0.0020004,"total":0.0020004,"children":null},"AgentSendState":{"count":4757,"self":0.289884,"total":0.3578125,"children":{"CollectObservations":{"count":7616,"self":0.035282299999999996,"total":0.035282299999999996,"children":null},"WriteActionMask":{"count":7616,"self":0.0061163,"total":0.0061163,"children":null},"RequestDecision":{"count":7616,"self":0.0265299,"total":0.0265299,"children":null}}},"DecideAction":{"count":4757,"self":2.1771583999999997,"total":2.227519,"children":{"RayPerceptionSensor.Perceive":{"count":15232,"self":0.050360699999999994,"total":0.050360699999999994,"children":null}}},"AgentAct":{"count":4757,"self":0.28455169999999996,"total":0.28455169999999996,"children":null}},"gauges":{"Benson Track2.CumulativeReward":{"count":7,"max":25.4703846,"min":20.7829914,"runningAverage":23.9274235,"value":21.1050835,"weightedAverage":23.3504276}},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1714118972","unity_version":"2022.3.11f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.11f1\\Editor\\Unity.exe -projectpath C:\\Users\\noahk\\Documents\\Unity projects\\Racesm -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-noahk -hubSessionId a6f45e0e-41b6-4c96-a70e-ec8e10ca5aa9 -accessToken LhF-MiZYoHmiI2p1_6JvQZvJ6QUPd4VyLbrTbhNHTT8005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"WinScreen","end_time_seconds":"1714119471"}}
|
|
||||||
=======
|
|
||||||
{"count":1,"self":309.1399424,"total":332.36884549999996,"children":{"InitializeActuators":{"count":8,"self":0.0025664999999999998,"total":0.0025664999999999998,"children":null},"InitializeSensors":{"count":8,"self":0.0032746,"total":0.0032746,"children":null},"AgentSendState":{"count":16365,"self":2.330854,"total":2.7563383,"children":{"CollectObservations":{"count":21936,"self":0.2326556,"total":0.2326556,"children":null},"WriteActionMask":{"count":21936,"self":0.0537007,"total":0.0537007,"children":null},"RequestDecision":{"count":21936,"self":0.1391281,"total":0.1391281,"children":null}}},"DecideAction":{"count":16365,"self":18.895307199999998,"total":19.2007151,"children":{"RayPerceptionSensor.Perceive":{"count":43872,"self":0.30540819999999996,"total":0.30540819999999996,"children":null}}},"AgentAct":{"count":16365,"self":1.2650044,"total":1.2650044,"children":null}},"gauges":{"Benson Track2.CumulativeReward":{"count":7,"max":24.6894,"min":10.6325016,"runningAverage":18.0623131,"value":14.3437386,"weightedAverage":17.18949}},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1714118988","unity_version":"2022.3.11f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.11f1\\Editor\\Unity.exe -projectpath C:\\Users\\hassa\\OneDrive\\Skrivebord\\alt pro\\Unity stuff\\Unity ting\\Racesm -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-hassa -hubSessionId f8278c6f-053c-492d-a479-00a9dbf73437 -accessToken 1rPuSgTkgUUOXMaGthhixd2ZEngLQ-H31CETUrEqtzM005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"WinScreen","end_time_seconds":"1714119320"}}
|
|
||||||
>>>>>>> f4d4e76f8b5ccb20237103e437b5acd47d7b3c40
|
|
||||||
>>>>>>> 2296b85dc53301fe32c92b3c43dbf49679df7e9b
|
|
||||||
@@ -4612,7 +4612,7 @@ AudioSource:
|
|||||||
OutputAudioMixerGroup: {fileID: 0}
|
OutputAudioMixerGroup: {fileID: 0}
|
||||||
m_audioClip: {fileID: 8300000, guid: 10cae2fd52e1c0f4eba2e2091d441cd1, type: 3}
|
m_audioClip: {fileID: 8300000, guid: 10cae2fd52e1c0f4eba2e2091d441cd1, type: 3}
|
||||||
m_PlayOnAwake: 1
|
m_PlayOnAwake: 1
|
||||||
m_Volume: 1
|
m_Volume: 0.7
|
||||||
m_Pitch: 1
|
m_Pitch: 1
|
||||||
Loop: 1
|
Loop: 1
|
||||||
Mute: 0
|
Mute: 0
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -950,6 +950,9 @@ PrefabInstance:
|
|||||||
- targetCorrespondingSourceObject: {fileID: 5442577508303945574, guid: 4d2790a368af4c4458fc4dc8130f8b19, type: 3}
|
- targetCorrespondingSourceObject: {fileID: 5442577508303945574, guid: 4d2790a368af4c4458fc4dc8130f8b19, type: 3}
|
||||||
insertIndex: -1
|
insertIndex: -1
|
||||||
addedObject: {fileID: 454865286}
|
addedObject: {fileID: 454865286}
|
||||||
|
- targetCorrespondingSourceObject: {fileID: 5442577508303945574, guid: 4d2790a368af4c4458fc4dc8130f8b19, type: 3}
|
||||||
|
insertIndex: -1
|
||||||
|
addedObject: {fileID: 454865287}
|
||||||
m_SourcePrefab: {fileID: 100100000, guid: 4d2790a368af4c4458fc4dc8130f8b19, type: 3}
|
m_SourcePrefab: {fileID: 100100000, guid: 4d2790a368af4c4458fc4dc8130f8b19, type: 3}
|
||||||
--- !u!1 &454865285 stripped
|
--- !u!1 &454865285 stripped
|
||||||
GameObject:
|
GameObject:
|
||||||
@@ -964,6 +967,102 @@ AudioListener:
|
|||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 454865285}
|
m_GameObject: {fileID: 454865285}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
|
--- !u!82 &454865287
|
||||||
|
AudioSource:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 454865285}
|
||||||
|
m_Enabled: 1
|
||||||
|
serializedVersion: 4
|
||||||
|
OutputAudioMixerGroup: {fileID: 0}
|
||||||
|
m_audioClip: {fileID: 8300000, guid: 0ec4461d6a3762242bd78865e611d97a, type: 3}
|
||||||
|
m_PlayOnAwake: 1
|
||||||
|
m_Volume: 1
|
||||||
|
m_Pitch: 1
|
||||||
|
Loop: 1
|
||||||
|
Mute: 0
|
||||||
|
Spatialize: 0
|
||||||
|
SpatializePostEffects: 0
|
||||||
|
Priority: 128
|
||||||
|
DopplerLevel: 1
|
||||||
|
MinDistance: 1
|
||||||
|
MaxDistance: 500
|
||||||
|
Pan2D: 0
|
||||||
|
rolloffMode: 0
|
||||||
|
BypassEffects: 0
|
||||||
|
BypassListenerEffects: 0
|
||||||
|
BypassReverbZones: 0
|
||||||
|
rolloffCustomCurve:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Curve:
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0
|
||||||
|
value: 1
|
||||||
|
inSlope: 0
|
||||||
|
outSlope: 0
|
||||||
|
tangentMode: 0
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0.33333334
|
||||||
|
outWeight: 0.33333334
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 1
|
||||||
|
value: 0
|
||||||
|
inSlope: 0
|
||||||
|
outSlope: 0
|
||||||
|
tangentMode: 0
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0.33333334
|
||||||
|
outWeight: 0.33333334
|
||||||
|
m_PreInfinity: 2
|
||||||
|
m_PostInfinity: 2
|
||||||
|
m_RotationOrder: 4
|
||||||
|
panLevelCustomCurve:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Curve:
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0
|
||||||
|
value: 0
|
||||||
|
inSlope: 0
|
||||||
|
outSlope: 0
|
||||||
|
tangentMode: 0
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0.33333334
|
||||||
|
outWeight: 0.33333334
|
||||||
|
m_PreInfinity: 2
|
||||||
|
m_PostInfinity: 2
|
||||||
|
m_RotationOrder: 4
|
||||||
|
spreadCustomCurve:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Curve:
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0
|
||||||
|
value: 0
|
||||||
|
inSlope: 0
|
||||||
|
outSlope: 0
|
||||||
|
tangentMode: 0
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0.33333334
|
||||||
|
outWeight: 0.33333334
|
||||||
|
m_PreInfinity: 2
|
||||||
|
m_PostInfinity: 2
|
||||||
|
m_RotationOrder: 4
|
||||||
|
reverbZoneMixCustomCurve:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Curve:
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0
|
||||||
|
value: 1
|
||||||
|
inSlope: 0
|
||||||
|
outSlope: 0
|
||||||
|
tangentMode: 0
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0.33333334
|
||||||
|
outWeight: 0.33333334
|
||||||
|
m_PreInfinity: 2
|
||||||
|
m_PostInfinity: 2
|
||||||
|
m_RotationOrder: 4
|
||||||
--- !u!1001 &464917649
|
--- !u!1001 &464917649
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -3092,7 +3191,7 @@ PrefabInstance:
|
|||||||
- target: {fileID: 1123712215127460916, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
|
- target: {fileID: 1123712215127460916, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
|
||||||
propertyPath: m_Model
|
propertyPath: m_Model
|
||||||
value:
|
value:
|
||||||
objectReference: {fileID: 5022602860645237092, guid: 0a7181c8b969e1346b8a4323695aea4d, type: 3}
|
objectReference: {fileID: 5022602860645237092, guid: 88f4c7b886ce6da40a6b4208019aa5b9, type: 3}
|
||||||
- target: {fileID: 1738365250199652202, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
|
- target: {fileID: 1738365250199652202, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
|
||||||
propertyPath: isPlaying
|
propertyPath: isPlaying
|
||||||
value: 1
|
value: 1
|
||||||
@@ -3324,7 +3423,7 @@ PrefabInstance:
|
|||||||
- target: {fileID: 3382312427533002403, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
|
- target: {fileID: 3382312427533002403, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
|
||||||
propertyPath: m_Model
|
propertyPath: m_Model
|
||||||
value:
|
value:
|
||||||
objectReference: {fileID: 5022602860645237092, guid: 0a7181c8b969e1346b8a4323695aea4d, type: 3}
|
objectReference: {fileID: 5022602860645237092, guid: 88f4c7b886ce6da40a6b4208019aa5b9, type: 3}
|
||||||
- target: {fileID: 3510852165663727938, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
|
- target: {fileID: 3510852165663727938, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
|
||||||
propertyPath: m_Model
|
propertyPath: m_Model
|
||||||
value:
|
value:
|
||||||
@@ -5347,6 +5446,10 @@ PrefabInstance:
|
|||||||
serializedVersion: 3
|
serializedVersion: 3
|
||||||
m_TransformParent: {fileID: 0}
|
m_TransformParent: {fileID: 0}
|
||||||
m_Modifications:
|
m_Modifications:
|
||||||
|
- target: {fileID: 1546992020157654961, guid: bb42b7aaa687b2f4d811c8cc5d2d259f, type: 3}
|
||||||
|
propertyPath: isVisible
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 1828470746108631247, guid: bb42b7aaa687b2f4d811c8cc5d2d259f, type: 3}
|
- target: {fileID: 1828470746108631247, guid: bb42b7aaa687b2f4d811c8cc5d2d259f, type: 3}
|
||||||
propertyPath: m_LocalPosition.x
|
propertyPath: m_LocalPosition.x
|
||||||
value: 0
|
value: 0
|
||||||
@@ -5387,10 +5490,66 @@ PrefabInstance:
|
|||||||
propertyPath: m_LocalEulerAnglesHint.z
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
value: 0
|
value: 0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1853448600777947725, guid: bb42b7aaa687b2f4d811c8cc5d2d259f, type: 3}
|
||||||
|
propertyPath: isVisible
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 2255057151155698497, guid: bb42b7aaa687b2f4d811c8cc5d2d259f, type: 3}
|
||||||
|
propertyPath: isVisible
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 2591529628987485416, guid: bb42b7aaa687b2f4d811c8cc5d2d259f, type: 3}
|
||||||
|
propertyPath: isVisible
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 2658771290197328040, guid: bb42b7aaa687b2f4d811c8cc5d2d259f, type: 3}
|
||||||
|
propertyPath: isVisible
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3048634400342871935, guid: bb42b7aaa687b2f4d811c8cc5d2d259f, type: 3}
|
||||||
|
propertyPath: isVisible
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3300423061332350819, guid: bb42b7aaa687b2f4d811c8cc5d2d259f, type: 3}
|
||||||
|
propertyPath: isVisible
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5380162463718886690, guid: bb42b7aaa687b2f4d811c8cc5d2d259f, type: 3}
|
||||||
|
propertyPath: isVisible
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5616412586995243976, guid: bb42b7aaa687b2f4d811c8cc5d2d259f, type: 3}
|
||||||
|
propertyPath: isVisible
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6344927979691199544, guid: bb42b7aaa687b2f4d811c8cc5d2d259f, type: 3}
|
||||||
|
propertyPath: isVisible
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7034186537795439529, guid: bb42b7aaa687b2f4d811c8cc5d2d259f, type: 3}
|
||||||
|
propertyPath: isVisible
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8332697132827525405, guid: bb42b7aaa687b2f4d811c8cc5d2d259f, type: 3}
|
||||||
|
propertyPath: isVisible
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8638417887361332676, guid: bb42b7aaa687b2f4d811c8cc5d2d259f, type: 3}
|
||||||
|
propertyPath: isVisible
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8723010894896747241, guid: bb42b7aaa687b2f4d811c8cc5d2d259f, type: 3}
|
||||||
|
propertyPath: isVisible
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 8777121825423982250, guid: bb42b7aaa687b2f4d811c8cc5d2d259f, type: 3}
|
- target: {fileID: 8777121825423982250, guid: bb42b7aaa687b2f4d811c8cc5d2d259f, type: 3}
|
||||||
propertyPath: m_Name
|
propertyPath: m_Name
|
||||||
value: racetrack2
|
value: racetrack2
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8836240323335900378, guid: bb42b7aaa687b2f4d811c8cc5d2d259f, type: 3}
|
||||||
|
propertyPath: isVisible
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
m_RemovedComponents: []
|
m_RemovedComponents: []
|
||||||
m_RemovedGameObjects: []
|
m_RemovedGameObjects: []
|
||||||
m_AddedGameObjects: []
|
m_AddedGameObjects: []
|
||||||
@@ -5574,7 +5733,7 @@ PrefabInstance:
|
|||||||
objectReference: {fileID: 1373860105}
|
objectReference: {fileID: 1373860105}
|
||||||
- target: {fileID: 5365138393421743302, guid: dc3e6243ce610df4c845a9fa5df754a7, type: 3}
|
- target: {fileID: 5365138393421743302, guid: dc3e6243ce610df4c845a9fa5df754a7, type: 3}
|
||||||
propertyPath: lapAmount
|
propertyPath: lapAmount
|
||||||
value: 1
|
value: 3
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 5365138393421743302, guid: dc3e6243ce610df4c845a9fa5df754a7, type: 3}
|
- target: {fileID: 5365138393421743302, guid: dc3e6243ce610df4c845a9fa5df754a7, type: 3}
|
||||||
propertyPath: players.Array.size
|
propertyPath: players.Array.size
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ RenderSettings:
|
|||||||
m_ReflectionIntensity: 1
|
m_ReflectionIntensity: 1
|
||||||
m_CustomReflection: {fileID: 0}
|
m_CustomReflection: {fileID: 0}
|
||||||
m_Sun: {fileID: 0}
|
m_Sun: {fileID: 0}
|
||||||
m_IndirectSpecularColor: {r: 0.44657826, g: 0.49641263, b: 0.57481676, a: 1}
|
m_IndirectSpecularColor: {r: 0.44657898, g: 0.4964133, b: 0.5748178, a: 1}
|
||||||
m_UseRadianceAmbientProbe: 0
|
m_UseRadianceAmbientProbe: 0
|
||||||
--- !u!157 &3
|
--- !u!157 &3
|
||||||
LightmapSettings:
|
LightmapSettings:
|
||||||
@@ -835,6 +835,7 @@ MonoBehaviour:
|
|||||||
- 2442
|
- 2442
|
||||||
- DNF
|
- DNF
|
||||||
- DNF
|
- DNF
|
||||||
|
winner: {fileID: 0}
|
||||||
--- !u!1001 &850453472
|
--- !u!1001 &850453472
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -949,6 +950,7 @@ GameObject:
|
|||||||
- component: {fileID: 869443464}
|
- component: {fileID: 869443464}
|
||||||
- component: {fileID: 869443463}
|
- component: {fileID: 869443463}
|
||||||
- component: {fileID: 869443462}
|
- component: {fileID: 869443462}
|
||||||
|
- component: {fileID: 869443465}
|
||||||
m_Layer: 0
|
m_Layer: 0
|
||||||
m_Name: Main Camera
|
m_Name: Main Camera
|
||||||
m_TagString: MainCamera
|
m_TagString: MainCamera
|
||||||
@@ -1030,6 +1032,102 @@ Transform:
|
|||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
--- !u!82 &869443465
|
||||||
|
AudioSource:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 869443461}
|
||||||
|
m_Enabled: 1
|
||||||
|
serializedVersion: 4
|
||||||
|
OutputAudioMixerGroup: {fileID: 0}
|
||||||
|
m_audioClip: {fileID: 8300000, guid: 10cae2fd52e1c0f4eba2e2091d441cd1, type: 3}
|
||||||
|
m_PlayOnAwake: 1
|
||||||
|
m_Volume: 1
|
||||||
|
m_Pitch: 1
|
||||||
|
Loop: 1
|
||||||
|
Mute: 0
|
||||||
|
Spatialize: 0
|
||||||
|
SpatializePostEffects: 0
|
||||||
|
Priority: 128
|
||||||
|
DopplerLevel: 1
|
||||||
|
MinDistance: 1
|
||||||
|
MaxDistance: 500
|
||||||
|
Pan2D: 0
|
||||||
|
rolloffMode: 0
|
||||||
|
BypassEffects: 0
|
||||||
|
BypassListenerEffects: 0
|
||||||
|
BypassReverbZones: 0
|
||||||
|
rolloffCustomCurve:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Curve:
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0
|
||||||
|
value: 1
|
||||||
|
inSlope: 0
|
||||||
|
outSlope: 0
|
||||||
|
tangentMode: 0
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0.33333334
|
||||||
|
outWeight: 0.33333334
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 1
|
||||||
|
value: 0
|
||||||
|
inSlope: 0
|
||||||
|
outSlope: 0
|
||||||
|
tangentMode: 0
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0.33333334
|
||||||
|
outWeight: 0.33333334
|
||||||
|
m_PreInfinity: 2
|
||||||
|
m_PostInfinity: 2
|
||||||
|
m_RotationOrder: 4
|
||||||
|
panLevelCustomCurve:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Curve:
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0
|
||||||
|
value: 0
|
||||||
|
inSlope: 0
|
||||||
|
outSlope: 0
|
||||||
|
tangentMode: 0
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0.33333334
|
||||||
|
outWeight: 0.33333334
|
||||||
|
m_PreInfinity: 2
|
||||||
|
m_PostInfinity: 2
|
||||||
|
m_RotationOrder: 4
|
||||||
|
spreadCustomCurve:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Curve:
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0
|
||||||
|
value: 0
|
||||||
|
inSlope: 0
|
||||||
|
outSlope: 0
|
||||||
|
tangentMode: 0
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0.33333334
|
||||||
|
outWeight: 0.33333334
|
||||||
|
m_PreInfinity: 2
|
||||||
|
m_PostInfinity: 2
|
||||||
|
m_RotationOrder: 4
|
||||||
|
reverbZoneMixCustomCurve:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Curve:
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0
|
||||||
|
value: 1
|
||||||
|
inSlope: 0
|
||||||
|
outSlope: 0
|
||||||
|
tangentMode: 0
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0.33333334
|
||||||
|
outWeight: 0.33333334
|
||||||
|
m_PreInfinity: 2
|
||||||
|
m_PostInfinity: 2
|
||||||
|
m_RotationOrder: 4
|
||||||
--- !u!1001 &874635445
|
--- !u!1001 &874635445
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|||||||
@@ -36,8 +36,17 @@ public class GameManager : MonoBehaviour
|
|||||||
{
|
{
|
||||||
GameObject player = players[i];
|
GameObject player = players[i];
|
||||||
|
|
||||||
if (playersFinished.Contains(player.name) || playersFinished.Contains(player.name + " (player)"))
|
try
|
||||||
continue;
|
{
|
||||||
|
if (playersFinished.Contains(player.name) || playersFinished.Contains(player.name + " (player)"))
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
bool isAI = true;
|
bool isAI = true;
|
||||||
if (player.GetComponent<PlayerController>().enabled)
|
if (player.GetComponent<PlayerController>().enabled)
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
public class PlayerController : MonoBehaviour
|
public class PlayerController : MonoBehaviour
|
||||||
@@ -125,10 +126,21 @@ public class PlayerController : MonoBehaviour
|
|||||||
private void Update() {
|
private void Update() {
|
||||||
Transform currentCheckpoint = checkpoints[checkpointsCollected].transform;
|
Transform currentCheckpoint = checkpoints[checkpointsCollected].transform;
|
||||||
float checkpintDistance = distanceToCheckpoint(currentCheckpoint);
|
float checkpintDistance = distanceToCheckpoint(currentCheckpoint);
|
||||||
|
|
||||||
|
|
||||||
if (checkpintDistance < 0.1f)
|
if (checkpintDistance < 0.1f)
|
||||||
{
|
{
|
||||||
checkpointsCollected += 1;
|
checkpointsCollected += 1;
|
||||||
|
currentCheckpoint.GetComponent<Checkpoint>().isVisible = false;
|
||||||
|
|
||||||
|
Transform nextCheckpoint;
|
||||||
|
|
||||||
|
if (checkpointsCollected <= checkpoints.Count() - 1)
|
||||||
|
nextCheckpoint = checkpoints[checkpointsCollected].transform;
|
||||||
|
else
|
||||||
|
nextCheckpoint = checkpoints[0].transform;
|
||||||
|
|
||||||
|
nextCheckpoint.GetComponent<Checkpoint>().isVisible = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
BIN
Assets/Sounds/Cipher2.mp3
Normal file
BIN
Assets/Sounds/Cipher2.mp3
Normal file
Binary file not shown.
23
Assets/Sounds/Cipher2.mp3.meta
Normal file
23
Assets/Sounds/Cipher2.mp3.meta
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 0ec4461d6a3762242bd78865e611d97a
|
||||||
|
AudioImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 7
|
||||||
|
defaultSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
loadType: 0
|
||||||
|
sampleRateSetting: 0
|
||||||
|
sampleRateOverride: 44100
|
||||||
|
compressionFormat: 1
|
||||||
|
quality: 1
|
||||||
|
conversionMode: 0
|
||||||
|
preloadAudioData: 0
|
||||||
|
platformSettingOverrides: {}
|
||||||
|
forceToMono: 0
|
||||||
|
normalize: 1
|
||||||
|
loadInBackground: 0
|
||||||
|
ambisonic: 0
|
||||||
|
3D: 1
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
BIN
Assets/Sounds/Local Forecast.mp3
Normal file
BIN
Assets/Sounds/Local Forecast.mp3
Normal file
Binary file not shown.
23
Assets/Sounds/Local Forecast.mp3.meta
Normal file
23
Assets/Sounds/Local Forecast.mp3.meta
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 2bfef0b8adddc1d4ba188c9f05311534
|
||||||
|
AudioImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 7
|
||||||
|
defaultSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
loadType: 0
|
||||||
|
sampleRateSetting: 0
|
||||||
|
sampleRateOverride: 44100
|
||||||
|
compressionFormat: 1
|
||||||
|
quality: 1
|
||||||
|
conversionMode: 0
|
||||||
|
preloadAudioData: 0
|
||||||
|
platformSettingOverrides: {}
|
||||||
|
forceToMono: 0
|
||||||
|
normalize: 1
|
||||||
|
loadInBackground: 0
|
||||||
|
ambisonic: 0
|
||||||
|
3D: 1
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
Reference in New Issue
Block a user