Support for multiple questions is implemented, after many stupid problems.

This commit is contained in:
Jamie Greunbaum 2025-05-31 22:01:04 -04:00
parent e042d089a5
commit 80dc94a696
19 changed files with 1057 additions and 733 deletions

Binary file not shown.

View File

@ -0,0 +1,23 @@
fileFormatVersion: 2
guid: 274356a018c1032488518066de064200
AudioImporter:
externalObjects: {}
serializedVersion: 7
defaultSettings:
serializedVersion: 2
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
preloadAudioData: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,23 @@
fileFormatVersion: 2
guid: 20a65b650522673478595f755552233d
AudioImporter:
externalObjects: {}
serializedVersion: 7
defaultSettings:
serializedVersion: 2
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
preloadAudioData: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

View File

@ -43,11 +43,11 @@ Material:
m_Offset: {x: 0, y: 0} m_Offset: {x: 0, y: 0}
- _EmissionMap: - _EmissionMap:
m_Texture: {fileID: 0} m_Texture: {fileID: 0}
m_Scale: {x: 0.5, y: 0.125} m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0} m_Offset: {x: 0, y: 0}
- _MainTex: - _MainTex:
m_Texture: {fileID: 0} m_Texture: {fileID: 0}
m_Scale: {x: 0.5, y: 0.125} m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0} m_Offset: {x: 0, y: 0}
- _MetallicGlossMap: - _MetallicGlossMap:
m_Texture: {fileID: 0} m_Texture: {fileID: 0}
@ -64,7 +64,7 @@ Material:
m_Ints: [] m_Ints: []
m_Floats: m_Floats:
- _Bicubic: 0 - _Bicubic: 0
- _BumpScale: 0.33333334 - _BumpScale: 0.225
- _Cutoff: 0.5 - _Cutoff: 0.5
- _DetailNormalMapScale: 1 - _DetailNormalMapScale: 1
- _DstBlend: 0 - _DstBlend: 0

Binary file not shown.

View File

@ -0,0 +1,109 @@
fileFormatVersion: 2
guid: 43a698f97137dae40adf4b6dfffa5e41
ModelImporter:
serializedVersion: 22200
internalIDToNameTable: []
externalObjects: {}
materials:
materialImportMode: 0
materialName: 0
materialSearch: 1
materialLocation: 1
animations:
legacyGenerateAnimations: 4
bakeSimulation: 0
resampleCurves: 1
optimizeGameObjects: 0
removeConstantScaleCurves: 0
motionNodeName:
rigImportErrors:
rigImportWarnings:
animationImportErrors:
animationImportWarnings:
animationRetargetingWarnings:
animationDoRetargetingWarnings: 0
importAnimatedCustomProperties: 0
importConstraints: 0
animationCompression: 1
animationRotationError: 0.5
animationPositionError: 0.5
animationScaleError: 0.5
animationWrapMode: 0
extraExposedTransformPaths: []
extraUserProperties: []
clipAnimations: []
isReadable: 0
meshes:
lODScreenPercentages: []
globalScale: 1
meshCompression: 0
addColliders: 0
useSRGBMaterialColor: 1
sortHierarchyByName: 1
importPhysicalCameras: 1
importVisibility: 1
importBlendShapes: 1
importCameras: 1
importLights: 1
nodeNameCollisionStrategy: 1
fileIdsGeneration: 2
swapUVChannels: 0
generateSecondaryUV: 0
useFileUnits: 1
keepQuads: 0
weldVertices: 1
bakeAxisConversion: 0
preserveHierarchy: 0
skinWeightsMode: 0
maxBonesPerVertex: 4
minBoneWeight: 0.001
optimizeBones: 1
meshOptimizationFlags: -1
indexFormat: 0
secondaryUVAngleDistortion: 8
secondaryUVAreaDistortion: 15.000001
secondaryUVHardAngle: 88
secondaryUVMarginMethod: 1
secondaryUVMinLightmapResolution: 40
secondaryUVMinObjectScale: 1
secondaryUVPackMargin: 4
useFileScale: 1
strictVertexDataChecks: 0
tangentSpace:
normalSmoothAngle: 60
normalImportMode: 0
tangentImportMode: 3
normalCalculationMode: 4
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
blendShapeNormalImportMode: 1
normalSmoothingSource: 0
referencedClips: []
importAnimation: 0
humanDescription:
serializedVersion: 3
human: []
skeleton: []
armTwist: 0.5
foreArmTwist: 0.5
upperLegTwist: 0.5
legTwist: 0.5
armStretch: 0.05
legStretch: 0.05
feetSpacing: 0
globalScale: 1
rootMotionBoneName:
hasTranslationDoF: 0
hasExtraRoot: 0
skeletonHasParents: 1
lastHumanDescriptionAvatarSource: {instanceID: 0}
autoGenerateAvatarMappingIfUnspecified: 1
animationType: 2
humanoidOversampling: 1
avatarSetup: 0
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
importBlendShapeDeformPercent: 1
remapMaterialsIfMaterialImportModeIsNone: 0
additionalBone: 0
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@ -30,8 +30,8 @@ Transform:
m_GameObject: {fileID: 364482656726200674} m_GameObject: {fileID: 364482656726200674}
serializedVersion: 2 serializedVersion: 2
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: -0.0922, y: -0.1237, z: -0.3335} m_LocalPosition: {x: -0.0056, y: -0.0547, z: -0.4052}
m_LocalScale: {x: 0.05, y: 0.05, z: 0.05} m_LocalScale: {x: 0.025, y: 0.025, z: 0.025}
m_ConstrainProportionsScale: 1 m_ConstrainProportionsScale: 1
m_Children: [] m_Children: []
m_Father: {fileID: 8055959652257360952} m_Father: {fileID: 8055959652257360952}
@ -355,7 +355,7 @@ GameObject:
- component: {fileID: 5830811382985108347} - component: {fileID: 5830811382985108347}
- component: {fileID: 3809294410070927801} - component: {fileID: 3809294410070927801}
- component: {fileID: 4068375225837998483} - component: {fileID: 4068375225837998483}
- component: {fileID: 5126845906382496047} - component: {fileID: 6809516190814399933}
- component: {fileID: 8896942705519841538} - component: {fileID: 8896942705519841538}
- component: {fileID: 6629859500178188227} - component: {fileID: 6629859500178188227}
- component: {fileID: 5542997801820577511} - component: {fileID: 5542997801820577511}
@ -379,7 +379,7 @@ Transform:
serializedVersion: 2 serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0.5, y: 0.5, z: 0.5} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 1 m_ConstrainProportionsScale: 1
m_Children: m_Children:
- {fileID: 1567149656499479760} - {fileID: 1567149656499479760}
@ -467,8 +467,8 @@ Rigidbody:
m_Interpolate: 0 m_Interpolate: 0
m_Constraints: 0 m_Constraints: 0
m_CollisionDetection: 0 m_CollisionDetection: 0
--- !u!64 &5126845906382496047 --- !u!136 &6809516190814399933
MeshCollider: CapsuleCollider:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
@ -482,13 +482,14 @@ MeshCollider:
serializedVersion: 2 serializedVersion: 2
m_Bits: 0 m_Bits: 0
m_LayerOverridePriority: 0 m_LayerOverridePriority: 0
m_IsTrigger: 1 m_IsTrigger: 0
m_ProvidesContacts: 0 m_ProvidesContacts: 0
m_Enabled: 1 m_Enabled: 1
serializedVersion: 5 serializedVersion: 2
m_Convex: 1 m_Radius: 0.024580397
m_CookingOptions: 30 m_Height: 0.12147343
m_Mesh: {fileID: -2253402512072658315, guid: 0c8a5bdda43be2a4e9cdad84677fbb62, type: 3} m_Direction: 2
m_Center: {x: 0, y: 0.10227495, z: -0.22345456}
--- !u!114 &8896942705519841538 --- !u!114 &8896942705519841538
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -590,7 +591,7 @@ MonoBehaviour:
ThrowVelocityBoostScale: 1 ThrowVelocityBoostScale: 1
currentlyHeldBy: {fileID: 0} currentlyHeldBy: {fileID: 0}
pickupable: 1 pickupable: 1
proximity: 0.25 proximity: 0.1
--- !u!20 &5542997801820577511 --- !u!20 &5542997801820577511
Camera: Camera:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -763,7 +764,7 @@ RectTransform:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2989464213496890061} m_GameObject: {fileID: 2989464213496890061}
m_LocalRotation: {x: -0.00000033143553, y: -0.70710677, z: 0.7071068, w: 0.00000004558929} m_LocalRotation: {x: -0.00000033143553, y: -0.70710677, z: 0.7071068, w: 0.00000004558929}
m_LocalPosition: {x: 0, y: 0, z: 1.0144709} m_LocalPosition: {x: 0, y: 0, z: 6.157334}
m_LocalScale: {x: 0.35714287, y: 0.6349207, z: 0.01} m_LocalScale: {x: 0.35714287, y: 0.6349207, z: 0.01}
m_ConstrainProportionsScale: 1 m_ConstrainProportionsScale: 1
m_Children: m_Children:
@ -772,7 +773,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0} m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0} m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 42.525, y: 49.751316} m_AnchoredPosition: {x: 2.882145, y: 0.00030899048}
m_SizeDelta: {x: 20, y: 5} m_SizeDelta: {x: 20, y: 5}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!223 &4980690111910650083 --- !u!223 &4980690111910650083
@ -868,8 +869,8 @@ Transform:
m_GameObject: {fileID: 3956068066517853170} m_GameObject: {fileID: 3956068066517853170}
serializedVersion: 2 serializedVersion: 2
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: -0.0922, y: -0.1237, z: -0.2609} m_LocalPosition: {x: -0.0495, y: -0.054, z: -0.1464}
m_LocalScale: {x: 0.05, y: 0.05, z: 0.05} m_LocalScale: {x: 0.025, y: 0.025, z: 0.025}
m_ConstrainProportionsScale: 1 m_ConstrainProportionsScale: 1
m_Children: [] m_Children: []
m_Father: {fileID: 8055959652257360952} m_Father: {fileID: 8055959652257360952}
@ -1105,8 +1106,8 @@ RectTransform:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7770430874485158358} m_GameObject: {fileID: 7770430874485158358}
m_LocalRotation: {x: 0.000000022271495, y: -0.70710677, z: 0.7071068, w: 0} m_LocalRotation: {x: 0.000000022271495, y: -0.70710677, z: 0.7071068, w: 0}
m_LocalPosition: {x: 0, y: 0, z: -0.2603} m_LocalPosition: {x: 0, y: 0, z: -0.1428}
m_LocalScale: {x: 0.028, y: 1, z: 0.015749998} m_LocalScale: {x: 0.014, y: 0.5, z: 0.007874999}
m_ConstrainProportionsScale: 1 m_ConstrainProportionsScale: 1
m_Children: m_Children:
- {fileID: 8131107794433545374} - {fileID: 8131107794433545374}
@ -1114,7 +1115,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 90, y: 0, z: 180} m_LocalEulerAnglesHint: {x: 90, y: 0, z: 180}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -0.2633, y: -0} m_AnchoredPosition: {x: -0.112, y: 0.0094}
m_SizeDelta: {x: 100, y: 100} m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!33 &7656834791367489744 --- !u!33 &7656834791367489744
@ -1214,8 +1215,8 @@ RectTransform:
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8299512815524591036} m_GameObject: {fileID: 8299512815524591036}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 3.3881318e-21, y: 7.1054274e-15, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -24.9} m_LocalPosition: {x: 0, y: 0, z: -5000}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
@ -1223,7 +1224,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -29, y: -8.1} m_AnchoredPosition: {x: -135.89, y: -0.28}
m_SizeDelta: {x: 20, y: 5} m_SizeDelta: {x: 20, y: 5}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3658650029721023427 --- !u!222 &3658650029721023427
@ -1288,8 +1289,8 @@ MonoBehaviour:
m_fontSizeMin: 18 m_fontSizeMin: 18
m_fontSizeMax: 72 m_fontSizeMax: 72
m_fontStyle: 0 m_fontStyle: 0
m_HorizontalAlignment: 2 m_HorizontalAlignment: 1
m_VerticalAlignment: 512 m_VerticalAlignment: 256
m_textAlignment: 65535 m_textAlignment: 65535
m_characterSpacing: 0 m_characterSpacing: 0
m_wordSpacing: 0 m_wordSpacing: 0

