1
0
mirror of https://projects.caleb-brown.dev/UDRI-XRT/UDRIGEEKCup2024.git synced 2025-01-22 07:08:51 -05:00

Added SetBall event to trigger on green checkmark when placing the course

This commit is contained in:
cbrown 2024-04-22 13:57:01 -04:00
parent d1d5c2345e
commit e443a961ff
4 changed files with 82 additions and 0 deletions

View File

@ -0,0 +1,16 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 04d35e2eb934747da9d77a3af62bb8ca, type: 3}
m_Name: SetBall
m_EditorClassIdentifier:
_developerDescription:
_replayBufferSize: 1

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: e7c6de7a1586c4e2f9081cc03f4c0996
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1735,6 +1735,18 @@ MonoBehaviour:
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
- m_Target: {fileID: 11400000, guid: e7c6de7a1586c4e2f9081cc03f4c0996, type: 2}
m_TargetAssemblyTypeName: UnityAtoms.BaseAtoms.VoidEvent, UnityAtoms.UnityAtomsBaseAtoms.Runtime
m_MethodName: Raise
m_Mode: 1
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
--- !u!1 &5985052948691176920
GameObject:
m_ObjectHideFlags: 0

View File

@ -10,6 +10,7 @@ GameObject:
m_Component:
- component: {fileID: 1575695703629199926}
- component: {fileID: 3021524037178137395}
- component: {fileID: 6450479807104417487}
m_Layer: 0
m_Name: GamePlay
m_TagString: Untagged
@ -49,6 +50,46 @@ MonoBehaviour:
m_EditorClassIdentifier:
ball: {fileID: 8357584060222999024}
scoreVariable: {fileID: 11400000, guid: b17566f4d19813249a993793ac86d94c, type: 2}
--- !u!114 &6450479807104417487
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1732258587319875579}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d2458933140c54c9db0aec7a69c1b617, type: 3}
m_Name:
m_EditorClassIdentifier:
_developerDescription:
_unityEventResponse:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 3021524037178137395}
m_TargetAssemblyTypeName: MAVRIC.GEEKCup.GameLogic, Assembly-CSharp
m_MethodName: MoveBallToSpawnPoint
m_Mode: 1
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: 0
_event: {fileID: 11400000, guid: e7c6de7a1586c4e2f9081cc03f4c0996, type: 2}
_eventInstancer: {fileID: 0}
_collection: {fileID: 0}
_list: {fileID: 0}
_collectionInstancer: {fileID: 0}
_listInstancer: {fileID: 0}
--- !u!1001 &2420978955236610172
PrefabInstance:
m_ObjectHideFlags: 0
@ -275,6 +316,11 @@ PrefabInstance:
propertyPath: m_Name
value: TestGolfBall
objectReference: {fileID: 0}
- target: {fileID: 3638049900979181177, guid: c9932ec1118ae464983a6a298f97bb6d,
type: 3}
propertyPath: _tags.Array.size
value: 2
objectReference: {fileID: 0}
- target: {fileID: 6730959166714347295, guid: c9932ec1118ae464983a6a298f97bb6d,
type: 3}
propertyPath: m_LocalPosition.x