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

Should fix stroke count and reset issues.

This commit is contained in:
Joshua Latham 2024-04-22 13:40:07 -04:00
parent fca315e745
commit bac34dfcaf
20 changed files with 5172 additions and 4557 deletions

View File

@ -0,0 +1,17 @@
%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: a0635ac2f70594bd3a31a5ced16469dc, type: 3}
m_Name: IncrementStrokeCount
m_EditorClassIdentifier:
_developerDescription:
_replayBufferSize: 1
_inspectorRaiseValue: 0

View File

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

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: ResetVariables
m_EditorClassIdentifier:
_developerDescription:
_replayBufferSize: 1

View File

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

View File

@ -1,6 +1,4 @@
using System;
using System.Collections;
using System.Collections.Generic;
using UnityAtoms.BaseAtoms;
using UnityEngine;
@ -19,6 +17,10 @@ namespace MAVRIC.GEEKCup
}
public void MoveBallToSpawnPoint()
{
if (spawnPoint is null)
{
CheckForSpawnPoint();
}
StopCoroutine(MoveBall());
StartCoroutine(MoveBall());
}
@ -36,10 +38,5 @@ namespace MAVRIC.GEEKCup
rbBall.isKinematic = false;
}
}
public void ResetScore()
{
scoreVariable.Value = 0;
}
}
}

View File

@ -1,4 +1,3 @@
using System;
using System.Collections;
using UnityAtoms.BaseAtoms;
using UnityEngine;
@ -8,6 +7,7 @@ namespace GolfControls
public class BallHitController : MonoBehaviour
{
public VoidEvent ballHitEvent;
public BoolEvent incrementStrokeCount;
public Vector3Variable AngleVariable;
public FloatVariable PowerVariable;
@ -49,6 +49,7 @@ namespace GolfControls
float ballStopTime = 1.0f;
isMovingVariable.SetValue(true);
incrementStrokeCount.Raise(true);
while (!inHoleVariable.Value)
{
@ -82,6 +83,7 @@ namespace GolfControls
body.angularVelocity = Vector3.zero;
isMovingVariable.SetValue(false);
incrementStrokeCount.Raise(false);
}
}

View File

@ -1,4 +1,3 @@
using System;
using UnityAtoms.BaseAtoms;
using UnityEngine;
@ -6,24 +5,16 @@ namespace GolfControls
{
public class StrokeCounter : MonoBehaviour
{
public BoolVariable ballMovingVariable;
public IntVariable StrokeVariable;
public VoidEvent HitEvent;
private void OnEnable()
public void OnHit(bool isHit)
{
HitEvent.Register(OnHit);
}
if (!isHit)
{
return;
}
private void OnDisable()
{
HitEvent.Unregister(OnHit);
}
private void OnHit()
{
if (ballMovingVariable.Value) return;
StrokeVariable.SetValue(StrokeVariable.Value+1);
StrokeVariable.SetValue(StrokeVariable.Value + 1);
}
}
}

View File

@ -1,4 +1,3 @@
using System;
using TMPro;
using UnityAtoms.BaseAtoms;
using UnityEngine;

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 5df815d3649b58b4484d2ae582fbf0c3
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -115,14 +115,74 @@ PrefabInstance:
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_AddedComponents:
- targetCorrespondingSourceObject: {fileID: 5560245172605128309, guid: 55132ad6f7d78459191ed0f6503c1bbf,
type: 3}
insertIndex: -1
addedObject: {fileID: 3173960975074571928}
m_SourcePrefab: {fileID: 100100000, guid: 55132ad6f7d78459191ed0f6503c1bbf, type: 3}
--- !u!114 &373484348262600652 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 2645840047853494192, guid: 55132ad6f7d78459191ed0f6503c1bbf,
type: 3}
m_PrefabInstance: {fileID: 2420978955236610172}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7832039088124763657}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 594dbcb0ac6fee442ac8e47c96781542, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!4 &7529011191634243865 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 5324767969826283877, guid: 55132ad6f7d78459191ed0f6503c1bbf,
type: 3}
m_PrefabInstance: {fileID: 2420978955236610172}
m_PrefabAsset: {fileID: 0}
--- !u!1 &7832039088124763657 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 5560245172605128309, guid: 55132ad6f7d78459191ed0f6503c1bbf,
type: 3}
m_PrefabInstance: {fileID: 2420978955236610172}
m_PrefabAsset: {fileID: 0}
--- !u!114 &3173960975074571928
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7832039088124763657}
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: 373484348262600652}
m_TargetAssemblyTypeName: GolfControls.StrokeCounter, Assembly-CSharp
m_MethodName: OnHit
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: 0
_event: {fileID: 11400000, guid: ec7d602226c7a4b4a9aeacaba953fc38, type: 2}
_eventInstancer: {fileID: 0}
_variable: {fileID: 0}
_variableInstancer: {fileID: 0}
--- !u!1001 &2748140329130303384
PrefabInstance:
m_ObjectHideFlags: 0