View File

@ -161,89 +161,6 @@ MonoBehaviour:
m_OnClick: m_OnClick:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls: []
--- !u!1 &362458260504488319
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1783151321112907825}
- component: {fileID: 7720830972136695702}
- component: {fileID: 2981482409094476529}
m_Layer: 13
m_Name: Card Mesh
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1783151321112907825
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 362458260504488319}
serializedVersion: 2
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0.75, y: 0.005, z: 0.15}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2005410010811368080}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &7720830972136695702
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 362458260504488319}
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
--- !u!23 &2981482409094476529
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 362458260504488319}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 2c0cd617d97924748a9d5e2eeb2039b5, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!1 &576681596859506762 --- !u!1 &576681596859506762
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -279,7 +196,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 0} m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1} m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0} m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 100, y: -50} m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &851843671927466190 --- !u!222 &851843671927466190
CanvasRenderer: CanvasRenderer:
@ -336,10 +253,10 @@ MonoBehaviour:
m_faceColor: m_faceColor:
serializedVersion: 2 serializedVersion: 2
rgba: 4294967295 rgba: 4294967295
m_fontSize: 80 m_fontSize: 72
m_fontSizeBase: 80 m_fontSizeBase: 80
m_fontWeight: 400 m_fontWeight: 400
m_enableAutoSizing: 0 m_enableAutoSizing: 1
m_fontSizeMin: 18 m_fontSizeMin: 18
m_fontSizeMax: 72 m_fontSizeMax: 72
m_fontStyle: 0 m_fontStyle: 0
@ -352,7 +269,7 @@ MonoBehaviour:
m_lineSpacingMax: 0 m_lineSpacingMax: 0
m_paragraphSpacing: 0 m_paragraphSpacing: 0
m_charWidthMaxAdj: 0 m_charWidthMaxAdj: 0
m_enableWordWrapping: 1 m_enableWordWrapping: 0
m_wordWrappingRatios: 0.4 m_wordWrappingRatios: 0.4
m_overflowMode: 0 m_overflowMode: 0
m_linkedTextComponent: {fileID: 0} m_linkedTextComponent: {fileID: 0}
@ -372,7 +289,7 @@ MonoBehaviour:
m_VertexBufferAutoSizeReduction: 0 m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1 m_useMaxVisibleDescender: 1
m_pageToDisplay: 1 m_pageToDisplay: 1
m_margin: {x: 52.649914, y: 0, z: 61.883774, w: 0} m_margin: {x: -0.10402298, y: 0, z: 0.32196045, w: 0}
m_isUsingLegacyAnimationComponent: 0 m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0 m_isVolumetricText: 0
m_hasFontAssetChanged: 0 m_hasFontAssetChanged: 0
@ -387,7 +304,7 @@ GameObject:
serializedVersion: 6 serializedVersion: 6
m_Component: m_Component:
- component: {fileID: 4784420777705181201} - component: {fileID: 4784420777705181201}
- component: {fileID: 8832899739148045539} - component: {fileID: 6638994397773310554}
- component: {fileID: 2628711887938685344} - component: {fileID: 2628711887938685344}
- component: {fileID: 4976480905586968192} - component: {fileID: 4976480905586968192}
- component: {fileID: 4454862644353458933} - component: {fileID: 4454862644353458933}
@ -412,11 +329,11 @@ Transform:
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: m_Children:
- {fileID: 7682722238609482187} - {fileID: 2931461289915556917}
- {fileID: 1624500124964819308} - {fileID: 1624500124964819308}
m_Father: {fileID: 2978271015408449549} m_Father: {fileID: 2978271015408449549}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!65 &8832899739148045539 --- !u!65 &6638994397773310554
BoxCollider: BoxCollider:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
@ -429,13 +346,13 @@ BoxCollider:
m_Bits: 0 m_Bits: 0
m_ExcludeLayers: m_ExcludeLayers:
serializedVersion: 2 serializedVersion: 2
m_Bits: 4294967295 m_Bits: 0
m_LayerOverridePriority: 0 m_LayerOverridePriority: 0
m_IsTrigger: 0 m_IsTrigger: 0
m_ProvidesContacts: 0 m_ProvidesContacts: 0
m_Enabled: 1 m_Enabled: 1
serializedVersion: 3 serializedVersion: 3
m_Size: {x: 0.75, y: 0.005, z: 0.15} m_Size: {x: 0.5, y: 0.002, z: 0.1}
m_Center: {x: 0, y: 0, z: 0} m_Center: {x: 0, y: 0, z: 0}
--- !u!114 &2628711887938685344 --- !u!114 &2628711887938685344
MonoBehaviour: MonoBehaviour:
@ -985,7 +902,7 @@ Transform:
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: m_Children:
- {fileID: 2708926938775142233} - {fileID: 3100839463103724734}
- {fileID: 484292461414127745} - {fileID: 484292461414127745}
m_Father: {fileID: 78434554900276400} m_Father: {fileID: 78434554900276400}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -1008,7 +925,7 @@ BoxCollider:
m_ProvidesContacts: 0 m_ProvidesContacts: 0
m_Enabled: 1 m_Enabled: 1
serializedVersion: 3 serializedVersion: 3
m_Size: {x: 0.75, y: 0.005, z: 0.15} m_Size: {x: 0.5, y: 0.002, z: 0.1}
m_Center: {x: 0, y: 0, z: 0} m_Center: {x: 0, y: 0, z: 0}
--- !u!114 &7014170836395171117 --- !u!114 &7014170836395171117
MonoBehaviour: MonoBehaviour:
@ -1155,8 +1072,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 0.002525} m_AnchoredPosition: {x: 0, y: 0.0011}
m_SizeDelta: {x: 750, y: 147.6} m_SizeDelta: {x: 487.32, y: 87.3}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!223 &4306383036856006401 --- !u!223 &4306383036856006401
Canvas: Canvas:
@ -1349,8 +1266,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 0.002525} m_AnchoredPosition: {x: 0, y: 0.0011}
m_SizeDelta: {x: 750, y: 147.6} m_SizeDelta: {x: 487.32, y: 87.3}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!223 &4369612126844113071 --- !u!223 &4369612126844113071
Canvas: Canvas:
@ -1375,89 +1292,6 @@ Canvas:
m_SortingLayerID: 0 m_SortingLayerID: 0
m_SortingOrder: 0 m_SortingOrder: 0
m_TargetDisplay: 0 m_TargetDisplay: 0
--- !u!1 &3177186200166145190
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2708926938775142233}
- component: {fileID: 6141531539074573384}
- component: {fileID: 2796096606291828731}
m_Layer: 13
m_Name: Card Mesh
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &2708926938775142233
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3177186200166145190}
serializedVersion: 2
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0.75, y: 0.005, z: 0.15}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1604211625791945829}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &6141531539074573384
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3177186200166145190}
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
--- !u!23 &2796096606291828731
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3177186200166145190}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 2c0cd617d97924748a9d5e2eeb2039b5, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!1 &3311726862824349027 --- !u!1 &3311726862824349027
GameObject: GameObject:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 1
@ -1573,10 +1407,10 @@ RectTransform:
m_Children: [] m_Children: []
m_Father: {fileID: 6168901515704183267} m_Father: {fileID: 6168901515704183267}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0} m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 1, y: 1} m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0} m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 100, y: -50} m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &7592211071869135203 --- !u!222 &7592211071869135203
CanvasRenderer: CanvasRenderer:
@ -1633,10 +1467,10 @@ MonoBehaviour:
m_faceColor: m_faceColor:
serializedVersion: 2 serializedVersion: 2
rgba: 4294967295 rgba: 4294967295
m_fontSize: 80 m_fontSize: 72
m_fontSizeBase: 80 m_fontSizeBase: 80
m_fontWeight: 400 m_fontWeight: 400
m_enableAutoSizing: 0 m_enableAutoSizing: 1
m_fontSizeMin: 18 m_fontSizeMin: 18
m_fontSizeMax: 72 m_fontSizeMax: 72
m_fontStyle: 0 m_fontStyle: 0
@ -1649,7 +1483,7 @@ MonoBehaviour:
m_lineSpacingMax: 0 m_lineSpacingMax: 0
m_paragraphSpacing: 0 m_paragraphSpacing: 0
m_charWidthMaxAdj: 0 m_charWidthMaxAdj: 0
m_enableWordWrapping: 1 m_enableWordWrapping: 0
m_wordWrappingRatios: 0.4 m_wordWrappingRatios: 0.4
m_overflowMode: 0 m_overflowMode: 0
m_linkedTextComponent: {fileID: 0} m_linkedTextComponent: {fileID: 0}
@ -1669,7 +1503,7 @@ MonoBehaviour:
m_VertexBufferAutoSizeReduction: 0 m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1 m_useMaxVisibleDescender: 1
m_pageToDisplay: 1 m_pageToDisplay: 1
m_margin: {x: 52.649914, y: 0, z: 61.883774, w: 0} m_margin: {x: 0.22964093, y: 0, z: -0.11209108, w: -87.29622}
m_isUsingLegacyAnimationComponent: 0 m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0 m_isVolumetricText: 0
m_hasFontAssetChanged: 0 m_hasFontAssetChanged: 0
@ -1734,10 +1568,6 @@ MonoBehaviour:
PrefabModifications: [] PrefabModifications: []
SerializationNodes: [] SerializationNodes: []
_udonSharpBackingUdonBehaviour: {fileID: 8462795151643791661} _udonSharpBackingUdonBehaviour: {fileID: 8462795151643791661}
ChoiceCards:
- {fileID: 6984570406273449552}
- {fileID: 3603690767504630756}
- {fileID: 4898668639397953358}
_Podium: {fileID: 1226214083704227558} _Podium: {fileID: 1226214083704227558}
_ChoiceCards: _ChoiceCards:
- {fileID: 6984570406273449552} - {fileID: 6984570406273449552}
@ -1809,7 +1639,7 @@ Transform:
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: m_Children:
- {fileID: 1783151321112907825} - {fileID: 4131419245482044737}
- {fileID: 6168901515704183267} - {fileID: 6168901515704183267}
m_Father: {fileID: 6190117174038594721} m_Father: {fileID: 6190117174038594721}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -1832,7 +1662,7 @@ BoxCollider:
m_ProvidesContacts: 0 m_ProvidesContacts: 0
m_Enabled: 1 m_Enabled: 1
serializedVersion: 3 serializedVersion: 3
m_Size: {x: 0.75, y: 0.005, z: 0.15} m_Size: {x: 0.5, y: 0.002, z: 0.1}
m_Center: {x: 0, y: 0, z: 0} m_Center: {x: 0, y: 0, z: 0}
--- !u!114 &7308589448968152414 --- !u!114 &7308589448968152414
MonoBehaviour: MonoBehaviour:
@ -2223,8 +2053,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 0.002525} m_AnchoredPosition: {x: 0, y: 0.0011}
m_SizeDelta: {x: 750, y: 147.6} m_SizeDelta: {x: 487.32, y: 87.3}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!223 &5634877993748269161 --- !u!223 &5634877993748269161
Canvas: Canvas:
@ -2643,89 +2473,6 @@ MonoBehaviour:
serializedPublicVariablesBytesString: Ai8AAAAAATIAAABWAFIAQwAuAFUAZABvAG4ALgBDAG8AbQBtAG8AbgAuAFUAZABvAG4AVgBhAHIAaQBhAGIAbABlAFQAYQBiAGwAZQAsACAAVgBSAEMALgBVAGQAbwBuAC4AQwBvAG0AbQBvAG4AAAAAAAYBAAAAAAAAACcBBAAAAHQAeQBwAGUAAWgAAABTAHkAcwB0AGUAbQAuAEMAbwBsAGwAZQBjAHQAaQBvAG4AcwAuAEcAZQBuAGUAcgBpAGMALgBMAGkAcwB0AGAAMQBbAFsAVgBSAEMALgBVAGQAbwBuAC4AQwBvAG0AbQBvAG4ALgBJAG4AdABlAHIAZgBhAGMAZQBzAC4ASQBVAGQAbwBuAFYAYQByAGkAYQBiAGwAZQAsACAAVgBSAEMALgBVAGQAbwBuAC4AQwBvAG0AbQBvAG4AXQBdACwAIABtAHMAYwBvAHIAbABpAGIAAQEJAAAAVgBhAHIAaQBhAGIAbABlAHMALwEAAAABaAAAAFMAeQBzAHQAZQBtAC4AQwBvAGwAbABlAGMAdABpAG8AbgBzAC4ARwBlAG4AZQByAGkAYwAuAEwAaQBzAHQAYAAxAFsAWwBWAFIAQwAuAFUAZABvAG4ALgBDAG8AbQBtAG8AbgAuAEkAbgB0AGUAcgBmAGEAYwBlAHMALgBJAFUAZABvAG4AVgBhAHIAaQBhAGIAbABlACwAIABWAFIAQwAuAFUAZABvAG4ALgBDAG8AbQBtAG8AbgBdAF0ALAAgAG0AcwBjAG8AcgBsAGkAYgABAAAABgEAAAAAAAAAAi8CAAAAAUkAAABWAFIAQwAuAFUAZABvAG4ALgBDAG8AbQBtAG8AbgAuAFUAZABvAG4AVgBhAHIAaQBhAGIAbABlAGAAMQBbAFsAUwB5AHMAdABlAG0ALgBJAG4AdAAzADIALAAgAG0AcwBjAG8AcgBsAGkAYgBdAF0ALAAgAFYAUgBDAC4AVQBkAG8AbgAuAEMAbwBtAG0AbwBuAAIAAAAGAgAAAAAAAAAnAQQAAAB0AHkAcABlAAEXAAAAUwB5AHMAdABlAG0ALgBTAHQAcgBpAG4AZwAsACAAbQBzAGMAbwByAGwAaQBiACcBCgAAAFMAeQBtAGIAbwBsAE4AYQBtAGUAAR8AAABfAF8AXwBVAGQAbwBuAFMAaABhAHIAcABCAGUAaABhAHYAaQBvAHUAcgBWAGUAcgBzAGkAbwBuAF8AXwBfACcBBAAAAHQAeQBwAGUAARYAAABTAHkAcwB0AGUAbQAuAEkAbgB0ADMAMgAsACAAbQBzAGMAbwByAGwAaQBiABcBBQAAAFYAYQBsAHUAZQACAAAABwUHBQcF serializedPublicVariablesBytesString: Ai8AAAAAATIAAABWAFIAQwAuAFUAZABvAG4ALgBDAG8AbQBtAG8AbgAuAFUAZABvAG4AVgBhAHIAaQBhAGIAbABlAFQAYQBiAGwAZQAsACAAVgBSAEMALgBVAGQAbwBuAC4AQwBvAG0AbQBvAG4AAAAAAAYBAAAAAAAAACcBBAAAAHQAeQBwAGUAAWgAAABTAHkAcwB0AGUAbQAuAEMAbwBsAGwAZQBjAHQAaQBvAG4AcwAuAEcAZQBuAGUAcgBpAGMALgBMAGkAcwB0AGAAMQBbAFsAVgBSAEMALgBVAGQAbwBuAC4AQwBvAG0AbQBvAG4ALgBJAG4AdABlAHIAZgBhAGMAZQBzAC4ASQBVAGQAbwBuAFYAYQByAGkAYQBiAGwAZQAsACAAVgBSAEMALgBVAGQAbwBuAC4AQwBvAG0AbQBvAG4AXQBdACwAIABtAHMAYwBvAHIAbABpAGIAAQEJAAAAVgBhAHIAaQBhAGIAbABlAHMALwEAAAABaAAAAFMAeQBzAHQAZQBtAC4AQwBvAGwAbABlAGMAdABpAG8AbgBzAC4ARwBlAG4AZQByAGkAYwAuAEwAaQBzAHQAYAAxAFsAWwBWAFIAQwAuAFUAZABvAG4ALgBDAG8AbQBtAG8AbgAuAEkAbgB0AGUAcgBmAGEAYwBlAHMALgBJAFUAZABvAG4AVgBhAHIAaQBhAGIAbABlACwAIABWAFIAQwAuAFUAZABvAG4ALgBDAG8AbQBtAG8AbgBdAF0ALAAgAG0AcwBjAG8AcgBsAGkAYgABAAAABgEAAAAAAAAAAi8CAAAAAUkAAABWAFIAQwAuAFUAZABvAG4ALgBDAG8AbQBtAG8AbgAuAFUAZABvAG4AVgBhAHIAaQBhAGIAbABlAGAAMQBbAFsAUwB5AHMAdABlAG0ALgBJAG4AdAAzADIALAAgAG0AcwBjAG8AcgBsAGkAYgBdAF0ALAAgAFYAUgBDAC4AVQBkAG8AbgAuAEMAbwBtAG0AbwBuAAIAAAAGAgAAAAAAAAAnAQQAAAB0AHkAcABlAAEXAAAAUwB5AHMAdABlAG0ALgBTAHQAcgBpAG4AZwAsACAAbQBzAGMAbwByAGwAaQBiACcBCgAAAFMAeQBtAGIAbwBsAE4AYQBtAGUAAR8AAABfAF8AXwBVAGQAbwBuAFMAaABhAHIAcABCAGUAaABhAHYAaQBvAHUAcgBWAGUAcgBzAGkAbwBuAF8AXwBfACcBBAAAAHQAeQBwAGUAARYAAABTAHkAcwB0AGUAbQAuAEkAbgB0ADMAMgAsACAAbQBzAGMAbwByAGwAaQBiABcBBQAAAFYAYQBsAHUAZQACAAAABwUHBQcF
publicVariablesUnityEngineObjects: [] publicVariablesUnityEngineObjects: []
publicVariablesSerializationDataFormat: 0 publicVariablesSerializationDataFormat: 0
--- !u!1 &7951288449963250592
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7682722238609482187}
- component: {fileID: 9190027058058457193}
- component: {fileID: 95753584309622584}
m_Layer: 13
m_Name: Card Mesh
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &7682722238609482187
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7951288449963250592}
serializedVersion: 2
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0.75, y: 0.005, z: 0.15}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 4784420777705181201}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &9190027058058457193
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7951288449963250592}
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
--- !u!23 &95753584309622584
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7951288449963250592}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 2c0cd617d97924748a9d5e2eeb2039b5, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!1 &8532401947568035043 --- !u!1 &8532401947568035043
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -3033,7 +2780,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 0} m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1} m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0} m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 100, y: -50} m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3247025566774449011 --- !u!222 &3247025566774449011
CanvasRenderer: CanvasRenderer:
@ -3090,10 +2837,10 @@ MonoBehaviour:
m_faceColor: m_faceColor:
serializedVersion: 2 serializedVersion: 2
rgba: 4294967295 rgba: 4294967295
m_fontSize: 80 m_fontSize: 72
m_fontSizeBase: 80 m_fontSizeBase: 80
m_fontWeight: 400 m_fontWeight: 400
m_enableAutoSizing: 0 m_enableAutoSizing: 1
m_fontSizeMin: 18 m_fontSizeMin: 18
m_fontSizeMax: 72 m_fontSizeMax: 72
m_fontStyle: 0 m_fontStyle: 0
@ -3106,7 +2853,7 @@ MonoBehaviour:
m_lineSpacingMax: 0 m_lineSpacingMax: 0
m_paragraphSpacing: 0 m_paragraphSpacing: 0
m_charWidthMaxAdj: 0 m_charWidthMaxAdj: 0
m_enableWordWrapping: 1 m_enableWordWrapping: 0
m_wordWrappingRatios: 0.4 m_wordWrappingRatios: 0.4
m_overflowMode: 0 m_overflowMode: 0
m_linkedTextComponent: {fileID: 0} m_linkedTextComponent: {fileID: 0}
@ -3126,9 +2873,246 @@ MonoBehaviour:
m_VertexBufferAutoSizeReduction: 0 m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1 m_useMaxVisibleDescender: 1
m_pageToDisplay: 1 m_pageToDisplay: 1
m_margin: {x: 52.649914, y: 0, z: 61.883774, w: 0} m_margin: {x: -0.17972186, y: 0, z: 0.40933228, w: 0}
m_isUsingLegacyAnimationComponent: 0 m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0 m_isVolumetricText: 0
m_hasFontAssetChanged: 0 m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0} m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0} m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!1001 &3207368247254063957
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 1604211625791945829}
m_Modifications:
- target: {fileID: -8679921383154817045, guid: 43a698f97137dae40adf4b6dfffa5e41,
type: 3}
propertyPath: m_LocalPosition.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 43a698f97137dae40adf4b6dfffa5e41,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 43a698f97137dae40adf4b6dfffa5e41,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 43a698f97137dae40adf4b6dfffa5e41,
type: 3}
propertyPath: m_LocalRotation.w
value: 0.7071067
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 43a698f97137dae40adf4b6dfffa5e41,
type: 3}
propertyPath: m_LocalRotation.x
value: -0.7071068
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 43a698f97137dae40adf4b6dfffa5e41,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 43a698f97137dae40adf4b6dfffa5e41,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 43a698f97137dae40adf4b6dfffa5e41,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 43a698f97137dae40adf4b6dfffa5e41,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 43a698f97137dae40adf4b6dfffa5e41,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -7511558181221131132, guid: 43a698f97137dae40adf4b6dfffa5e41,
type: 3}
propertyPath: m_Materials.Array.data[0]
value:
objectReference: {fileID: 2100000, guid: 2c0cd617d97924748a9d5e2eeb2039b5, type: 2}
- target: {fileID: 919132149155446097, guid: 43a698f97137dae40adf4b6dfffa5e41,
type: 3}
propertyPath: m_Name
value: AnswerCard
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 43a698f97137dae40adf4b6dfffa5e41, type: 3}
--- !u!4 &3100839463103724734 stripped
Transform:
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: 43a698f97137dae40adf4b6dfffa5e41,
type: 3}
m_PrefabInstance: {fileID: 3207368247254063957}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &3396873002221355998
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 4784420777705181201}
m_Modifications:
- target: {fileID: -8679921383154817045, guid: 43a698f97137dae40adf4b6dfffa5e41,
type: 3}
propertyPath: m_LocalPosition.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 43a698f97137dae40adf4b6dfffa5e41,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 43a698f97137dae40adf4b6dfffa5e41,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 43a698f97137dae40adf4b6dfffa5e41,
type: 3}
propertyPath: m_LocalRotation.w
value: 0.7071067
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 43a698f97137dae40adf4b6dfffa5e41,
type: 3}
propertyPath: m_LocalRotation.x
value: -0.7071068
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 43a698f97137dae40adf4b6dfffa5e41,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 43a698f97137dae40adf4b6dfffa5e41,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 43a698f97137dae40adf4b6dfffa5e41,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 43a698f97137dae40adf4b6dfffa5e41,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 43a698f97137dae40adf4b6dfffa5e41,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -7511558181221131132, guid: 43a698f97137dae40adf4b6dfffa5e41,
type: 3}
propertyPath: m_Materials.Array.data[0]
value:
objectReference: {fileID: 2100000, guid: 2c0cd617d97924748a9d5e2eeb2039b5, type: 2}
- target: {fileID: 919132149155446097, guid: 43a698f97137dae40adf4b6dfffa5e41,
type: 3}
propertyPath: m_Name
value: AnswerCard
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 43a698f97137dae40adf4b6dfffa5e41, type: 3}
--- !u!4 &2931461289915556917 stripped
Transform:
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: 43a698f97137dae40adf4b6dfffa5e41,
type: 3}
m_PrefabInstance: {fileID: 3396873002221355998}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &4530346997371505322
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 2005410010811368080}
m_Modifications:
- target: {fileID: -8679921383154817045, guid: 43a698f97137dae40adf4b6dfffa5e41,
type: 3}
propertyPath: m_LocalPosition.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 43a698f97137dae40adf4b6dfffa5e41,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 43a698f97137dae40adf4b6dfffa5e41,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 43a698f97137dae40adf4b6dfffa5e41,
type: 3}
propertyPath: m_LocalRotation.w
value: 0.7071067
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 43a698f97137dae40adf4b6dfffa5e41,
type: 3}
propertyPath: m_LocalRotation.x
value: -0.7071068
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 43a698f97137dae40adf4b6dfffa5e41,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 43a698f97137dae40adf4b6dfffa5e41,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 43a698f97137dae40adf4b6dfffa5e41,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 43a698f97137dae40adf4b6dfffa5e41,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 43a698f97137dae40adf4b6dfffa5e41,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -7511558181221131132, guid: 43a698f97137dae40adf4b6dfffa5e41,
type: 3}
propertyPath: m_Materials.Array.data[0]
value:
objectReference: {fileID: 2100000, guid: 2c0cd617d97924748a9d5e2eeb2039b5, type: 2}
- target: {fileID: 919132149155446097, guid: 43a698f97137dae40adf4b6dfffa5e41,
type: 3}
propertyPath: m_Name
value: AnswerCard
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 43a698f97137dae40adf4b6dfffa5e41, type: 3}
--- !u!4 &4131419245482044737 stripped
Transform:
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: 43a698f97137dae40adf4b6dfffa5e41,
type: 3}
m_PrefabInstance: {fileID: 4530346997371505322}
m_PrefabAsset: {fileID: 0}

