Commit 2dbc2bcb authored by Sylvain Renault's avatar Sylvain Renault
Browse files

Short update for the HHI use case.

parent 50fcfa23
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -3137,7 +3137,7 @@ BoxCollider:
  m_LayerOverridePriority: 0
  m_IsTrigger: 0
  m_ProvidesContacts: 0
  m_Enabled: 1
  m_Enabled: 0
  serializedVersion: 3
  m_Size: {x: 1, y: 1, z: 1}
  m_Center: {x: 0, y: 0, z: 0}
@@ -7508,7 +7508,7 @@ Transform:
  m_GameObject: {fileID: 578729963}
  serializedVersion: 2
  m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
  m_LocalPosition: {x: -4.22, y: 0, z: -3.43}
  m_LocalPosition: {x: -4.22, y: 0, z: -3.26}
  m_LocalScale: {x: 1, y: 1, z: 1}
  m_ConstrainProportionsScale: 1
  m_Children: []
@@ -13237,7 +13237,7 @@ PrefabInstance:
      objectReference: {fileID: 0}
    - target: {fileID: 4960913308518330449, guid: 963b966102b143644ae6021e9ea1d4d4, type: 3}
      propertyPath: m_LocalPosition.x
      value: 4.124
      value: 3.74
      objectReference: {fileID: 0}
    - target: {fileID: 4960913308518330449, guid: 963b966102b143644ae6021e9ea1d4d4, type: 3}
      propertyPath: m_LocalPosition.y
@@ -13245,7 +13245,7 @@ PrefabInstance:
      objectReference: {fileID: 0}
    - target: {fileID: 4960913308518330449, guid: 963b966102b143644ae6021e9ea1d4d4, type: 3}
      propertyPath: m_LocalPosition.z
      value: 3.56
      value: 3.18
      objectReference: {fileID: 0}
    - target: {fileID: 4960913308518330449, guid: 963b966102b143644ae6021e9ea1d4d4, type: 3}
      propertyPath: m_LocalRotation.w
@@ -18823,7 +18823,7 @@ Transform:
  m_GameObject: {fileID: 1483690224}
  serializedVersion: 2
  m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
  m_LocalPosition: {x: -28.49, y: 0, z: 5.1}
  m_LocalPosition: {x: -28.3, y: 0, z: 4.79}
  m_LocalScale: {x: 0.9, y: 0.9, z: 0.9}
  m_ConstrainProportionsScale: 1
  m_Children:
@@ -19783,7 +19783,7 @@ Transform:
  m_GameObject: {fileID: 1567633173}
  serializedVersion: 2
  m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
  m_LocalPosition: {x: -24.96, y: 0, z: 7.73}
  m_LocalPosition: {x: -24.96, y: 0, z: 7.3}
  m_LocalScale: {x: 1, y: 1, z: 1}
  m_ConstrainProportionsScale: 1
  m_Children:
@@ -21779,7 +21779,7 @@ PrefabInstance:
      objectReference: {fileID: 0}
    - target: {fileID: 5799561996261335259, guid: b69957b197a55024f8014f6751c0a7a9, type: 3}
      propertyPath: m_LocalPosition.z
      value: -1.21
      value: -1.53
      objectReference: {fileID: 0}
    - target: {fileID: 5799561996261335259, guid: b69957b197a55024f8014f6751c0a7a9, type: 3}
      propertyPath: m_LocalRotation.w
+3 −3
Original line number Diff line number Diff line
@@ -46,18 +46,18 @@ public class NavigationSimulation : MonoBehaviour
        // Check if the collided object is the current checkpoint
        string n = checkpoints[currentCheckpointIndex].name;

        int id = int.Parse(collision.gameObject.name.Split(' ')[2]);
        int id_content = int.Parse(checkpoints[currentCheckpointIndex].name.Split(' ')[1]);
        int id = int.Parse(collision.gameObject.name.Split(' ')[2]);

        if (id == id_content)
        {
            // Deactivate the current checkpoint
            if (currentCheckpointIndex != 0) DeactivateCheckpoint(currentCheckpointIndex);
            if (currentCheckpointIndex > 0) DeactivateCheckpoint(currentCheckpointIndex);

            // Check if there are more checkpoints
            if (currentCheckpointIndex < checkpoints.Length)
            {
                if (currentCheckpointIndex < checkpoints.Length - 1) currentCheckpointIndex++;
                currentCheckpointIndex++;

                // Activate the next checkpoint
                checkpointText.text = "Checkpoint " + currentCheckpointIndex;
+17 −0
Original line number Diff line number Diff line
@@ -83,3 +83,20 @@
                    -keep class com.google.android.gms.tasks.** { *; }

### Module Progurad Rules ends ###

### Module Progurad Rules starts ###

## Default ##
-keep class com.unity3d.plugin.* { *; }

## LocationModule ##
-keep class com.google.android.gms.common.** { *; }
                    -keep class com.google.android.gms.location.** { *; }
                    -keep class com.google.android.gms.tasks.** { *; }

## AuthenticationModule ##
-keep class com.google.android.gms.common.** { *; }
                    -keep class com.google.android.gms.auth.** { *; }
                    -keep class com.google.android.gms.tasks.** { *; }

### Module Progurad Rules ends ###