1864
Assets/Prefabs/GameUI.prefab Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 686b51ff9e7b323448470fac3420b8a3
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -12,6 +12,7 @@ GameObject:
- component: {fileID: 1837027161384743503}
- component: {fileID: 2645840047853494192}
- component: {fileID: 1229042045006618261}
- component: {fileID: 1049835781260808948}
m_Layer: 0
m_Name: GolfController
m_TagString: Untagged
@ -86,3 +87,55 @@ MonoBehaviour:
- {fileID: 11400000, guid: 3b0e06d0a76bceb4296c54d02f0d34a4, type: 2}
- {fileID: 11400000, guid: b5aa4452d8d082d48b46495c7352e39e, type: 2}
- {fileID: 11400000, guid: b17566f4d19813249a993793ac86d94c, type: 2}
--- !u!114 &1049835781260808948
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5560245172605128309}
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: 1229042045006618261}
m_TargetAssemblyTypeName: UnityEngine.Behaviour, UnityEngine
m_MethodName: set_enabled
m_Mode: 6
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
- m_Target: {fileID: 1229042045006618261}
m_TargetAssemblyTypeName: UnityEngine.Behaviour, UnityEngine
m_MethodName: set_enabled
m_Mode: 6
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 1
m_CallState: 2
_actionResponses: []
_conditions: []
_operator: 0
_replayEventBufferOnRegister: 1
_eventReference:
_usage: 0
_event: {fileID: 11400000, guid: e40e40bd17724c643a36711277734822, type: 2}
_eventInstancer: {fileID: 0}
_collection: {fileID: 0}
_list: {fileID: 0}
_collectionInstancer: {fileID: 0}
_listInstancer: {fileID: 0}

View File

@ -133,7 +133,7 @@ Rigidbody:
m_ImplicitCom: 1
m_ImplicitTensor: 1
m_UseGravity: 1
m_IsKinematic: 0
m_IsKinematic: 1
m_Interpolate: 0
m_Constraints: 0
m_CollisionDetection: 0
@ -165,6 +165,8 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
ballHitEvent: {fileID: 11400000, guid: 90fa28c269919df41acdd37835ee3b9e, type: 2}
incrementStrokeCount: {fileID: 11400000, guid: ec7d602226c7a4b4a9aeacaba953fc38,
type: 2}
AngleVariable: {fileID: 11400000, guid: e4e9bdd2ae454dc4f8de59b2261b337a, type: 2}
PowerVariable: {fileID: 11400000, guid: b5aa4452d8d082d48b46495c7352e39e, type: 2}
isMovingVariable: {fileID: 11400000, guid: 838a13f5fd312c94398e49cfc36e34ad, type: 2}

397
Assets/Prefabs/UI.prefab Normal file
View File