View File

@ -391,17 +391,17 @@ PrefabInstance:
- target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244, - target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244,
type: 3} type: 3}
propertyPath: m_LocalScale.x propertyPath: m_LocalScale.x
value: 0.6666667 value: 1
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244, - target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244,
type: 3} type: 3}
propertyPath: m_LocalScale.y propertyPath: m_LocalScale.y
value: 0.6666667 value: 1
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244, - target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244,
type: 3} type: 3}
propertyPath: m_LocalScale.z propertyPath: m_LocalScale.z
value: 0.6666667 value: 1
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244, - target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244,
type: 3} type: 3}
@ -1614,17 +1614,17 @@ PrefabInstance:
- target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244, - target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244,
type: 3} type: 3}
propertyPath: m_LocalScale.x propertyPath: m_LocalScale.x
value: 0.6666667 value: 1
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244, - target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244,
type: 3} type: 3}
propertyPath: m_LocalScale.y propertyPath: m_LocalScale.y
value: 0.6666667 value: 1
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244, - target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244,
type: 3} type: 3}
propertyPath: m_LocalScale.z propertyPath: m_LocalScale.z
value: 0.6666667 value: 1
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244, - target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244,
type: 3} type: 3}
@ -2036,7 +2036,7 @@ MonoBehaviour:
orientation: 1 orientation: 1
AutoHold: 1 AutoHold: 1
InteractionText: Pick Up InteractionText: Pick Up
UseText: Use UseText: Advance
useEventBroadcastType: 0 useEventBroadcastType: 0
UseDownEventName: UseDownEventName:
UseUpEventName: UseUpEventName:
@ -2163,7 +2163,6 @@ MonoBehaviour:
PrefabModifications: [] PrefabModifications: []
SerializationNodes: [] SerializationNodes: []
_udonSharpBackingUdonBehaviour: {fileID: 379391078} _udonSharpBackingUdonBehaviour: {fileID: 379391078}
_AdminPanel: {fileID: 0}
PlayerPodiums: PlayerPodiums:
- {fileID: 4438766482650780795} - {fileID: 4438766482650780795}
- {fileID: 1993364535} - {fileID: 1993364535}
@ -2577,17 +2576,17 @@ PrefabInstance:
- target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244, - target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244,
type: 3} type: 3}
propertyPath: m_LocalScale.x propertyPath: m_LocalScale.x
value: 0.6666667 value: 1
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244, - target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244,
type: 3} type: 3}
propertyPath: m_LocalScale.y propertyPath: m_LocalScale.y
value: 0.6666667 value: 1
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244, - target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244,
type: 3} type: 3}
propertyPath: m_LocalScale.z propertyPath: m_LocalScale.z
value: 0.6666667 value: 1
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244, - target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244,
type: 3} type: 3}
@ -3124,17 +3123,17 @@ PrefabInstance:
- target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244, - target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244,
type: 3} type: 3}
propertyPath: m_LocalScale.x propertyPath: m_LocalScale.x
value: 0.6666667 value: 1
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244, - target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244,
type: 3} type: 3}
propertyPath: m_LocalScale.y propertyPath: m_LocalScale.y
value: 0.6666667 value: 1
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244, - target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244,
type: 3} type: 3}
propertyPath: m_LocalScale.z propertyPath: m_LocalScale.z
value: 0.6666667 value: 1
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244, - target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244,
type: 3} type: 3}
@ -3510,17 +3509,17 @@ PrefabInstance:
- target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244, - target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244,
type: 3} type: 3}
propertyPath: m_LocalScale.x propertyPath: m_LocalScale.x
value: 0.6666667 value: 1
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244, - target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244,
type: 3} type: 3}
propertyPath: m_LocalScale.y propertyPath: m_LocalScale.y
value: 0.6666667 value: 1
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244, - target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244,
type: 3} type: 3}
propertyPath: m_LocalScale.z propertyPath: m_LocalScale.z
value: 0.6666667 value: 1
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244, - target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244,
type: 3} type: 3}
@ -4609,17 +4608,17 @@ PrefabInstance:
- target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244, - target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244,
type: 3} type: 3}
propertyPath: m_LocalScale.x propertyPath: m_LocalScale.x
value: 0.6666667 value: 1
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244, - target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244,
type: 3} type: 3}
propertyPath: m_LocalScale.y propertyPath: m_LocalScale.y
value: 0.6666667 value: 1
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244, - target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244,
type: 3} type: 3}
propertyPath: m_LocalScale.z propertyPath: m_LocalScale.z
value: 0.6666667 value: 1
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244, - target: {fileID: 8055959652257360952, guid: fac4aa7abd3ecbe44a9eaf7f05275244,
type: 3} type: 3}
@ -6619,7 +6618,7 @@ ReflectionProbe:
m_TimeSlicingMode: 0 m_TimeSlicingMode: 0
m_Resolution: 64 m_Resolution: 64
m_UpdateFrequency: 0 m_UpdateFrequency: 0
m_BoxSize: {x: 50, y: 42.137497, z: 50} m_BoxSize: {x: 75, y: 42.137497, z: 75}
m_BoxOffset: {x: 0, y: 0, z: 0} m_BoxOffset: {x: 0, y: 0, z: 0}
m_NearClip: 0.3 m_NearClip: 0.3
m_FarClip: 1000 m_FarClip: 1000
@ -6677,8 +6676,8 @@ OcclusionArea:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1687043073} m_GameObject: {fileID: 1687043073}
serializedVersion: 2 serializedVersion: 2
m_Size: {x: 18.844723, y: 6.7588186, z: 19.857944} m_Size: {x: 18.844723, y: 7.6870975, z: 24.918444}
m_Center: {x: 0, y: 3.2924318, z: 0} m_Center: {x: 0, y: 2.8282924, z: 7.402621}
m_IsViewVolume: 1 m_IsViewVolume: 1
--- !u!4 &1687043075 --- !u!4 &1687043075
Transform: Transform:
@ -8707,10 +8706,10 @@ MonoBehaviour:
- {fileID: 2100000, guid: 5a56ded101f363e46861c8fe1c4f360e, type: 2} - {fileID: 2100000, guid: 5a56ded101f363e46861c8fe1c4f360e, type: 2}
- {fileID: 2100000, guid: bd8b723337ae5824fa61f693f76e943f, type: 2} - {fileID: 2100000, guid: bd8b723337ae5824fa61f693f76e943f, type: 2}
- {fileID: 2100000, guid: faae26a849699fc4b804b74882a344df, type: 2} - {fileID: 2100000, guid: faae26a849699fc4b804b74882a344df, type: 2}
- {fileID: 2100000, guid: d1244b908a4cccd4397cc9cad45fe846, type: 2}
- {fileID: 2100000, guid: 9cdc0250a4c9b534fae68ae6aa90bf31, type: 2} - {fileID: 2100000, guid: 9cdc0250a4c9b534fae68ae6aa90bf31, type: 2}
- {fileID: 2100000, guid: 9ae5e187a5d8f4e4893d37b62cbf0959, type: 2} - {fileID: 2100000, guid: 9ae5e187a5d8f4e4893d37b62cbf0959, type: 2}
- {fileID: 2100000, guid: ff135f18e14d9a94287191652767f722, type: 2} - {fileID: 2100000, guid: ff135f18e14d9a94287191652767f722, type: 2}
- {fileID: 2100000, guid: d1244b908a4cccd4397cc9cad45fe846, type: 2}
- {fileID: 2100000, guid: 341141e903fac3e4ca54a62259c6d01d, type: 2} - {fileID: 2100000, guid: 341141e903fac3e4ca54a62259c6d01d, type: 2}
LightMapsNear: [] LightMapsNear: []
LightMapsFar: [] LightMapsFar: []

