From 48b7960bc5fa29fee92d6512796cdbaab4fb68f8 Mon Sep 17 00:00:00 2001 From: cbrown Date: Wed, 24 Apr 2024 15:53:30 -0400 Subject: [PATCH] Added Listener to disable floor collider when ball gets in hole --- .../AR Content Main Room 1.prefab | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/Assets/CoursePrefabs/AR Content Main Room 1.prefab b/Assets/CoursePrefabs/AR Content Main Room 1.prefab index 65dcc8f2..23944ab0 100644 --- a/Assets/CoursePrefabs/AR Content Main Room 1.prefab +++ b/Assets/CoursePrefabs/AR Content Main Room 1.prefab @@ -421,6 +421,7 @@ GameObject: m_Component: - component: {fileID: 3326712357909623868} - component: {fileID: 83835649525950447} + - component: {fileID: 6826214944107328812} m_Layer: 6 m_Name: Floor m_TagString: Untagged @@ -464,6 +465,44 @@ BoxCollider: serializedVersion: 3 m_Size: {x: 9.516679, y: 7.8316584, z: 0.34393713} m_Center: {x: -0.23675013, y: -0.63225657, z: -0.16532663} +--- !u!114 &6826214944107328812 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2341108321183187393} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 9a6ab7cbc45164d19b20476265c251c2, type: 3} + m_Name: + m_EditorClassIdentifier: + _developerDescription: + _unityEventResponse: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 83835649525950447} + m_TargetAssemblyTypeName: UnityEngine.Collider, UnityEngine + m_MethodName: set_enabled + m_Mode: 0 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 0 + m_CallState: 2 + _actionResponses: [] + _conditions: [] + _operator: 0 + _replayEventBufferOnRegister: 1 + _eventReference: + _usage: 2 + _event: {fileID: 0} + _eventInstancer: {fileID: 0} + _variable: {fileID: 11400000, guid: c06694055e7ae4003afe2a672d2eefb0, type: 2} + _variableInstancer: {fileID: 0} --- !u!1 &2485615166349740287 GameObject: m_ObjectHideFlags: 0