Merge branch 'master' of git@ooftooft.net:Racesm.git

This commit is contained in:
magn9775
2024-04-26 12:33:49 +02:00
3 changed files with 17 additions and 17 deletions

View File

@@ -19157,7 +19157,7 @@ PrefabInstance:
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 714326685143289106, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3} - target: {fileID: 714326685143289106, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
propertyPath: maxStepsPerCheckpoint propertyPath: maxStepsPerCheckpoint
value: 2000 value: 1000
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 714326685143289106, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3} - target: {fileID: 714326685143289106, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
propertyPath: checkpoints.Array.size propertyPath: checkpoints.Array.size
@@ -19269,7 +19269,7 @@ PrefabInstance:
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 1738365250199652202, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3} - target: {fileID: 1738365250199652202, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
propertyPath: maxStepsPerCheckpoint propertyPath: maxStepsPerCheckpoint
value: 2000 value: 1000
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 1738365250199652202, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3} - target: {fileID: 1738365250199652202, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
propertyPath: checkpoints.Array.size propertyPath: checkpoints.Array.size
@@ -19473,7 +19473,7 @@ PrefabInstance:
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 3317544572197634774, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3} - target: {fileID: 3317544572197634774, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
propertyPath: maxStepsPerCheckpoint propertyPath: maxStepsPerCheckpoint
value: 2000 value: 1000
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 3317544572197634774, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3} - target: {fileID: 3317544572197634774, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
propertyPath: checkpoints.Array.size propertyPath: checkpoints.Array.size
@@ -19645,7 +19645,7 @@ PrefabInstance:
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 3804978923256916348, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3} - target: {fileID: 3804978923256916348, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
propertyPath: maxStepsPerCheckpoint propertyPath: maxStepsPerCheckpoint
value: 2000 value: 1000
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 3804978923256916348, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3} - target: {fileID: 3804978923256916348, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
propertyPath: checkpoints.Array.size propertyPath: checkpoints.Array.size
@@ -19737,7 +19737,7 @@ PrefabInstance:
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 4525420008190256607, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3} - target: {fileID: 4525420008190256607, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
propertyPath: maxStepsPerCheckpoint propertyPath: maxStepsPerCheckpoint
value: 2000 value: 1000
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 4525420008190256607, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3} - target: {fileID: 4525420008190256607, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
propertyPath: checkpoints.Array.size propertyPath: checkpoints.Array.size
@@ -20017,7 +20017,7 @@ PrefabInstance:
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 5733087808321881938, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3} - target: {fileID: 5733087808321881938, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
propertyPath: maxStepsPerCheckpoint propertyPath: maxStepsPerCheckpoint
value: 2000 value: 1000
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 5733087808321881938, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3} - target: {fileID: 5733087808321881938, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
propertyPath: checkpoints.Array.size propertyPath: checkpoints.Array.size
@@ -20509,7 +20509,7 @@ PrefabInstance:
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 8903063341209168209, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3} - target: {fileID: 8903063341209168209, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
propertyPath: maxStepsPerCheckpoint propertyPath: maxStepsPerCheckpoint
value: 2000 value: 1000
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 8903063341209168209, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3} - target: {fileID: 8903063341209168209, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
propertyPath: checkpoints.Array.size propertyPath: checkpoints.Array.size
@@ -20617,7 +20617,7 @@ PrefabInstance:
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 9215282754755187610, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3} - target: {fileID: 9215282754755187610, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
propertyPath: maxStepsPerCheckpoint propertyPath: maxStepsPerCheckpoint
value: 2000 value: 1000
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 9215282754755187610, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3} - target: {fileID: 9215282754755187610, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
propertyPath: checkpoints.Array.size propertyPath: checkpoints.Array.size

View File

@@ -3118,7 +3118,7 @@ PrefabInstance:
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 714326685143289106, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3} - target: {fileID: 714326685143289106, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
propertyPath: maxStepsPerCheckpoint propertyPath: maxStepsPerCheckpoint
value: 2000 value: 1000
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 714326685143289106, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3} - target: {fileID: 714326685143289106, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
propertyPath: checkpoints.Array.data[0] propertyPath: checkpoints.Array.data[0]
@@ -3198,7 +3198,7 @@ PrefabInstance:
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 1738365250199652202, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3} - target: {fileID: 1738365250199652202, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
propertyPath: maxStepsPerCheckpoint propertyPath: maxStepsPerCheckpoint
value: 2000 value: 1000
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 1738365250199652202, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3} - target: {fileID: 1738365250199652202, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
propertyPath: checkpoints.Array.data[0] propertyPath: checkpoints.Array.data[0]
@@ -3350,7 +3350,7 @@ PrefabInstance:
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 3317544572197634774, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3} - target: {fileID: 3317544572197634774, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
propertyPath: maxStepsPerCheckpoint propertyPath: maxStepsPerCheckpoint
value: 2000 value: 1000
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 3317544572197634774, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3} - target: {fileID: 3317544572197634774, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
propertyPath: checkpoints.Array.data[0] propertyPath: checkpoints.Array.data[0]
@@ -3502,7 +3502,7 @@ PrefabInstance:
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 3804978923256916348, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3} - target: {fileID: 3804978923256916348, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
propertyPath: maxStepsPerCheckpoint propertyPath: maxStepsPerCheckpoint
value: 2000 value: 1000
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 3804978923256916348, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3} - target: {fileID: 3804978923256916348, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
propertyPath: checkpoints.Array.data[0] propertyPath: checkpoints.Array.data[0]
@@ -3578,7 +3578,7 @@ PrefabInstance:
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 4525420008190256607, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3} - target: {fileID: 4525420008190256607, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
propertyPath: maxStepsPerCheckpoint propertyPath: maxStepsPerCheckpoint
value: 2000 value: 1000
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 4525420008190256607, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3} - target: {fileID: 4525420008190256607, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
propertyPath: checkpoints.Array.data[0] propertyPath: checkpoints.Array.data[0]
@@ -3798,7 +3798,7 @@ PrefabInstance:
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 5733087808321881938, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3} - target: {fileID: 5733087808321881938, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
propertyPath: maxStepsPerCheckpoint propertyPath: maxStepsPerCheckpoint
value: 2000 value: 1000
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 5733087808321881938, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3} - target: {fileID: 5733087808321881938, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
propertyPath: checkpoints.Array.data[0] propertyPath: checkpoints.Array.data[0]
@@ -4194,7 +4194,7 @@ PrefabInstance:
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 8903063341209168209, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3} - target: {fileID: 8903063341209168209, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
propertyPath: maxStepsPerCheckpoint propertyPath: maxStepsPerCheckpoint
value: 2000 value: 1000
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 8903063341209168209, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3} - target: {fileID: 8903063341209168209, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
propertyPath: checkpoints.Array.data[0] propertyPath: checkpoints.Array.data[0]
@@ -4270,7 +4270,7 @@ PrefabInstance:
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 9215282754755187610, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3} - target: {fileID: 9215282754755187610, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
propertyPath: maxStepsPerCheckpoint propertyPath: maxStepsPerCheckpoint
value: 2000 value: 1000
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 9215282754755187610, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3} - target: {fileID: 9215282754755187610, guid: 7a3d78e18ac1cd7458d86f15c7aedc7a, type: 3}
propertyPath: checkpoints.Array.data[0] propertyPath: checkpoints.Array.data[0]

View File

@@ -128,7 +128,7 @@ public class PlayerController : MonoBehaviour
float checkpintDistance = distanceToCheckpoint(currentCheckpoint); float checkpintDistance = distanceToCheckpoint(currentCheckpoint);
if (checkpintDistance < 0.1f) if (checkpintDistance < 0.2f)
{ {
checkpointsCollected += 1; checkpointsCollected += 1;
currentCheckpoint.GetComponent<Checkpoint>().isVisible = false; currentCheckpoint.GetComponent<Checkpoint>().isVisible = false;