View File

@ -13,7 +13,8 @@ Material:
m_ModifiedSerializedProperties: 0 m_ModifiedSerializedProperties: 0
m_ValidKeywords: m_ValidKeywords:
- _ENABLE_GEOMETRIC_SPECULAR_AA - _ENABLE_GEOMETRIC_SPECULAR_AA
m_InvalidKeywords: [] m_InvalidKeywords:
- _NORMALMAP
m_LightmapFlags: 4 m_LightmapFlags: 4
m_EnableInstancingVariants: 0 m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0 m_DoubleSidedGI: 0
@ -25,7 +26,7 @@ Material:
serializedVersion: 3 serializedVersion: 3
m_TexEnvs: m_TexEnvs:
- _BumpMap: - _BumpMap:
m_Texture: {fileID: 0} m_Texture: {fileID: 2800000, guid: 511a2a95e47da9a4fb1b0b8146ad3e70, type: 3}
m_Scale: {x: 1, y: 1} m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0} m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap: - _DetailAlbedoMap:
@ -63,7 +64,7 @@ Material:
m_Ints: [] m_Ints: []
m_Floats: m_Floats:
- _Bicubic: 0 - _Bicubic: 0
- _BumpScale: 1 - _BumpScale: 0.33333334
- _Cutoff: 0.5 - _Cutoff: 0.5
- _DetailNormalMapScale: 1 - _DetailNormalMapScale: 1
- _DstBlend: 0 - _DstBlend: 0

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,5 @@
 
using BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto;
using TMPro; using TMPro;
using UdonSharp; using UdonSharp;
using UnityEngine; using UnityEngine;
@ -24,29 +25,20 @@ public class ChoiceCardGroup : UdonSharpBehaviour
void Start() void Start()
{ {
VRCPlayerApi Player = Networking.GetOwner(_Podium.gameObject);
Debug.Assert(Player != null);
for (int i = 0; i < _ChoiceCards.Length; i++) for (int i = 0; i < _ChoiceCards.Length; i++)
{ {
ChoiceCard Card = _ChoiceCards[i]; ChoiceCard Card = _ChoiceCards[i];
Card.SetCardGroup(this); Card.SetCardGroup(this);
bool IsInVR = Player.IsUserInVR();
Card.DisableInteractive = IsInVR;
VRCPickup Pickup = Card.GetComponent<VRCPickup>();
if (Pickup != null)
{
Pickup.pickupable = IsInVR;
}
} }
} }
[NetworkCallable]
public void ChoiceCardPickedUp(int ChoiceNumber) public void ChoiceCardPickedUp(int ChoiceNumber)
{ {
_SelectedChoice = ChoiceNumber; _SelectedChoice = ChoiceNumber;
Debug.LogError("[[DEBUG]] Choice number is " + ChoiceNumber + "; selected choice is now " + _SelectedChoice);
} }
[NetworkCallable] [NetworkCallable]
@ -60,8 +52,6 @@ public class ChoiceCardGroup : UdonSharpBehaviour
_SelectedChoice = ChoiceNumber; _SelectedChoice = ChoiceNumber;
Debug.LogWarning("[[DEBUG]] Selected choice is " + _SelectedChoice);
VRCPlayerApi Player = Networking.GetOwner(_Podium.gameObject); VRCPlayerApi Player = Networking.GetOwner(_Podium.gameObject);
Debug.Assert(Player != null); Debug.Assert(Player != null);
@ -69,8 +59,6 @@ public class ChoiceCardGroup : UdonSharpBehaviour
{ {
ChoiceCard Card = _ChoiceCards[i]; ChoiceCard Card = _ChoiceCards[i];
Debug.LogWarning("[[DEBUG]] Card choice for index " + i + " is " + Card.ChoiceNumber);
_PCCardAnimator.SetBool("Turn Forward", false); _PCCardAnimator.SetBool("Turn Forward", false);
if (Card.ChoiceNumber == _SelectedChoice) if (Card.ChoiceNumber == _SelectedChoice)
@ -121,40 +109,53 @@ public class ChoiceCardGroup : UdonSharpBehaviour
} }
public void SetChoices(string Choice1, string Choice2, string Choice3) public void SetChoices(string[] Choices, int[] Indices)
{ {
VRCPlayerApi Player = Networking.GetOwner(_Podium.gameObject); _ChoiceCards[Indices[0]].ChoiceNumber = 1;
float RandomSeed = (Player.GetPosition().x * 100) + (Player.GetPosition().z * 1000); _ChoiceCardText[Indices[0]].text = Choices[0];
Random.InitState((int)RandomSeed);
int[] ChoiceIndices = { 0, 1, 2 }; _ChoiceCards[Indices[1]].ChoiceNumber = 2;
_ChoiceCardText[Indices[1]].text = Choices[1];
int Choice1Index = ChoiceIndices[Random.Range(0, 3)]; _ChoiceCards[Indices[2]].ChoiceNumber = 3;
_ChoiceCards[Choice1Index].ChoiceNumber = 1; _ChoiceCardText[Indices[2]].text = Choices[2];
_ChoiceCardText[Choice1Index].text = Choice1; }
ChoiceIndices[Choice1Index] = -1;
int Choice2Index = -1; public void LockInChoice()
while(Choice2Index == -1) { Choice2Index = ChoiceIndices[Random.Range(0, 3)]; } {
_ChoiceCards[Choice2Index].ChoiceNumber = 2; for (int i = 0; i < _ChoiceCards.Length; i++)
_ChoiceCardText[Choice2Index].text = Choice2; {
ChoiceIndices[Choice2Index] = -1; ChoiceCard Card = _ChoiceCards[i];
if (Card.ChoiceNumber == _SelectedChoice) { continue; }
int Choice3Index = -1; Card.DisableInteractive = true;
while (Choice3Index == -1) { Choice3Index = ChoiceIndices[Random.Range(0, 3)]; } VRCPickup Pickup = Card.GetComponent<VRCPickup>();
_ChoiceCards[Choice3Index].ChoiceNumber = 3; if (Pickup != null) { Pickup.pickupable = false; }
_ChoiceCardText[Choice3Index].text = Choice3; }
ChoiceIndices[Choice3Index] = -1;
} }
public void ResetCards() public void ResetCards()
{ {
_SelectedChoice = -1; _SelectedChoice = -1;
VRCPlayerApi Player = Networking.GetOwner(_Podium.gameObject);
Debug.Assert(Player != null);
bool IsInVR = Player.IsUserInVR();
for (int i = 0; i < _ChoiceCards.Length; i++) for (int i = 0; i < _ChoiceCards.Length; i++)
{ {
_ChoiceCards[i].ResetPosition(); ChoiceCard Card = _ChoiceCards[i];
Card.ResetPosition();
_ChoiceCardText[i].text = ""; _ChoiceCardText[i].text = "";
Card.DisableInteractive = IsInVR;
VRCPickup Pickup = Card.GetComponent<VRCPickup>();
if (Pickup != null)
{
Pickup.pickupable = IsInVR;
}
} }
} }
} }

View File