@ -0,0 +1,397 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &864705718441091586
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7478519019532169470}
- component: {fileID: 7589105444495309355}
- component: {fileID: 5300136333868868709}
- component: {fileID: 8578034693895475379}
- component: {fileID: 4024034192225890645}
m_Layer: 5
m_Name: UI
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &7478519019532169470
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 864705718441091586}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0, y: 0, z: 0}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 3084678540669356575}
- {fileID: 3746492843800945585}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0, y: 0}
--- !u!223 &7589105444495309355
Canvas:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 864705718441091586}
m_Enabled: 1
serializedVersion: 3
m_RenderMode: 0
m_Camera: {fileID: 0}
m_PlaneDistance: 100
m_PixelPerfect: 0
m_ReceivesEvents: 1
m_OverrideSorting: 0
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
m_VertexColorAlwaysGammaSpace: 0
m_AdditionalShaderChannelsFlag: 25
m_UpdateRectTransformForStandalone: 0
m_SortingLayerID: 0
m_SortingOrder: 0
m_TargetDisplay: 0
--- !u!114 &5300136333868868709
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 864705718441091586}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
m_Name:
m_EditorClassIdentifier:
m_UiScaleMode: 1
m_ReferencePixelsPerUnit: 100
m_ScaleFactor: 1
m_ReferenceResolution: {x: 800, y: 600}
m_ScreenMatchMode: 0
m_MatchWidthOrHeight: 0
m_PhysicalUnit: 3
m_FallbackScreenDPI: 96
m_DefaultSpriteDPI: 96
m_DynamicPixelsPerUnit: 1
m_PresetInfoIsWorld: 0
--- !u!114 &8578034693895475379
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 864705718441091586}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3}
m_Name:
m_EditorClassIdentifier:
m_IgnoreReversedGraphics: 1
m_BlockingObjects: 0
m_BlockingMask:
serializedVersion: 2
m_Bits: 4294967295
--- !u!114 &4024034192225890645
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 864705718441091586}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 09ed0fcb351f94c22bbc762add748e41, type: 3}
m_Name:
m_EditorClassIdentifier:
CourseLayoutObjects:
- {fileID: 2515407931999965833}
GamePlayObjects:
- {fileID: 2170193874541039114}
arPlaneManager: {fileID: 0}
arPlanePrefab: {fileID: 1585201990951412, guid: a6b7ca1d53c75490595d1f0d5f43be38,
type: 3}
scoreVariable: {fileID: 11400000, guid: b17566f4d19813249a993793ac86d94c, type: 2}
gameLogic: {fileID: 0}
--- !u!1001 &1297558862873548735
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 7478519019532169470}
m_Modifications:
- target: {fileID: 401978161523643605, guid: 5df815d3649b58b4484d2ae582fbf0c3,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Target
value:
objectReference: {fileID: 4024034192225890645}
- target: {fileID: 3524450192704275766, guid: 5df815d3649b58b4484d2ae582fbf0c3,
type: 3}
propertyPath: m_Name
value: CourseLayoutUI
objectReference: {fileID: 0}
- target: {fileID: 4093525921777245600, guid: 5df815d3649b58b4484d2ae582fbf0c3,
type: 3}
propertyPath: m_Pivot.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 4093525921777245600, guid: 5df815d3649b58b4484d2ae582fbf0c3,
type: 3}
propertyPath: m_Pivot.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 4093525921777245600, guid: 5df815d3649b58b4484d2ae582fbf0c3,
type: 3}
propertyPath: m_AnchorMax.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4093525921777245600, guid: 5df815d3649b58b4484d2ae582fbf0c3,
type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4093525921777245600, guid: 5df815d3649b58b4484d2ae582fbf0c3,
type: 3}
propertyPath: m_AnchorMin.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4093525921777245600, guid: 5df815d3649b58b4484d2ae582fbf0c3,
type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4093525921777245600, guid: 5df815d3649b58b4484d2ae582fbf0c3,
type: 3}
propertyPath: m_SizeDelta.x
value: 800
objectReference: {fileID: 0}
- target: {fileID: 4093525921777245600, guid: 5df815d3649b58b4484d2ae582fbf0c3,
type: 3}
propertyPath: m_SizeDelta.y
value: 600
objectReference: {fileID: 0}
- target: {fileID: 4093525921777245600, guid: 5df815d3649b58b4484d2ae582fbf0c3,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4093525921777245600, guid: 5df815d3649b58b4484d2ae582fbf0c3,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4093525921777245600, guid: 5df815d3649b58b4484d2ae582fbf0c3,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4093525921777245600, guid: 5df815d3649b58b4484d2ae582fbf0c3,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4093525921777245600, guid: 5df815d3649b58b4484d2ae582fbf0c3,
type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 4093525921777245600, guid: 5df815d3649b58b4484d2ae582fbf0c3,
type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 4093525921777245600, guid: 5df815d3649b58b4484d2ae582fbf0c3,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 4093525921777245600, guid: 5df815d3649b58b4484d2ae582fbf0c3,
type: 3}
propertyPath: m_AnchoredPosition.x
value: 400
objectReference: {fileID: 0}
- target: {fileID: 4093525921777245600, guid: 5df815d3649b58b4484d2ae582fbf0c3,
type: 3}
propertyPath: m_AnchoredPosition.y
value: 300.00003
objectReference: {fileID: 0}
- target: {fileID: 4093525921777245600, guid: 5df815d3649b58b4484d2ae582fbf0c3,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4093525921777245600, guid: 5df815d3649b58b4484d2ae582fbf0c3,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4093525921777245600, guid: 5df815d3649b58b4484d2ae582fbf0c3,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 5df815d3649b58b4484d2ae582fbf0c3, type: 3}
--- !u!1 &2515407931999965833 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 3524450192704275766, guid: 5df815d3649b58b4484d2ae582fbf0c3,
type: 3}
m_PrefabInstance: {fileID: 1297558862873548735}
m_PrefabAsset: {fileID: 0}
--- !u!224 &3084678540669356575 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 4093525921777245600, guid: 5df815d3649b58b4484d2ae582fbf0c3,
type: 3}
m_PrefabInstance: {fileID: 1297558862873548735}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &8806808859479453287
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 7478519019532169470}
m_Modifications:
- target: {fileID: 5315978857558658518, guid: 686b51ff9e7b323448470fac3420b8a3,
type: 3}
propertyPath: m_Pivot.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 5315978857558658518, guid: 686b51ff9e7b323448470fac3420b8a3,
type: 3}
propertyPath: m_Pivot.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 5315978857558658518, guid: 686b51ff9e7b323448470fac3420b8a3,
type: 3}
propertyPath: m_AnchorMax.x
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5315978857558658518, guid: 686b51ff9e7b323448470fac3420b8a3,
type: 3}
propertyPath: m_AnchorMax.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5315978857558658518, guid: 686b51ff9e7b323448470fac3420b8a3,
type: 3}
propertyPath: m_AnchorMin.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5315978857558658518, guid: 686b51ff9e7b323448470fac3420b8a3,
type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5315978857558658518, guid: 686b51ff9e7b323448470fac3420b8a3,
type: 3}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5315978857558658518, guid: 686b51ff9e7b323448470fac3420b8a3,
type: 3}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5315978857558658518, guid: 686b51ff9e7b323448470fac3420b8a3,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5315978857558658518, guid: 686b51ff9e7b323448470fac3420b8a3,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5315978857558658518, guid: 686b51ff9e7b323448470fac3420b8a3,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5315978857558658518, guid: 686b51ff9e7b323448470fac3420b8a3,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5315978857558658518, guid: 686b51ff9e7b323448470fac3420b8a3,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5315978857558658518, guid: 686b51ff9e7b323448470fac3420b8a3,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5315978857558658518, guid: 686b51ff9e7b323448470fac3420b8a3,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5315978857558658518, guid: 686b51ff9e7b323448470fac3420b8a3,
type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5315978857558658518, guid: 686b51ff9e7b323448470fac3420b8a3,
type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5315978857558658518, guid: 686b51ff9e7b323448470fac3420b8a3,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5315978857558658518, guid: 686b51ff9e7b323448470fac3420b8a3,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5315978857558658518, guid: 686b51ff9e7b323448470fac3420b8a3,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6845093383438384349, guid: 686b51ff9e7b323448470fac3420b8a3,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Target
value:
objectReference: {fileID: 4024034192225890645}
- target: {fileID: 7216457840435028077, guid: 686b51ff9e7b323448470fac3420b8a3,
type: 3}
propertyPath: m_Name
value: GameUI
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 686b51ff9e7b323448470fac3420b8a3, type: 3}
--- !u!1 &2170193874541039114 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 7216457840435028077, guid: 686b51ff9e7b323448470fac3420b8a3,
type: 3}
m_PrefabInstance: {fileID: 8806808859479453287}
m_PrefabAsset: {fileID: 0}
--- !u!224 &3746492843800945585 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 5315978857558658518, guid: 686b51ff9e7b323448470fac3420b8a3,
type: 3}
m_PrefabInstance: {fileID: 8806808859479453287}
m_PrefabAsset: {fileID: 0}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 3ccc2f7c888da2b4c9997752a4d80cc2
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,3 @@
using System.Collections;
using System.Collections.Generic;
using UnityAtoms.BaseAtoms;
using UnityEngine;
using UnityEngine.XR.ARFoundation;
@ -28,7 +26,6 @@ namespace MAVRIC.GEEKCup
obj.SetActive(false);
}
setPlaneManagerPrefab(true);
scoreVariable.Value = 0;
}
public void ShowGamePlay()

View File

@ -14,9 +14,12 @@ EditorBuildSettings:
- enabled: 0
path: Assets/Samples/MAVRIC.GEEKCup/QRCode/Scenes/QRCodeLoading.unity
guid: 73904ea13fff84c96a4386ddec7712f2
- enabled: 1
- enabled: 0
path: Assets/Samples/MAVRIC.GEEKCup/QRCode/Scenes/QRCodeLoading-Courses.unity
guid: 6530352416db24017ac352b24d187fbc
- enabled: 1
path: Assets/Scenes/Loading-Course.unity
guid: 60a182c3a97d34a208390639dad50e12
m_configObjects:
UnityEditor.XR.ARCore.ARCoreSettings: {fileID: 11400000, guid: 6ee72d15cf39dd748a13eac57397b9af,
type: 2}