@ -50,19 +50,19 @@ MonoBehaviour:
Data: Data:
- Name: $k - Name: $k
Entry: 1 Entry: 1
Data: _AdminPanel Data: BuzzInAllowed
- Name: $v - Name: $v
Entry: 7 Entry: 7
Data: 2|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor Data: 2|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField - Name: <Name>k__BackingField
Entry: 1 Entry: 1
Data: _AdminPanel Data: BuzzInAllowed
- Name: <UserType>k__BackingField - Name: <UserType>k__BackingField
Entry: 7 Entry: 7
Data: 3|System.RuntimeType, mscorlib Data: 3|System.RuntimeType, mscorlib
- Name: - Name:
Entry: 1 Entry: 1
Data: UnityEngine.GameObject, UnityEngine.CoreModule Data: System.Boolean, mscorlib
- Name: - Name:
Entry: 8 Entry: 8
Data: Data:
@ -73,14 +73,14 @@ MonoBehaviour:
Entry: 7 Entry: 7
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
- Name: - Name:
Entry: 6 Entry: 3
Data: Data: 1
- Name: - Name:
Entry: 8 Entry: 8
Data: Data:
- Name: <IsSerialized>k__BackingField - Name: <IsSerialized>k__BackingField
Entry: 5 Entry: 5
Data: true Data: false
- Name: _fieldAttributes - Name: _fieldAttributes
Entry: 7 Entry: 7
Data: 4|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib Data: 4|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib
@ -89,7 +89,7 @@ MonoBehaviour:
Data: 1 Data: 1
- Name: - Name:
Entry: 7 Entry: 7
Data: 5|UnityEngine.SerializeField, UnityEngine.CoreModule Data: 5|UdonSharp.UdonSyncedAttribute, UdonSharp.Runtime
- Name: - Name:
Entry: 8 Entry: 8
Data: Data:
@ -110,19 +110,19 @@ MonoBehaviour:
Data: Data:
- Name: $k - Name: $k
Entry: 1 Entry: 1
Data: BuzzInAllowed Data: PlayerBuzzInAllowed
- Name: $v - Name: $v
Entry: 7 Entry: 7
Data: 6|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor Data: 6|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField - Name: <Name>k__BackingField
Entry: 1 Entry: 1
Data: BuzzInAllowed Data: PlayerBuzzInAllowed
- Name: <UserType>k__BackingField - Name: <UserType>k__BackingField
Entry: 7 Entry: 7
Data: 7|System.RuntimeType, mscorlib Data: 7|System.RuntimeType, mscorlib
- Name: - Name:
Entry: 1 Entry: 1
Data: System.Boolean, mscorlib Data: System.Boolean[], mscorlib
- Name: - Name:
Entry: 8 Entry: 8
Data: Data:
@ -170,19 +170,19 @@ MonoBehaviour:
Data: Data:
- Name: $k - Name: $k
Entry: 1 Entry: 1
Data: PlayerBuzzInAllowed Data: _BuzzedInPlayer
- Name: $v - Name: $v
Entry: 7 Entry: 7
Data: 10|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor Data: 10|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField - Name: <Name>k__BackingField
Entry: 1 Entry: 1
Data: PlayerBuzzInAllowed Data: _BuzzedInPlayer
- Name: <UserType>k__BackingField - Name: <UserType>k__BackingField
Entry: 7 Entry: 7
Data: 11|System.RuntimeType, mscorlib Data: 11|System.RuntimeType, mscorlib
- Name: - Name:
Entry: 1 Entry: 1
Data: System.Boolean[], mscorlib Data: System.Int32, mscorlib
- Name: - Name:
Entry: 8 Entry: 8
Data: Data:
@ -230,19 +230,19 @@ MonoBehaviour:
Data: Data:
- Name: $k - Name: $k
Entry: 1 Entry: 1
Data: _BuzzedInPlayer Data: _QuestionsList
- Name: $v - Name: $v
Entry: 7 Entry: 7
Data: 14|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor Data: 14|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField - Name: <Name>k__BackingField
Entry: 1 Entry: 1
Data: _BuzzedInPlayer Data: _QuestionsList
- Name: <UserType>k__BackingField - Name: <UserType>k__BackingField
Entry: 7 Entry: 7
Data: 15|System.RuntimeType, mscorlib Data: 15|System.RuntimeType, mscorlib
- Name: - Name:
Entry: 1 Entry: 1
Data: System.Int32, mscorlib Data: VRC.SDK3.Data.DataList, VRCSDK3
- Name: - Name:
Entry: 8 Entry: 8
Data: Data:
@ -252,66 +252,6 @@ MonoBehaviour:
- Name: <SyncMode>k__BackingField - Name: <SyncMode>k__BackingField
Entry: 7 Entry: 7
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
- Name:
Entry: 3
Data: 1
- Name:
Entry: 8
Data:
- Name: <IsSerialized>k__BackingField
Entry: 5
Data: false
- Name: _fieldAttributes
Entry: 7
Data: 16|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib
- Name:
Entry: 12
Data: 1
- Name:
Entry: 7
Data: 17|UdonSharp.UdonSyncedAttribute, UdonSharp.Runtime
- Name:
Entry: 8
Data:
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 7
Data:
- Name: $k
Entry: 1
Data: _CurrentQuestion
- Name: $v
Entry: 7
Data: 18|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField
Entry: 1
Data: _CurrentQuestion
- Name: <UserType>k__BackingField
Entry: 7
Data: 19|System.RuntimeType, mscorlib
- Name:
Entry: 1
Data: VRC.SDK3.Data.DataDictionary, VRCSDK3
- Name:
Entry: 8
Data:
- Name: <SystemType>k__BackingField
Entry: 9
Data: 19
- Name: <SyncMode>k__BackingField
Entry: 7
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
- Name: - Name:
Entry: 6 Entry: 6
Data: Data:
@ -323,7 +263,7 @@ MonoBehaviour:
Data: false Data: false
- Name: _fieldAttributes - Name: _fieldAttributes
Entry: 7 Entry: 7
Data: 20|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib Data: 16|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib
- Name: - Name:
Entry: 12 Entry: 12
Data: 0 Data: 0
@ -344,25 +284,121 @@ MonoBehaviour:
Data: Data:
- Name: $k - Name: $k
Entry: 1 Entry: 1
Data: _CurrentQuestionType Data: _QuestionIndex
- Name: $v - Name: $v
Entry: 7 Entry: 7
Data: 21|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor Data: 17|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField - Name: <Name>k__BackingField
Entry: 1 Entry: 1
Data: _CurrentQuestionType Data: _QuestionIndex
- Name: <UserType>k__BackingField
Entry: 9
Data: 11
- Name: <SystemType>k__BackingField
Entry: 9
Data: 11
- Name: <SyncMode>k__BackingField
Entry: 7
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
- Name:
Entry: 6
Data:
- Name:
Entry: 8
Data:
- Name: <IsSerialized>k__BackingField
Entry: 5
Data: false
- Name: _fieldAttributes
Entry: 7
Data: 18|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib
- Name:
Entry: 12
Data: 0
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 7
Data:
- Name: $k
Entry: 1
Data: _CurrentQuestion
- Name: $v
Entry: 7
Data: 19|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField
Entry: 1
Data: _CurrentQuestion
- Name: <UserType>k__BackingField - Name: <UserType>k__BackingField
Entry: 7 Entry: 7
Data: 22|System.RuntimeType, mscorlib Data: 20|System.RuntimeType, mscorlib
- Name: - Name:
Entry: 1 Entry: 1
Data: QuestionType, Assembly-CSharp Data: VRC.SDK3.Data.DataDictionary, VRCSDK3
- Name: - Name:
Entry: 8 Entry: 8
Data: Data:
- Name: <SystemType>k__BackingField - Name: <SystemType>k__BackingField
Entry: 9 Entry: 9
Data: 15 Data: 20
- Name: <SyncMode>k__BackingField
Entry: 7
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
- Name:
Entry: 6
Data:
- Name:
Entry: 8
Data:
- Name: <IsSerialized>k__BackingField
Entry: 5
Data: false
- Name: _fieldAttributes
Entry: 7
Data: 21|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib
- Name:
Entry: 12
Data: 0
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 7
Data:
- Name: $k
Entry: 1
Data: _QuestionStage
- Name: $v
Entry: 7
Data: 22|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField
Entry: 1
Data: _QuestionStage
- Name: <UserType>k__BackingField
Entry: 9
Data: 11
- Name: <SystemType>k__BackingField
Entry: 9
Data: 11
- Name: <SyncMode>k__BackingField - Name: <SyncMode>k__BackingField
Entry: 7 Entry: 7
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
@ -404,19 +440,19 @@ MonoBehaviour:
Data: Data:
- Name: $k - Name: $k
Entry: 1 Entry: 1
Data: _CurrentQuestionStage Data: _QuestionCorrectResponse
- Name: $v - Name: $v
Entry: 7 Entry: 7
Data: 25|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor Data: 25|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField - Name: <Name>k__BackingField
Entry: 1 Entry: 1
Data: _CurrentQuestionStage Data: _QuestionCorrectResponse
- Name: <UserType>k__BackingField - Name: <UserType>k__BackingField
Entry: 9 Entry: 9
Data: 15 Data: 11
- Name: <SystemType>k__BackingField - Name: <SystemType>k__BackingField
Entry: 9 Entry: 9
Data: 15 Data: 11
- Name: <SyncMode>k__BackingField - Name: <SyncMode>k__BackingField
Entry: 7 Entry: 7
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
@ -458,70 +494,16 @@ MonoBehaviour:
Data: Data:
- Name: $k - Name: $k
Entry: 1 Entry: 1
Data: _CurrentQuestionCorrectResponse Data: PlayerPodiums
- Name: $v - Name: $v
Entry: 7 Entry: 7
Data: 28|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor Data: 28|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField
Entry: 1
Data: _CurrentQuestionCorrectResponse
- Name: <UserType>k__BackingField
Entry: 9
Data: 15
- Name: <SystemType>k__BackingField
Entry: 9
Data: 15
- Name: <SyncMode>k__BackingField
Entry: 7
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
- Name:
Entry: 3
Data: 1
- Name:
Entry: 8
Data:
- Name: <IsSerialized>k__BackingField
Entry: 5
Data: false
- Name: _fieldAttributes
Entry: 7
Data: 29|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib
- Name:
Entry: 12
Data: 1
- Name:
Entry: 7
Data: 30|UdonSharp.UdonSyncedAttribute, UdonSharp.Runtime
- Name:
Entry: 8
Data:
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 7
Data:
- Name: $k
Entry: 1
Data: PlayerPodiums
- Name: $v
Entry: 7
Data: 31|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField - Name: <Name>k__BackingField
Entry: 1 Entry: 1
Data: PlayerPodiums Data: PlayerPodiums
- Name: <UserType>k__BackingField - Name: <UserType>k__BackingField
Entry: 7 Entry: 7
Data: 32|System.RuntimeType, mscorlib Data: 29|System.RuntimeType, mscorlib
- Name: - Name:
Entry: 1 Entry: 1
Data: PlayerPodium[], Assembly-CSharp Data: PlayerPodium[], Assembly-CSharp
@ -530,7 +512,7 @@ MonoBehaviour:
Data: Data:
- Name: <SystemType>k__BackingField - Name: <SystemType>k__BackingField
Entry: 7 Entry: 7
Data: 33|System.RuntimeType, mscorlib Data: 30|System.RuntimeType, mscorlib
- Name: - Name:
Entry: 1 Entry: 1
Data: UnityEngine.Component[], UnityEngine.CoreModule Data: UnityEngine.Component[], UnityEngine.CoreModule
@ -551,7 +533,7 @@ MonoBehaviour:
Data: true Data: true
- Name: _fieldAttributes - Name: _fieldAttributes
Entry: 7 Entry: 7
Data: 34|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib Data: 31|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib
- Name: - Name:
Entry: 12 Entry: 12
Data: 0 Data: 0
@ -575,13 +557,13 @@ MonoBehaviour:
Data: QuestionURL Data: QuestionURL
- Name: $v - Name: $v
Entry: 7 Entry: 7
Data: 35|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor Data: 32|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField - Name: <Name>k__BackingField
Entry: 1 Entry: 1
Data: QuestionURL Data: QuestionURL
- Name: <UserType>k__BackingField - Name: <UserType>k__BackingField
Entry: 7 Entry: 7
Data: 36|System.RuntimeType, mscorlib Data: 33|System.RuntimeType, mscorlib
- Name: - Name:
Entry: 1 Entry: 1
Data: VRC.SDKBase.VRCUrl, VRCSDKBase Data: VRC.SDKBase.VRCUrl, VRCSDKBase
@ -590,7 +572,7 @@ MonoBehaviour:
Data: Data:
- Name: <SystemType>k__BackingField - Name: <SystemType>k__BackingField
Entry: 9 Entry: 9
Data: 36 Data: 33
- Name: <SyncMode>k__BackingField - Name: <SyncMode>k__BackingField
Entry: 7 Entry: 7
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
@ -605,13 +587,13 @@ MonoBehaviour:
Data: true Data: true
- Name: _fieldAttributes - Name: _fieldAttributes
Entry: 7 Entry: 7
Data: 37|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib Data: 34|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib
- Name: - Name:
Entry: 12 Entry: 12
Data: 1 Data: 1
- Name: - Name:
Entry: 7 Entry: 7
Data: 38|UdonSharp.UdonSyncedAttribute, UdonSharp.Runtime Data: 35|UdonSharp.UdonSyncedAttribute, UdonSharp.Runtime
- Name: - Name:
Entry: 8 Entry: 8
Data: Data:
@ -635,13 +617,13 @@ MonoBehaviour:
Data: _InfoHeader Data: _InfoHeader
- Name: $v - Name: $v
Entry: 7 Entry: 7
Data: 39|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor Data: 36|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField - Name: <Name>k__BackingField
Entry: 1 Entry: 1
Data: _InfoHeader Data: _InfoHeader
- Name: <UserType>k__BackingField - Name: <UserType>k__BackingField
Entry: 7 Entry: 7
Data: 40|System.RuntimeType, mscorlib Data: 37|System.RuntimeType, mscorlib
- Name: - Name:
Entry: 1 Entry: 1
Data: TMPro.TextMeshProUGUI, Unity.TextMeshPro Data: TMPro.TextMeshProUGUI, Unity.TextMeshPro
@ -650,7 +632,7 @@ MonoBehaviour:
Data: Data:
- Name: <SystemType>k__BackingField - Name: <SystemType>k__BackingField
Entry: 9 Entry: 9
Data: 40 Data: 37
- Name: <SyncMode>k__BackingField - Name: <SyncMode>k__BackingField
Entry: 7 Entry: 7
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
@ -665,13 +647,13 @@ MonoBehaviour:
Data: true Data: true
- Name: _fieldAttributes - Name: _fieldAttributes
Entry: 7 Entry: 7
Data: 41|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib Data: 38|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib
- Name: - Name:
Entry: 12 Entry: 12
Data: 2 Data: 2
- Name: - Name:
Entry: 7 Entry: 7
Data: 42|UnityEngine.HeaderAttribute, UnityEngine.CoreModule Data: 39|UnityEngine.HeaderAttribute, UnityEngine.CoreModule
- Name: header - Name: header
Entry: 1 Entry: 1
Data: Multiple Choice Card UI Data: Multiple Choice Card UI
@ -680,7 +662,7 @@ MonoBehaviour:
Data: Data:
- Name: - Name:
Entry: 7 Entry: 7
Data: 43|UnityEngine.SerializeField, UnityEngine.CoreModule Data: 40|UnityEngine.SerializeField, UnityEngine.CoreModule
- Name: - Name:
Entry: 8 Entry: 8
Data: Data:
@ -704,13 +686,13 @@ MonoBehaviour:
Data: _InfoClues Data: _InfoClues
- Name: $v - Name: $v
Entry: 7 Entry: 7
Data: 44|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor Data: 41|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField - Name: <Name>k__BackingField
Entry: 1 Entry: 1
Data: _InfoClues Data: _InfoClues
- Name: <UserType>k__BackingField - Name: <UserType>k__BackingField
Entry: 7 Entry: 7
Data: 45|System.RuntimeType, mscorlib Data: 42|System.RuntimeType, mscorlib
- Name: - Name:
Entry: 1 Entry: 1
Data: TMPro.TextMeshProUGUI[], Unity.TextMeshPro Data: TMPro.TextMeshProUGUI[], Unity.TextMeshPro
@ -719,7 +701,61 @@ MonoBehaviour:
Data: Data:
- Name: <SystemType>k__BackingField - Name: <SystemType>k__BackingField
Entry: 9 Entry: 9
Data: 45 Data: 42
- Name: <SyncMode>k__BackingField
Entry: 7
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
- Name:
Entry: 6
Data:
- Name:
Entry: 8
Data:
- Name: <IsSerialized>k__BackingField
Entry: 5
Data: true
- Name: _fieldAttributes
Entry: 7
Data: 43|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib
- Name:
Entry: 12
Data: 1
- Name:
Entry: 7
Data: 44|UnityEngine.SerializeField, UnityEngine.CoreModule
- Name:
Entry: 8
Data:
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 7
Data:
- Name: $k
Entry: 1
Data: _InfoChoices
- Name: $v
Entry: 7
Data: 45|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField
Entry: 1
Data: _InfoChoices
- Name: <UserType>k__BackingField
Entry: 9
Data: 42
- Name: <SystemType>k__BackingField
Entry: 9
Data: 42
- Name: <SyncMode>k__BackingField - Name: <SyncMode>k__BackingField
Entry: 7 Entry: 7
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
@ -761,19 +797,25 @@ MonoBehaviour:
Data: Data:
- Name: $k - Name: $k
Entry: 1 Entry: 1
Data: _InfoChoices Data: _InfoChoiceButtons
- Name: $v - Name: $v
Entry: 7 Entry: 7
Data: 48|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor Data: 48|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField - Name: <Name>k__BackingField
Entry: 1 Entry: 1
Data: _InfoChoices Data: _InfoChoiceButtons
- Name: <UserType>k__BackingField - Name: <UserType>k__BackingField
Entry: 9 Entry: 7
Data: 45 Data: 49|System.RuntimeType, mscorlib
- Name:
Entry: 1
Data: UnityEngine.UI.Image[], UnityEngine.UI
- Name:
Entry: 8
Data:
- Name: <SystemType>k__BackingField - Name: <SystemType>k__BackingField
Entry: 9 Entry: 9
Data: 45 Data: 49
- Name: <SyncMode>k__BackingField - Name: <SyncMode>k__BackingField
Entry: 7 Entry: 7
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
@ -788,13 +830,13 @@ MonoBehaviour:
Data: true Data: true
- Name: _fieldAttributes - Name: _fieldAttributes
Entry: 7 Entry: 7
Data: 49|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib Data: 50|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib
- Name: - Name:
Entry: 12 Entry: 12
Data: 1 Data: 1
- Name: - Name:
Entry: 7 Entry: 7
Data: 50|UnityEngine.SerializeField, UnityEngine.CoreModule Data: 51|UnityEngine.SerializeField, UnityEngine.CoreModule
- Name: - Name:
Entry: 8 Entry: 8
Data: Data:
@ -815,25 +857,19 @@ MonoBehaviour:
Data: Data:
- Name: $k - Name: $k
Entry: 1 Entry: 1
Data: _InfoChoiceButtons Data: _Answer
- Name: $v - Name: $v
Entry: 7 Entry: 7
Data: 51|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor Data: 52|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField - Name: <Name>k__BackingField
Entry: 1 Entry: 1
Data: _InfoChoiceButtons Data: _Answer
- Name: <UserType>k__BackingField - Name: <UserType>k__BackingField
Entry: 7 Entry: 9
Data: 52|System.RuntimeType, mscorlib Data: 37
- Name:
Entry: 1
Data: UnityEngine.UI.Image[], UnityEngine.UI
- Name:
Entry: 8
Data:
- Name: <SystemType>k__BackingField - Name: <SystemType>k__BackingField
Entry: 9 Entry: 9
Data: 52 Data: 37
- Name: <SyncMode>k__BackingField - Name: <SyncMode>k__BackingField
Entry: 7 Entry: 7
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
@ -875,19 +911,25 @@ MonoBehaviour:
Data: Data:
- Name: $k - Name: $k
Entry: 1 Entry: 1
Data: _Answer Data: BuzzerSound
- Name: $v - Name: $v
Entry: 7 Entry: 7
Data: 55|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor Data: 55|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField - Name: <Name>k__BackingField
Entry: 1 Entry: 1
Data: _Answer Data: BuzzerSound
- Name: <UserType>k__BackingField - Name: <UserType>k__BackingField
Entry: 9 Entry: 7
Data: 40 Data: 56|System.RuntimeType, mscorlib
- Name:
Entry: 1
Data: UnityEngine.AudioClip, UnityEngine.AudioModule
- Name:
Entry: 8
Data:
- Name: <SystemType>k__BackingField - Name: <SystemType>k__BackingField
Entry: 9 Entry: 9
Data: 40 Data: 56
- Name: <SyncMode>k__BackingField - Name: <SyncMode>k__BackingField
Entry: 7 Entry: 7
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
@ -902,13 +944,22 @@ MonoBehaviour:
Data: true Data: true
- Name: _fieldAttributes - Name: _fieldAttributes
Entry: 7 Entry: 7
Data: 56|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib Data: 57|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib
- Name: - Name:
Entry: 12 Entry: 12
Data: 1 Data: 2
- Name: - Name:
Entry: 7 Entry: 7
Data: 57|UnityEngine.SerializeField, UnityEngine.CoreModule Data: 58|UnityEngine.HeaderAttribute, UnityEngine.CoreModule
- Name: header
Entry: 1
Data: Audio
- Name:
Entry: 8
Data:
- Name:
Entry: 7
Data: 59|UnityEngine.SerializeField, UnityEngine.CoreModule
- Name: - Name:
Entry: 8 Entry: 8
Data: Data:
@ -929,25 +980,19 @@ MonoBehaviour:
Data: Data:
- Name: $k - Name: $k
Entry: 1 Entry: 1
Data: BuzzerSound Data: WhereInTheWorld
- Name: $v - Name: $v
Entry: 7 Entry: 7
Data: 58|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor Data: 60|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField - Name: <Name>k__BackingField
Entry: 1 Entry: 1
Data: BuzzerSound Data: WhereInTheWorld
- Name: <UserType>k__BackingField - Name: <UserType>k__BackingField
Entry: 7 Entry: 9
Data: 59|System.RuntimeType, mscorlib Data: 56
- Name:
Entry: 1
Data: UnityEngine.AudioClip, UnityEngine.AudioModule
- Name:
Entry: 8
Data:
- Name: <SystemType>k__BackingField - Name: <SystemType>k__BackingField
Entry: 9 Entry: 9
Data: 59 Data: 56
- Name: <SyncMode>k__BackingField - Name: <SyncMode>k__BackingField
Entry: 7 Entry: 7
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
@ -962,19 +1007,10 @@ MonoBehaviour:
Data: true Data: true
- Name: _fieldAttributes - Name: _fieldAttributes
Entry: 7 Entry: 7
Data: 60|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib Data: 61|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib
- Name: - Name:
Entry: 12 Entry: 12
Data: 2 Data: 1
- Name:
Entry: 7
Data: 61|UnityEngine.HeaderAttribute, UnityEngine.CoreModule
- Name: header
Entry: 1
Data: Audio
- Name:
Entry: 8
Data:
- Name: - Name:
Entry: 7 Entry: 7
Data: 62|UnityEngine.SerializeField, UnityEngine.CoreModule Data: 62|UnityEngine.SerializeField, UnityEngine.CoreModule
@ -998,19 +1034,19 @@ MonoBehaviour:
Data: Data:
- Name: $k - Name: $k
Entry: 1 Entry: 1
Data: WhereInTheWorld Data: RockapellaIdent
- Name: $v - Name: $v
Entry: 7 Entry: 7
Data: 63|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor Data: 63|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField - Name: <Name>k__BackingField
Entry: 1 Entry: 1
Data: WhereInTheWorld Data: RockapellaIdent
- Name: <UserType>k__BackingField - Name: <UserType>k__BackingField
Entry: 9 Entry: 9
Data: 59 Data: 56
- Name: <SystemType>k__BackingField - Name: <SystemType>k__BackingField
Entry: 9 Entry: 9
Data: 59 Data: 56
- Name: <SyncMode>k__BackingField - Name: <SyncMode>k__BackingField
Entry: 7 Entry: 7
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
@ -1052,19 +1088,25 @@ MonoBehaviour:
Data: Data:
- Name: $k - Name: $k
Entry: 1 Entry: 1
Data: RockapellaIdent Data: MusicPlayer
- Name: $v - Name: $v
Entry: 7 Entry: 7
Data: 66|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor Data: 66|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField - Name: <Name>k__BackingField
Entry: 1 Entry: 1
Data: RockapellaIdent Data: MusicPlayer
- Name: <UserType>k__BackingField - Name: <UserType>k__BackingField
Entry: 9 Entry: 7
Data: 59 Data: 67|System.RuntimeType, mscorlib
- Name:
Entry: 1
Data: UnityEngine.AudioSource, UnityEngine.AudioModule
- Name:
Entry: 8
Data:
- Name: <SystemType>k__BackingField - Name: <SystemType>k__BackingField
Entry: 9 Entry: 9
Data: 59 Data: 67
- Name: <SyncMode>k__BackingField - Name: <SyncMode>k__BackingField
Entry: 7 Entry: 7
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
@ -1079,13 +1121,13 @@ MonoBehaviour:
Data: true Data: true
- Name: _fieldAttributes - Name: _fieldAttributes
Entry: 7 Entry: 7
Data: 67|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib Data: 68|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib
- Name: - Name:
Entry: 12 Entry: 12
Data: 1 Data: 1
- Name: - Name:
Entry: 7 Entry: 7
Data: 68|UnityEngine.SerializeField, UnityEngine.CoreModule Data: 69|UnityEngine.SerializeField, UnityEngine.CoreModule
- Name: - Name:
Entry: 8 Entry: 8
Data: Data:
@ -1106,25 +1148,19 @@ MonoBehaviour:
Data: Data:
- Name: $k - Name: $k
Entry: 1 Entry: 1
Data: MusicPlayer Data: SFXPlayer
- Name: $v - Name: $v
Entry: 7 Entry: 7
Data: 69|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor Data: 70|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField - Name: <Name>k__BackingField
Entry: 1 Entry: 1
Data: MusicPlayer Data: SFXPlayer
- Name: <UserType>k__BackingField - Name: <UserType>k__BackingField
Entry: 7 Entry: 9
Data: 70|System.RuntimeType, mscorlib Data: 67
- Name:
Entry: 1
Data: UnityEngine.AudioSource, UnityEngine.AudioModule
- Name:
Entry: 8
Data:
- Name: <SystemType>k__BackingField - Name: <SystemType>k__BackingField
Entry: 9 Entry: 9
Data: 70 Data: 67
- Name: <SyncMode>k__BackingField - Name: <SyncMode>k__BackingField
Entry: 7 Entry: 7
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
@ -1161,60 +1197,6 @@ MonoBehaviour:
- Name: - Name:
Entry: 8 Entry: 8
Data: Data:
- Name:
Entry: 7
Data:
- Name: $k
Entry: 1
Data: SFXPlayer
- Name: $v
Entry: 7
Data: 73|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField
Entry: 1
Data: SFXPlayer
- Name: <UserType>k__BackingField
Entry: 9
Data: 70
- Name: <SystemType>k__BackingField
Entry: 9
Data: 70
- Name: <SyncMode>k__BackingField
Entry: 7
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
- Name:
Entry: 6
Data:
- Name:
Entry: 8
Data:
- Name: <IsSerialized>k__BackingField
Entry: 5
Data: true
- Name: _fieldAttributes
Entry: 7
Data: 74|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib
- Name:
Entry: 12
Data: 1
- Name:
Entry: 7
Data: 75|UnityEngine.SerializeField, UnityEngine.CoreModule
- Name:
Entry: 8
Data:
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 8
Data:
- Name: - Name:
Entry: 13 Entry: 13
Data: Data:

View File

@ -6,10 +6,10 @@ using VRC.SDK3.Data;
using VRC.SDK3.UdonNetworkCalling; using VRC.SDK3.UdonNetworkCalling;
using VRC.Udon.Common.Interfaces; using VRC.Udon.Common.Interfaces;
using VRC.SDKBase; using VRC.SDKBase;
using System.Linq;
using VRC.SDK3.StringLoading; using VRC.SDK3.StringLoading;
using System.Runtime.CompilerServices;
using TMPro; using TMPro;
using VRC.SDK3.Components;
using HarmonyLib;
public enum QuestionType public enum QuestionType
@ -17,6 +17,7 @@ public enum QuestionType
None, None,
MultipleChoice, MultipleChoice,
LightningRound, LightningRound,
DumpsterDive,
TheChase, TheChase,
FinalRound, FinalRound,
Tiebreaker Tiebreaker
@ -39,16 +40,15 @@ public enum SFXEventType
[UdonBehaviourSyncMode(BehaviourSyncMode.Manual)] [UdonBehaviourSyncMode(BehaviourSyncMode.Manual)]
public class GameManager : UdonSharpBehaviour public class GameManager : UdonSharpBehaviour
{ {
[SerializeField] private GameObject _AdminPanel;
[UdonSynced] private bool BuzzInAllowed = false; [UdonSynced] private bool BuzzInAllowed = false;
[UdonSynced] private bool[] PlayerBuzzInAllowed; [UdonSynced] private bool[] PlayerBuzzInAllowed;
[UdonSynced] private int _BuzzedInPlayer = -1; [UdonSynced] private int _BuzzedInPlayer = 0;
private DataList _QuestionsList = new DataList();
private int _QuestionIndex = 0;
private DataDictionary _CurrentQuestion; private DataDictionary _CurrentQuestion;
[UdonSynced] private QuestionType _CurrentQuestionType = QuestionType.MultipleChoice; [UdonSynced] private int _QuestionStage = 0;
[UdonSynced] private int _CurrentQuestionStage = 0; [UdonSynced] private int _QuestionCorrectResponse = 0;
[UdonSynced] private int _CurrentQuestionCorrectResponse = -1;
public PlayerPodium[] PlayerPodiums; public PlayerPodium[] PlayerPodiums;
@ -84,82 +84,176 @@ public class GameManager : UdonSharpBehaviour
string JSONString = DownloadedString.Result; string JSONString = DownloadedString.Result;
if (VRCJson.TryDeserializeFromJson(JSONString, out DataToken JSONResult)) if (VRCJson.TryDeserializeFromJson(JSONString, out DataToken JSONResult))
{ {
if (JSONResult.TokenType == TokenType.DataDictionary) if (JSONResult.TokenType == TokenType.DataList)
{ {
NetworkCalling.SendCustomNetworkEvent((IUdonEventReceiver)this, NetworkEventTarget.All, nameof(UpdateInfoCard), JSONString); _QuestionsList.Clear();
_QuestionIndex = 0;
for (int i = 0; i < JSONResult.DataList.Count; i++)
{
if (JSONResult.DataList[i].TokenType == TokenType.DataDictionary)
{
_QuestionsList.Add(JSONResult.DataList[i]);
} }
} }
if (_QuestionsList.Count == 0)
{
Debug.LogError("Unable to find any questions. Ensure the root array elements are all objects.");
return;
}
_CurrentQuestion = _QuestionsList[0].DataDictionary;
Debug.Log("Found " + _QuestionsList.Count + " questions in this case file.");
}
else else
{ {
Debug.LogError("The question should be a Dictionary type."); Debug.LogError("Malformed case file. Ensure the first element is an array of objects.");
}
}
[NetworkCallable]
public void UpdateInfoCard(string Data)
{
DisableChoiceCards();
if (VRCJson.TryDeserializeFromJson(Data, out DataToken ResultToken))
{
_CurrentQuestion = ResultToken.DataDictionary;
string Type = _CurrentQuestion["Type"].ToString();
if (Type == "Multiple Choice")
{
NewMultipleChoiceQuestion();
} }
} }
} }
private void NewMultipleChoiceQuestion() private void NewMultipleChoiceQuestion()
{ {
_CurrentQuestionType = QuestionType.MultipleChoice; _InfoHeader.text = _CurrentQuestion["Type"].Number.ToString();
_CurrentQuestionStage = 0;
_InfoHeader.text = _CurrentQuestion["Type"].ToString(); DataList ClueStrings = _CurrentQuestion["Clues"].DataList;
for (int i = 0; i < _InfoClues.Length && i < ClueStrings.Count; i++)
_InfoClues[0].text = _CurrentQuestion["Clues"].DataList[0].ToString(); {
_InfoClues[1].text = _CurrentQuestion["Clues"].DataList[1].ToString(); _InfoClues[i].text = ClueStrings[i].ToString();
_InfoClues[2].text = _CurrentQuestion["Clues"].DataList[2].ToString(); }
DataList Choices = _CurrentQuestion["Choices"].DataList; DataList Choices = _CurrentQuestion["Choices"].DataList;
_InfoChoices[0].text = Choices[0].ToString(); _InfoChoices[0].text = Choices[0].ToString();
_InfoChoices[1].text = Choices[1].ToString(); _InfoChoices[1].text = Choices[1].ToString();
_InfoChoices[2].text = Choices[2].ToString(); _InfoChoices[2].text = Choices[2].ToString();
_CurrentQuestionCorrectResponse = (int)_CurrentQuestion["Correct Response"].Double; _QuestionCorrectResponse = (int)_CurrentQuestion["Correct Response"].Number;
_Answer.text = Choices[_CurrentQuestionCorrectResponse].ToString(); _Answer.text = Choices[_QuestionCorrectResponse].ToString();
} }
private void MultipleChoiceRevealChoices() private void MultipleChoiceRevealChoices()
{ {
Debug.LogError("Advancing the current question stage now.");
SendCustomEvent(nameof(MultipleChoiceRevealChoice1)); SendCustomEvent(nameof(MultipleChoiceRevealChoice1));
SendCustomEventDelayedSeconds(nameof(MultipleChoiceRevealChoice2), 1.25f); SendCustomEventDelayedSeconds(nameof(MultipleChoiceRevealChoice2), 1.25f);
SendCustomEventDelayedSeconds(nameof(MultipleChoiceRevealChoice3), 2.5f); SendCustomEventDelayedSeconds(nameof(MultipleChoiceRevealChoice3), 2.5f);
} }
public void MultipleChoiceRevealChoice1() public void MultipleChoiceRevealChoice1()
{ {
_InfoChoiceButtons[0].color = (_CurrentQuestionCorrectResponse == 0) ? Color.green : Color.red; _InfoChoiceButtons[0].color = (_QuestionCorrectResponse == 1) ? Color.green : Color.red;
} }
public void MultipleChoiceRevealChoice2() public void MultipleChoiceRevealChoice2()
{ {
_InfoChoiceButtons[1].color = (_CurrentQuestionCorrectResponse == 1) ? Color.green : Color.red; _InfoChoiceButtons[1].color = (_QuestionCorrectResponse == 2) ? Color.green : Color.red;
} }
public void MultipleChoiceRevealChoice3() public void MultipleChoiceRevealChoice3()
{ {
_InfoChoiceButtons[2].color = (_CurrentQuestionCorrectResponse == 2) ? Color.green : Color.red; _InfoChoiceButtons[2].color = (_QuestionCorrectResponse == 3) ? Color.green : Color.red;
DataList Choices = _CurrentQuestion["Choices"].DataList; DataList Choices = _CurrentQuestion["Choices"].DataList;
EnableChoiceCards(); EnableChoiceCards();
for (int i = 0; i < PlayerPodiums.Length; i++) for (int i = 0; i < PlayerPodiums.Length; i++)
{ {
NetworkCalling.SendCustomNetworkEvent((IUdonEventReceiver)PlayerPodiums[i], NetworkEventTarget.Owner, "SetCardChoices", Choices[0].ToString(), Choices[1].ToString(), Choices[2].ToString()); int[] Indices = { 0, 1, 2 };
int[] ChoiceOrder = { -1, -1, -1 };
int Choice1Index = Indices[Random.Range(0, 3)];
ChoiceOrder[0] = Choice1Index;
Indices[Choice1Index] = -1;
int Choice2Index = -1;
while (Choice2Index == -1) { Choice2Index = Indices[Random.Range(0, 3)]; }
ChoiceOrder[1] = Choice2Index;
Indices[Choice2Index] = -1;
int Choice3Index = -1;
while (Choice3Index == -1) { Choice3Index = Indices[Random.Range(0, 3)]; }
ChoiceOrder[2] = Choice3Index;
Indices[Choice3Index] = -1;
string[] ChoiceStrings = { Choices[0].ToString(), Choices[1].ToString(), Choices[2].ToString() };
NetworkCalling.SendCustomNetworkEvent((IUdonEventReceiver)PlayerPodiums[i], NetworkEventTarget.All, "SetCardChoices", ChoiceStrings, ChoiceOrder);
}
DisableInteractive = false;
}
private void MultipleChoiceLockAnswers()
{
for (int i = 0; i < PlayerPodiums.Length; i++)
{
NetworkCalling.SendCustomNetworkEvent((IUdonEventReceiver)PlayerPodiums[i], NetworkEventTarget.All, "LockInChoice");
}
_InfoHeader.text = "LOCKED IN";
for (int i = 0; i < _InfoClues.Length; i++)
{
_InfoClues[i].text = "";
}
for (int i = 0; i < _InfoChoices.Length; i++)
{
if (i != (_QuestionCorrectResponse - 1))
{
_InfoChoices[i].text = "";
} }
} }
DisableInteractive = false;
}
public void EnableChoiceCards() private void MultipleChoiceConfirmAnswers()
{
_InfoHeader.text = "ANSWER REVEALED";
for (int i = 0; i < PlayerPodiums.Length; i++)
{
NetworkCalling.SendCustomNetworkEvent((IUdonEventReceiver)PlayerPodiums[i], NetworkEventTarget.All, "VerifyResponse", _QuestionCorrectResponse);
}
DisableInteractive = false;
}
private void AdvanceToNextQuestion()
{
DisableChoiceCards();
_QuestionIndex++;
if (_QuestionIndex >= _QuestionsList.Count)
{
Debug.LogError("No more questions.");
return;
}
_CurrentQuestion = _QuestionsList[_QuestionIndex].DataDictionary;
_QuestionCorrectResponse = (int)_CurrentQuestion["Correct Response"].Number;
_QuestionStage = 0;
ResetInfoCard("Next Question");
}
private void ResetInfoCard(string Header = "")
{
_InfoHeader.text = Header;
for (int i = 0; i < _InfoClues.Length; i++)
{
_InfoClues[i].text = "";
}
_InfoChoiceButtons[0].color = Color.white;
_InfoChoiceButtons[1].color = Color.white;
_InfoChoiceButtons[2].color = Color.white;
_InfoChoices[0].text = "";
_InfoChoices[1].text = "";
_InfoChoices[2].text = "";
}
private void EnableChoiceCards()
{ {
for (int i = 0; i < PlayerPodiums.Length; i++) for (int i = 0; i < PlayerPodiums.Length; i++)
{ {
@ -167,7 +261,7 @@ public class GameManager : UdonSharpBehaviour
} }
} }
public void DisableChoiceCards() private void DisableChoiceCards()
{ {
for (int i = 0; i < PlayerPodiums.Length; i++) for (int i = 0; i < PlayerPodiums.Length; i++)
{ {
@ -226,12 +320,18 @@ public class GameManager : UdonSharpBehaviour
} }
private void AdvanceQuestionStage() private void AdvanceQuestion()
{ {
_CurrentQuestionStage++; _QuestionStage++;
switch(_CurrentQuestionType)
// TO-DO: Ask someone at either Microsoft or VRChat why the VM crashes if you cast an int
// to an enum in a switch parameter, but not if you cast an enum to an int in a case
// statement. I'm starting to wonder if either C# or U# are just fucking terrible
// languages. C++ figured this problem out in at least 1985, and it turns out the proper
// solution was "it's not a problem, it's just two numbers, they're the same".
switch (_CurrentQuestion["Type"].Number)
{ {
case QuestionType.MultipleChoice: case (int)QuestionType.MultipleChoice:
AdvanceMultipleChoiceStage(); AdvanceMultipleChoiceStage();
break; break;
} }
@ -241,13 +341,14 @@ public class GameManager : UdonSharpBehaviour
private void AdvanceMultipleChoiceStage() private void AdvanceMultipleChoiceStage()
{ {
switch(_CurrentQuestionStage) switch(_QuestionStage)
{ {
case 1: case 1: NewMultipleChoiceQuestion(); break;
MultipleChoiceRevealChoices(); case 2: MultipleChoiceRevealChoices(); break;
break; case 3: MultipleChoiceLockAnswers(); break;
default: case 4: MultipleChoiceConfirmAnswers(); break;
return; case 5: AdvanceToNextQuestion(); break;
default: return;
} }
} }
@ -287,7 +388,9 @@ public class GameManager : UdonSharpBehaviour
public override void OnPickupUseDown() public override void OnPickupUseDown()
{ {
AdvanceQuestionStage(); if (DisableInteractive) { return; }
AdvanceQuestion();
base.OnPickupUseDown(); base.OnPickupUseDown();
} }

View File

@ -4,6 +4,7 @@ using VRC.SDKBase;
using VRC.SDK3.UdonNetworkCalling; using VRC.SDK3.UdonNetworkCalling;
using TMPro; using TMPro;
using UnityEngine; using UnityEngine;
using VRC.SDK3.Components;
[UdonBehaviourSyncMode(BehaviourSyncMode.Manual)] [UdonBehaviourSyncMode(BehaviourSyncMode.Manual)]
public class PlayerPodium : UdonSharpBehaviour public class PlayerPodium : UdonSharpBehaviour
@ -24,6 +25,7 @@ public class PlayerPodium : UdonSharpBehaviour
[SerializeField] private TextMeshProUGUI _Nameplate; [SerializeField] private TextMeshProUGUI _Nameplate;
[SerializeField] private TextMeshProUGUI _Scorecard; [SerializeField] private TextMeshProUGUI _Scorecard;
void Start() void Start()
{ {
PlayerName = "Player " + PlayerNumber; PlayerName = "Player " + PlayerNumber;
@ -67,9 +69,24 @@ public class PlayerPodium : UdonSharpBehaviour
} }
[NetworkCallable] [NetworkCallable]
public void SetCardChoices(string Choice1, string Choice2, string Choice3) public void SetCardChoices(string[] Choices, int[] Indices)
{ {
_ChoiceCards.SetChoices(Choice1, Choice2, Choice3); _ChoiceCards.SetChoices(Choices, Indices);
}
[NetworkCallable]
public void LockInChoice()
{
_ChoiceCards.LockInChoice();
}
[NetworkCallable]
public void VerifyResponse(int CorrectResponse)
{
if (_ChoiceCards.GetSelectedChoice() == CorrectResponse)
{
IncreaseScoreBy10();
}
} }

Binary file not shown.