update
parent
a996b3fcda
commit
356b95afaf
|
@ -0,0 +1,191 @@
|
||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!74 &7400000
|
||||||
|
AnimationClip:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: CTAQRCode
|
||||||
|
serializedVersion: 7
|
||||||
|
m_Legacy: 0
|
||||||
|
m_Compressed: 0
|
||||||
|
m_UseHighQualityCurve: 1
|
||||||
|
m_RotationCurves: []
|
||||||
|
m_CompressedRotationCurves: []
|
||||||
|
m_EulerCurves: []
|
||||||
|
m_PositionCurves: []
|
||||||
|
m_ScaleCurves: []
|
||||||
|
m_FloatCurves:
|
||||||
|
- serializedVersion: 2
|
||||||
|
curve:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Curve:
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0
|
||||||
|
value: 0
|
||||||
|
inSlope: 0
|
||||||
|
outSlope: 0
|
||||||
|
tangentMode: 136
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0.33333334
|
||||||
|
outWeight: 0.33333334
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0.8333333
|
||||||
|
value: 350
|
||||||
|
inSlope: 0
|
||||||
|
outSlope: 0
|
||||||
|
tangentMode: 136
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0.33333334
|
||||||
|
outWeight: 0.33333334
|
||||||
|
m_PreInfinity: 2
|
||||||
|
m_PostInfinity: 2
|
||||||
|
m_RotationOrder: 4
|
||||||
|
attribute: m_SizeDelta.x
|
||||||
|
path:
|
||||||
|
classID: 224
|
||||||
|
script: {fileID: 0}
|
||||||
|
flags: 0
|
||||||
|
- serializedVersion: 2
|
||||||
|
curve:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Curve:
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0
|
||||||
|
value: 0
|
||||||
|
inSlope: 0
|
||||||
|
outSlope: 0
|
||||||
|
tangentMode: 136
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0.33333334
|
||||||
|
outWeight: 0.33333334
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0.8333333
|
||||||
|
value: 350
|
||||||
|
inSlope: 0
|
||||||
|
outSlope: 0
|
||||||
|
tangentMode: 136
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0.33333334
|
||||||
|
outWeight: 0.33333334
|
||||||
|
m_PreInfinity: 2
|
||||||
|
m_PostInfinity: 2
|
||||||
|
m_RotationOrder: 4
|
||||||
|
attribute: m_SizeDelta.y
|
||||||
|
path:
|
||||||
|
classID: 224
|
||||||
|
script: {fileID: 0}
|
||||||
|
flags: 0
|
||||||
|
m_PPtrCurves: []
|
||||||
|
m_SampleRate: 60
|
||||||
|
m_WrapMode: 0
|
||||||
|
m_Bounds:
|
||||||
|
m_Center: {x: 0, y: 0, z: 0}
|
||||||
|
m_Extent: {x: 0, y: 0, z: 0}
|
||||||
|
m_ClipBindingConstant:
|
||||||
|
genericBindings:
|
||||||
|
- serializedVersion: 2
|
||||||
|
path: 0
|
||||||
|
attribute: 1967290853
|
||||||
|
script: {fileID: 0}
|
||||||
|
typeID: 224
|
||||||
|
customType: 28
|
||||||
|
isPPtrCurve: 0
|
||||||
|
isIntCurve: 0
|
||||||
|
isSerializeReferenceCurve: 0
|
||||||
|
- serializedVersion: 2
|
||||||
|
path: 0
|
||||||
|
attribute: 38095219
|
||||||
|
script: {fileID: 0}
|
||||||
|
typeID: 224
|
||||||
|
customType: 28
|
||||||
|
isPPtrCurve: 0
|
||||||
|
isIntCurve: 0
|
||||||
|
isSerializeReferenceCurve: 0
|
||||||
|
pptrCurveMapping: []
|
||||||
|
m_AnimationClipSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_AdditiveReferencePoseClip: {fileID: 0}
|
||||||
|
m_AdditiveReferencePoseTime: 0
|
||||||
|
m_StartTime: 0
|
||||||
|
m_StopTime: 0.8333333
|
||||||
|
m_OrientationOffsetY: 0
|
||||||
|
m_Level: 0
|
||||||
|
m_CycleOffset: 0
|
||||||
|
m_HasAdditiveReferencePose: 0
|
||||||
|
m_LoopTime: 0
|
||||||
|
m_LoopBlend: 0
|
||||||
|
m_LoopBlendOrientation: 0
|
||||||
|
m_LoopBlendPositionY: 0
|
||||||
|
m_LoopBlendPositionXZ: 0
|
||||||
|
m_KeepOriginalOrientation: 0
|
||||||
|
m_KeepOriginalPositionY: 1
|
||||||
|
m_KeepOriginalPositionXZ: 0
|
||||||
|
m_HeightFromFeet: 0
|
||||||
|
m_Mirror: 0
|
||||||
|
m_EditorCurves:
|
||||||
|
- serializedVersion: 2
|
||||||
|
curve:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Curve:
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0
|
||||||
|
value: 0
|
||||||
|
inSlope: 0
|
||||||
|
outSlope: 0
|
||||||
|
tangentMode: 136
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0.33333334
|
||||||
|
outWeight: 0.33333334
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0.8333333
|
||||||
|
value: 350
|
||||||
|
inSlope: 0
|
||||||
|
outSlope: 0
|
||||||
|
tangentMode: 136
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0.33333334
|
||||||
|
outWeight: 0.33333334
|
||||||
|
m_PreInfinity: 2
|
||||||
|
m_PostInfinity: 2
|
||||||
|
m_RotationOrder: 4
|
||||||
|
attribute: m_SizeDelta.x
|
||||||
|
path:
|
||||||
|
classID: 224
|
||||||
|
script: {fileID: 0}
|
||||||
|
flags: 0
|
||||||
|
- serializedVersion: 2
|
||||||
|
curve:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Curve:
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0
|
||||||
|
value: 0
|
||||||
|
inSlope: 0
|
||||||
|
outSlope: 0
|
||||||
|
tangentMode: 136
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0.33333334
|
||||||
|
outWeight: 0.33333334
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0.8333333
|
||||||
|
value: 350
|
||||||
|
inSlope: 0
|
||||||
|
outSlope: 0
|
||||||
|
tangentMode: 136
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0.33333334
|
||||||
|
outWeight: 0.33333334
|
||||||
|
m_PreInfinity: 2
|
||||||
|
m_PostInfinity: 2
|
||||||
|
m_RotationOrder: 4
|
||||||
|
attribute: m_SizeDelta.y
|
||||||
|
path:
|
||||||
|
classID: 224
|
||||||
|
script: {fileID: 0}
|
||||||
|
flags: 0
|
||||||
|
m_EulerEditorCurves: []
|
||||||
|
m_HasGenericRootTransform: 0
|
||||||
|
m_HasMotionFloatCurves: 0
|
||||||
|
m_Events: []
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 18105bf41c8525c9e97b7be0804a6a00
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 7400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,53 @@
|
||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!74 &7400000
|
||||||
|
AnimationClip:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: CTAText
|
||||||
|
serializedVersion: 7
|
||||||
|
m_Legacy: 0
|
||||||
|
m_Compressed: 0
|
||||||
|
m_UseHighQualityCurve: 1
|
||||||
|
m_RotationCurves: []
|
||||||
|
m_CompressedRotationCurves: []
|
||||||
|
m_EulerCurves: []
|
||||||
|
m_PositionCurves: []
|
||||||
|
m_ScaleCurves: []
|
||||||
|
m_FloatCurves: []
|
||||||
|
m_PPtrCurves: []
|
||||||
|
m_SampleRate: 60
|
||||||
|
m_WrapMode: 0
|
||||||
|
m_Bounds:
|
||||||
|
m_Center: {x: 0, y: 0, z: 0}
|
||||||
|
m_Extent: {x: 0, y: 0, z: 0}
|
||||||
|
m_ClipBindingConstant:
|
||||||
|
genericBindings: []
|
||||||
|
pptrCurveMapping: []
|
||||||
|
m_AnimationClipSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_AdditiveReferencePoseClip: {fileID: 0}
|
||||||
|
m_AdditiveReferencePoseTime: 0
|
||||||
|
m_StartTime: 0
|
||||||
|
m_StopTime: 1
|
||||||
|
m_OrientationOffsetY: 0
|
||||||
|
m_Level: 0
|
||||||
|
m_CycleOffset: 0
|
||||||
|
m_HasAdditiveReferencePose: 0
|
||||||
|
m_LoopTime: 0
|
||||||
|
m_LoopBlend: 0
|
||||||
|
m_LoopBlendOrientation: 0
|
||||||
|
m_LoopBlendPositionY: 0
|
||||||
|
m_LoopBlendPositionXZ: 0
|
||||||
|
m_KeepOriginalOrientation: 0
|
||||||
|
m_KeepOriginalPositionY: 1
|
||||||
|
m_KeepOriginalPositionXZ: 0
|
||||||
|
m_HeightFromFeet: 0
|
||||||
|
m_Mirror: 0
|
||||||
|
m_EditorCurves: []
|
||||||
|
m_EulerEditorCurves: []
|
||||||
|
m_HasGenericRootTransform: 0
|
||||||
|
m_HasMotionFloatCurves: 0
|
||||||
|
m_Events: []
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 9498f9bfc28bd3a2d908173df461ebae
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 7400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,72 @@
|
||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!91 &9100000
|
||||||
|
AnimatorController:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: QR_Place
|
||||||
|
serializedVersion: 5
|
||||||
|
m_AnimatorParameters: []
|
||||||
|
m_AnimatorLayers:
|
||||||
|
- serializedVersion: 5
|
||||||
|
m_Name: Base Layer
|
||||||
|
m_StateMachine: {fileID: 994505906594264938}
|
||||||
|
m_Mask: {fileID: 0}
|
||||||
|
m_Motions: []
|
||||||
|
m_Behaviours: []
|
||||||
|
m_BlendingMode: 0
|
||||||
|
m_SyncedLayerIndex: -1
|
||||||
|
m_DefaultWeight: 0
|
||||||
|
m_IKPass: 0
|
||||||
|
m_SyncedLayerAffectsTiming: 0
|
||||||
|
m_Controller: {fileID: 9100000}
|
||||||
|
--- !u!1107 &994505906594264938
|
||||||
|
AnimatorStateMachine:
|
||||||
|
serializedVersion: 6
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: Base Layer
|
||||||
|
m_ChildStates:
|
||||||
|
- serializedVersion: 1
|
||||||
|
m_State: {fileID: 3185307343205803487}
|
||||||
|
m_Position: {x: 200, y: 0, z: 0}
|
||||||
|
m_ChildStateMachines: []
|
||||||
|
m_AnyStateTransitions: []
|
||||||
|
m_EntryTransitions: []
|
||||||
|
m_StateMachineTransitions: {}
|
||||||
|
m_StateMachineBehaviours: []
|
||||||
|
m_AnyStatePosition: {x: 50, y: 20, z: 0}
|
||||||
|
m_EntryPosition: {x: 50, y: 120, z: 0}
|
||||||
|
m_ExitPosition: {x: 800, y: 120, z: 0}
|
||||||
|
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
|
||||||
|
m_DefaultState: {fileID: 3185307343205803487}
|
||||||
|
--- !u!1102 &3185307343205803487
|
||||||
|
AnimatorState:
|
||||||
|
serializedVersion: 6
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: CTAQRCode
|
||||||
|
m_Speed: 1
|
||||||
|
m_CycleOffset: 0
|
||||||
|
m_Transitions: []
|
||||||
|
m_StateMachineBehaviours: []
|
||||||
|
m_Position: {x: 50, y: 50, z: 0}
|
||||||
|
m_IKOnFeet: 0
|
||||||
|
m_WriteDefaultValues: 1
|
||||||
|
m_Mirror: 0
|
||||||
|
m_SpeedParameterActive: 0
|
||||||
|
m_MirrorParameterActive: 0
|
||||||
|
m_CycleOffsetParameterActive: 0
|
||||||
|
m_TimeParameterActive: 0
|
||||||
|
m_Motion: {fileID: 7400000, guid: 18105bf41c8525c9e97b7be0804a6a00, type: 2}
|
||||||
|
m_Tag:
|
||||||
|
m_SpeedParameter:
|
||||||
|
m_MirrorParameter:
|
||||||
|
m_CycleOffsetParameter:
|
||||||
|
m_TimeParameter:
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 1fa7d83119974bf4daa9e58aae2179d2
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 9100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,72 @@
|
||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1102 &-5053960741154355629
|
||||||
|
AnimatorState:
|
||||||
|
serializedVersion: 6
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: CTAText
|
||||||
|
m_Speed: 1
|
||||||
|
m_CycleOffset: 0
|
||||||
|
m_Transitions: []
|
||||||
|
m_StateMachineBehaviours: []
|
||||||
|
m_Position: {x: 50, y: 50, z: 0}
|
||||||
|
m_IKOnFeet: 0
|
||||||
|
m_WriteDefaultValues: 1
|
||||||
|
m_Mirror: 0
|
||||||
|
m_SpeedParameterActive: 0
|
||||||
|
m_MirrorParameterActive: 0
|
||||||
|
m_CycleOffsetParameterActive: 0
|
||||||
|
m_TimeParameterActive: 0
|
||||||
|
m_Motion: {fileID: 7400000, guid: 9498f9bfc28bd3a2d908173df461ebae, type: 2}
|
||||||
|
m_Tag:
|
||||||
|
m_SpeedParameter:
|
||||||
|
m_MirrorParameter:
|
||||||
|
m_CycleOffsetParameter:
|
||||||
|
m_TimeParameter:
|
||||||
|
--- !u!1107 &-4207000589961503272
|
||||||
|
AnimatorStateMachine:
|
||||||
|
serializedVersion: 6
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: Base Layer
|
||||||
|
m_ChildStates:
|
||||||
|
- serializedVersion: 1
|
||||||
|
m_State: {fileID: -5053960741154355629}
|
||||||
|
m_Position: {x: 200, y: 0, z: 0}
|
||||||
|
m_ChildStateMachines: []
|
||||||
|
m_AnyStateTransitions: []
|
||||||
|
m_EntryTransitions: []
|
||||||
|
m_StateMachineTransitions: {}
|
||||||
|
m_StateMachineBehaviours: []
|
||||||
|
m_AnyStatePosition: {x: 50, y: 20, z: 0}
|
||||||
|
m_EntryPosition: {x: 50, y: 120, z: 0}
|
||||||
|
m_ExitPosition: {x: 800, y: 120, z: 0}
|
||||||
|
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
|
||||||
|
m_DefaultState: {fileID: -5053960741154355629}
|
||||||
|
--- !u!91 &9100000
|
||||||
|
AnimatorController:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: Text (TMP)
|
||||||
|
serializedVersion: 5
|
||||||
|
m_AnimatorParameters: []
|
||||||
|
m_AnimatorLayers:
|
||||||
|
- serializedVersion: 5
|
||||||
|
m_Name: Base Layer
|
||||||
|
m_StateMachine: {fileID: -4207000589961503272}
|
||||||
|
m_Mask: {fileID: 0}
|
||||||
|
m_Motions: []
|
||||||
|
m_Behaviours: []
|
||||||
|
m_BlendingMode: 0
|
||||||
|
m_SyncedLayerIndex: -1
|
||||||
|
m_DefaultWeight: 0
|
||||||
|
m_IKPass: 0
|
||||||
|
m_SyncedLayerAffectsTiming: 0
|
||||||
|
m_Controller: {fileID: 9100000}
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: a3551747c220e0f5492a4b9f83906498
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 9100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -21,7 +21,7 @@ MonoBehaviour:
|
||||||
:\"D85ED3741515\", password :\"Abc@123\"} ){\n accessToken\n
|
:\"D85ED3741515\", password :\"Abc@123\"} ){\n accessToken\n
|
||||||
refreshToken\n }\n}"
|
refreshToken\n }\n}"
|
||||||
queryString: loginAsGameMachine
|
queryString: loginAsGameMachine
|
||||||
returnType: LoginDetails
|
returnType: Game
|
||||||
queryOptions:
|
queryOptions:
|
||||||
- createGame
|
- createGame
|
||||||
- createGuest
|
- createGuest
|
||||||
|
@ -281,8 +281,8 @@ MonoBehaviour:
|
||||||
- name: SubmitGameSession
|
- name: SubmitGameSession
|
||||||
type: 1
|
type: 1
|
||||||
query: "mutation SubmitGameSession{\n submitGameSession( input :{ playerId
|
query: "mutation SubmitGameSession{\n submitGameSession( input :{ playerId
|
||||||
:null, promotionId :\"63c67c5434403000\", startAt :\"0001-01-01T00:00:00\",
|
:\"63e929e9b3c01000\", promotionId :\"63c67c5434403000\", startAt :\"2024-05-23T15:53:22.407196+07:00\",
|
||||||
endAt :\"2024-05-22T18:02:17.589268+07:00\", score :1000} ){\n startAt\n
|
endAt :\"2024-05-23T15:53:29.062723+07:00\", score :1000} ){\n startAt\n
|
||||||
endAt\n score\n }\n}"
|
endAt\n score\n }\n}"
|
||||||
queryString: submitGameSession
|
queryString: submitGameSession
|
||||||
returnType: GameSession
|
returnType: GameSession
|
||||||
|
@ -392,8 +392,8 @@ MonoBehaviour:
|
||||||
- name: GuestUpdatedSubscription
|
- name: GuestUpdatedSubscription
|
||||||
type: 2
|
type: 2
|
||||||
query: "subscription GuestUpdatedSubscription{\n guestUpdatedSubscription(
|
query: "subscription GuestUpdatedSubscription{\n guestUpdatedSubscription(
|
||||||
guestId :null ){\n firstName\n lastName\n phone\n
|
guestId :\"63e929e9b3c01000\" ){\n firstName\n lastName\n
|
||||||
email\n }\n}"
|
phone\n email\n }\n}"
|
||||||
queryString: guestUpdatedSubscription
|
queryString: guestUpdatedSubscription
|
||||||
returnType: Guest
|
returnType: Guest
|
||||||
queryOptions:
|
queryOptions:
|
||||||
|
|
|
@ -195,7 +195,7 @@ VideoPlayer:
|
||||||
m_WaitForFirstFrame: 1
|
m_WaitForFirstFrame: 1
|
||||||
m_FrameReadyEventEnabled: 0
|
m_FrameReadyEventEnabled: 0
|
||||||
m_VideoShaders: []
|
m_VideoShaders: []
|
||||||
--- !u!1 &44823601
|
--- !u!1 &278505837
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
@ -203,45 +203,27 @@ GameObject:
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
serializedVersion: 6
|
serializedVersion: 6
|
||||||
m_Component:
|
m_Component:
|
||||||
- component: {fileID: 44823602}
|
- component: {fileID: 278505840}
|
||||||
- component: {fileID: 44823604}
|
- component: {fileID: 278505839}
|
||||||
- component: {fileID: 44823603}
|
- component: {fileID: 278505838}
|
||||||
|
- component: {fileID: 278505841}
|
||||||
m_Layer: 5
|
m_Layer: 5
|
||||||
m_Name: Image
|
m_Name: QR_Place
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
m_StaticEditorFlags: 0
|
m_StaticEditorFlags: 0
|
||||||
m_IsActive: 1
|
m_IsActive: 1
|
||||||
--- !u!224 &44823602
|
--- !u!114 &278505838
|
||||||
RectTransform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 44823601}
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
||||||
m_LocalScale: {x: 2.2, y: 2.2, z: 2.2}
|
|
||||||
m_ConstrainProportionsScale: 1
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 1939570967}
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
|
||||||
m_AnchoredPosition: {x: 0, y: 580}
|
|
||||||
m_SizeDelta: {x: 280, y: 309}
|
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
|
||||||
--- !u!114 &44823603
|
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 44823601}
|
m_GameObject: {fileID: 278505837}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
m_Script: {fileID: 11500000, guid: 1344c3c82d62a2a41a3576d8abb8e3ea, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
m_Material: {fileID: 0}
|
m_Material: {fileID: 0}
|
||||||
|
@ -252,49 +234,28 @@ MonoBehaviour:
|
||||||
m_OnCullStateChanged:
|
m_OnCullStateChanged:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
m_Calls: []
|
m_Calls: []
|
||||||
m_Sprite: {fileID: 21300000, guid: 50c4c1e7e0af9454595a0f8be012bcd9, type: 3}
|
m_Texture: {fileID: 0}
|
||||||
m_Type: 0
|
m_UVRect:
|
||||||
m_PreserveAspect: 0
|
serializedVersion: 2
|
||||||
m_FillCenter: 1
|
x: 0
|
||||||
m_FillMethod: 4
|
y: 0
|
||||||
m_FillAmount: 1
|
width: 1
|
||||||
m_FillClockwise: 1
|
height: 1
|
||||||
m_FillOrigin: 0
|
--- !u!222 &278505839
|
||||||
m_UseSpriteMesh: 0
|
|
||||||
m_PixelsPerUnitMultiplier: 1
|
|
||||||
--- !u!222 &44823604
|
|
||||||
CanvasRenderer:
|
CanvasRenderer:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 44823601}
|
m_GameObject: {fileID: 278505837}
|
||||||
m_CullTransparentMesh: 1
|
m_CullTransparentMesh: 1
|
||||||
--- !u!1 &153067423
|
--- !u!224 &278505840
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 153067424}
|
|
||||||
- component: {fileID: 153067426}
|
|
||||||
- component: {fileID: 153067425}
|
|
||||||
m_Layer: 5
|
|
||||||
m_Name: Image
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!224 &153067424
|
|
||||||
RectTransform:
|
RectTransform:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 153067423}
|
m_GameObject: {fileID: 278505837}
|
||||||
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: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
@ -302,49 +263,32 @@ RectTransform:
|
||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 1939570967}
|
m_Father: {fileID: 1939570967}
|
||||||
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, y: 0}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 0, y: 0}
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
m_AnchoredPosition: {x: 200, y: 200}
|
||||||
m_SizeDelta: {x: 1080, y: 1920}
|
m_SizeDelta: {x: 250, y: 250}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!114 &153067425
|
--- !u!95 &278505841
|
||||||
MonoBehaviour:
|
Animator:
|
||||||
|
serializedVersion: 5
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 153067423}
|
m_GameObject: {fileID: 278505837}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_Avatar: {fileID: 0}
|
||||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
m_Controller: {fileID: 9100000, guid: 1fa7d83119974bf4daa9e58aae2179d2, type: 2}
|
||||||
m_Name:
|
m_CullingMode: 0
|
||||||
m_EditorClassIdentifier:
|
m_UpdateMode: 0
|
||||||
m_Material: {fileID: 0}
|
m_ApplyRootMotion: 0
|
||||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
m_LinearVelocityBlending: 0
|
||||||
m_RaycastTarget: 1
|
m_StabilizeFeet: 0
|
||||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
m_WarningMessage:
|
||||||
m_Maskable: 1
|
m_HasTransformHierarchy: 1
|
||||||
m_OnCullStateChanged:
|
m_AllowConstantClipSamplingOptimization: 1
|
||||||
m_PersistentCalls:
|
m_KeepAnimatorStateOnDisable: 0
|
||||||
m_Calls: []
|
m_WriteDefaultValuesOnDisable: 0
|
||||||
m_Sprite: {fileID: 21300000, guid: 12705a8475671b57a9049f8fcc951c70, type: 3}
|
|
||||||
m_Type: 0
|
|
||||||
m_PreserveAspect: 0
|
|
||||||
m_FillCenter: 1
|
|
||||||
m_FillMethod: 4
|
|
||||||
m_FillAmount: 1
|
|
||||||
m_FillClockwise: 1
|
|
||||||
m_FillOrigin: 0
|
|
||||||
m_UseSpriteMesh: 0
|
|
||||||
m_PixelsPerUnitMultiplier: 1
|
|
||||||
--- !u!222 &153067426
|
|
||||||
CanvasRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 153067423}
|
|
||||||
m_CullTransparentMesh: 1
|
|
||||||
--- !u!1 &535544408
|
--- !u!1 &535544408
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -429,7 +373,7 @@ GameObject:
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
m_StaticEditorFlags: 0
|
m_StaticEditorFlags: 0
|
||||||
m_IsActive: 1
|
m_IsActive: 0
|
||||||
--- !u!224 &583976854
|
--- !u!224 &583976854
|
||||||
RectTransform:
|
RectTransform:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -485,140 +429,6 @@ VideoPlayer:
|
||||||
m_WaitForFirstFrame: 1
|
m_WaitForFirstFrame: 1
|
||||||
m_FrameReadyEventEnabled: 0
|
m_FrameReadyEventEnabled: 0
|
||||||
m_VideoShaders: []
|
m_VideoShaders: []
|
||||||
--- !u!1 &1265150231
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 1265150232}
|
|
||||||
- component: {fileID: 1265150234}
|
|
||||||
- component: {fileID: 1265150233}
|
|
||||||
m_Layer: 5
|
|
||||||
m_Name: Text (TMP)
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 0
|
|
||||||
--- !u!224 &1265150232
|
|
||||||
RectTransform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1265150231}
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_ConstrainProportionsScale: 0
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 1939570967}
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
|
||||||
m_SizeDelta: {x: 400, y: 50}
|
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
|
||||||
--- !u!114 &1265150233
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1265150231}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
m_RaycastTarget: 1
|
|
||||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
|
||||||
m_Maskable: 1
|
|
||||||
m_OnCullStateChanged:
|
|
||||||
m_PersistentCalls:
|
|
||||||
m_Calls: []
|
|
||||||
m_text: FeMale
|
|
||||||
m_isRightToLeft: 0
|
|
||||||
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
|
||||||
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
|
||||||
m_fontSharedMaterials: []
|
|
||||||
m_fontMaterial: {fileID: 0}
|
|
||||||
m_fontMaterials: []
|
|
||||||
m_fontColor32:
|
|
||||||
serializedVersion: 2
|
|
||||||
rgba: 4278190080
|
|
||||||
m_fontColor: {r: 0, g: 0, b: 0, a: 1}
|
|
||||||
m_enableVertexGradient: 0
|
|
||||||
m_colorMode: 3
|
|
||||||
m_fontColorGradient:
|
|
||||||
topLeft: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
topRight: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
bottomRight: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
m_fontColorGradientPreset: {fileID: 0}
|
|
||||||
m_spriteAsset: {fileID: 0}
|
|
||||||
m_tintAllSprites: 0
|
|
||||||
m_StyleSheet: {fileID: 0}
|
|
||||||
m_TextStyleHashCode: -1183493901
|
|
||||||
m_overrideHtmlColors: 0
|
|
||||||
m_faceColor:
|
|
||||||
serializedVersion: 2
|
|
||||||
rgba: 4294967295
|
|
||||||
m_fontSize: 100
|
|
||||||
m_fontSizeBase: 100
|
|
||||||
m_fontWeight: 400
|
|
||||||
m_enableAutoSizing: 0
|
|
||||||
m_fontSizeMin: 18
|
|
||||||
m_fontSizeMax: 72
|
|
||||||
m_fontStyle: 1
|
|
||||||
m_HorizontalAlignment: 2
|
|
||||||
m_VerticalAlignment: 512
|
|
||||||
m_textAlignment: 65535
|
|
||||||
m_characterSpacing: 0
|
|
||||||
m_wordSpacing: 0
|
|
||||||
m_lineSpacing: 0
|
|
||||||
m_lineSpacingMax: 0
|
|
||||||
m_paragraphSpacing: 0
|
|
||||||
m_charWidthMaxAdj: 0
|
|
||||||
m_enableWordWrapping: 1
|
|
||||||
m_wordWrappingRatios: 0.4
|
|
||||||
m_overflowMode: 0
|
|
||||||
m_linkedTextComponent: {fileID: 0}
|
|
||||||
parentLinkedComponent: {fileID: 0}
|
|
||||||
m_enableKerning: 1
|
|
||||||
m_enableExtraPadding: 0
|
|
||||||
checkPaddingRequired: 0
|
|
||||||
m_isRichText: 1
|
|
||||||
m_parseCtrlCharacters: 1
|
|
||||||
m_isOrthographic: 1
|
|
||||||
m_isCullingEnabled: 0
|
|
||||||
m_horizontalMapping: 0
|
|
||||||
m_verticalMapping: 0
|
|
||||||
m_uvLineOffset: 0
|
|
||||||
m_geometrySortingOrder: 0
|
|
||||||
m_IsTextObjectScaleStatic: 0
|
|
||||||
m_VertexBufferAutoSizeReduction: 0
|
|
||||||
m_useMaxVisibleDescender: 1
|
|
||||||
m_pageToDisplay: 1
|
|
||||||
m_margin: {x: 0, y: 0, z: 0, w: 0}
|
|
||||||
m_isUsingLegacyAnimationComponent: 0
|
|
||||||
m_isVolumetricText: 0
|
|
||||||
m_hasFontAssetChanged: 0
|
|
||||||
m_baseMaterial: {fileID: 0}
|
|
||||||
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
|
|
||||||
--- !u!222 &1265150234
|
|
||||||
CanvasRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1265150231}
|
|
||||||
m_CullTransparentMesh: 1
|
|
||||||
--- !u!1 &1302683599
|
--- !u!1 &1302683599
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -805,6 +615,342 @@ Transform:
|
||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
|
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
|
||||||
|
--- !u!1 &1481669526
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 1481669527}
|
||||||
|
- component: {fileID: 1481669529}
|
||||||
|
- component: {fileID: 1481669528}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Image
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &1481669527
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1481669526}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 1939570967}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
|
m_AnchorMax: {x: 1, y: 1}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
|
m_SizeDelta: {x: 0, y: 0}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!114 &1481669528
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1481669526}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 21300000, guid: 12705a8475671b57a9049f8fcc951c70, type: 3}
|
||||||
|
m_Type: 0
|
||||||
|
m_PreserveAspect: 0
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
m_UseSpriteMesh: 0
|
||||||
|
m_PixelsPerUnitMultiplier: 1
|
||||||
|
--- !u!222 &1481669529
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1481669526}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!1 &1744559309
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 1744559310}
|
||||||
|
- component: {fileID: 1744559312}
|
||||||
|
- component: {fileID: 1744559311}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Image
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &1744559310
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1744559309}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 2.2, y: 2.2, z: 2.2}
|
||||||
|
m_ConstrainProportionsScale: 1
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 1939570967}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: 0.001776, y: -0.0019836}
|
||||||
|
m_SizeDelta: {x: 490.91, y: 872.73}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!114 &1744559311
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1744559309}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 21300000, guid: be3c3adf8349aad02a0b9a969fd50d37, type: 3}
|
||||||
|
m_Type: 0
|
||||||
|
m_PreserveAspect: 0
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
m_UseSpriteMesh: 0
|
||||||
|
m_PixelsPerUnitMultiplier: 1
|
||||||
|
--- !u!222 &1744559312
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1744559309}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!1 &1756276651
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 1756276652}
|
||||||
|
- component: {fileID: 1756276654}
|
||||||
|
- component: {fileID: 1756276653}
|
||||||
|
- component: {fileID: 1756276655}
|
||||||
|
- component: {fileID: 1756276656}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Text (TMP)
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &1756276652
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1756276651}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 1939570967}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: 163, y: -760}
|
||||||
|
m_SizeDelta: {x: 600, y: 200}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!114 &1756276653
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1756276651}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_text: <bounce>Let's scan this QR Code to get reward</bounce>
|
||||||
|
m_isRightToLeft: 0
|
||||||
|
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
||||||
|
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
||||||
|
m_fontSharedMaterials: []
|
||||||
|
m_fontMaterial: {fileID: 0}
|
||||||
|
m_fontMaterials: []
|
||||||
|
m_fontColor32:
|
||||||
|
serializedVersion: 2
|
||||||
|
rgba: 4287115511
|
||||||
|
m_fontColor: {r: 0.96862745, g: 0.1882353, b: 0.53333336, a: 1}
|
||||||
|
m_enableVertexGradient: 0
|
||||||
|
m_colorMode: 3
|
||||||
|
m_fontColorGradient:
|
||||||
|
topLeft: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
topRight: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
bottomRight: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_fontColorGradientPreset: {fileID: 0}
|
||||||
|
m_spriteAsset: {fileID: 0}
|
||||||
|
m_tintAllSprites: 0
|
||||||
|
m_StyleSheet: {fileID: 0}
|
||||||
|
m_TextStyleHashCode: -1183493901
|
||||||
|
m_overrideHtmlColors: 0
|
||||||
|
m_faceColor:
|
||||||
|
serializedVersion: 2
|
||||||
|
rgba: 4294967295
|
||||||
|
m_fontSize: 50
|
||||||
|
m_fontSizeBase: 50
|
||||||
|
m_fontWeight: 400
|
||||||
|
m_enableAutoSizing: 0
|
||||||
|
m_fontSizeMin: 18
|
||||||
|
m_fontSizeMax: 72
|
||||||
|
m_fontStyle: 1
|
||||||
|
m_HorizontalAlignment: 2
|
||||||
|
m_VerticalAlignment: 512
|
||||||
|
m_textAlignment: 65535
|
||||||
|
m_characterSpacing: 0
|
||||||
|
m_wordSpacing: 0
|
||||||
|
m_lineSpacing: 0
|
||||||
|
m_lineSpacingMax: 0
|
||||||
|
m_paragraphSpacing: 0
|
||||||
|
m_charWidthMaxAdj: 0
|
||||||
|
m_enableWordWrapping: 1
|
||||||
|
m_wordWrappingRatios: 0.4
|
||||||
|
m_overflowMode: 0
|
||||||
|
m_linkedTextComponent: {fileID: 0}
|
||||||
|
parentLinkedComponent: {fileID: 0}
|
||||||
|
m_enableKerning: 1
|
||||||
|
m_enableExtraPadding: 0
|
||||||
|
checkPaddingRequired: 0
|
||||||
|
m_isRichText: 1
|
||||||
|
m_parseCtrlCharacters: 1
|
||||||
|
m_isOrthographic: 1
|
||||||
|
m_isCullingEnabled: 0
|
||||||
|
m_horizontalMapping: 0
|
||||||
|
m_verticalMapping: 0
|
||||||
|
m_uvLineOffset: 0
|
||||||
|
m_geometrySortingOrder: 0
|
||||||
|
m_IsTextObjectScaleStatic: 0
|
||||||
|
m_VertexBufferAutoSizeReduction: 0
|
||||||
|
m_useMaxVisibleDescender: 1
|
||||||
|
m_pageToDisplay: 1
|
||||||
|
m_margin: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_isUsingLegacyAnimationComponent: 0
|
||||||
|
m_isVolumetricText: 0
|
||||||
|
m_hasFontAssetChanged: 0
|
||||||
|
m_baseMaterial: {fileID: 0}
|
||||||
|
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
--- !u!222 &1756276654
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1756276651}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &1756276655
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1756276651}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: e8ace8ced0e81c847968cdca0aeda757, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
typewriterStartsAutomatically: 0
|
||||||
|
animationLoop: 0
|
||||||
|
timeScale: 0
|
||||||
|
_text:
|
||||||
|
useDynamicScaling: 1
|
||||||
|
referenceFontSize: 10
|
||||||
|
isResettingTimeOnNewText: 1
|
||||||
|
useDefaultDatabases: 1
|
||||||
|
databaseBehaviors: {fileID: 0}
|
||||||
|
databaseAppearances: {fileID: 0}
|
||||||
|
databaseActions: {fileID: 0}
|
||||||
|
defaultAppearancesTags:
|
||||||
|
- size
|
||||||
|
defaultDisappearancesTags:
|
||||||
|
- fade
|
||||||
|
defaultBehaviorsTags: []
|
||||||
|
defaultTagsMode: 0
|
||||||
|
--- !u!95 &1756276656
|
||||||
|
Animator:
|
||||||
|
serializedVersion: 5
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1756276651}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_Avatar: {fileID: 0}
|
||||||
|
m_Controller: {fileID: 9100000, guid: a3551747c220e0f5492a4b9f83906498, type: 2}
|
||||||
|
m_CullingMode: 0
|
||||||
|
m_UpdateMode: 0
|
||||||
|
m_ApplyRootMotion: 0
|
||||||
|
m_LinearVelocityBlending: 0
|
||||||
|
m_StabilizeFeet: 0
|
||||||
|
m_WarningMessage:
|
||||||
|
m_HasTransformHierarchy: 1
|
||||||
|
m_AllowConstantClipSamplingOptimization: 1
|
||||||
|
m_KeepAnimatorStateOnDisable: 0
|
||||||
|
m_WriteDefaultValuesOnDisable: 0
|
||||||
--- !u!1 &1939570963
|
--- !u!1 &1939570963
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -817,6 +963,7 @@ GameObject:
|
||||||
- component: {fileID: 1939570966}
|
- component: {fileID: 1939570966}
|
||||||
- component: {fileID: 1939570965}
|
- component: {fileID: 1939570965}
|
||||||
- component: {fileID: 1939570964}
|
- component: {fileID: 1939570964}
|
||||||
|
- component: {fileID: 1939570968}
|
||||||
m_Layer: 5
|
m_Layer: 5
|
||||||
m_Name: Canvas
|
m_Name: Canvas
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
|
@ -901,9 +1048,10 @@ RectTransform:
|
||||||
m_Children:
|
m_Children:
|
||||||
- {fileID: 8989348}
|
- {fileID: 8989348}
|
||||||
- {fileID: 583976854}
|
- {fileID: 583976854}
|
||||||
- {fileID: 153067424}
|
- {fileID: 1481669527}
|
||||||
- {fileID: 44823602}
|
- {fileID: 1744559310}
|
||||||
- {fileID: 1265150232}
|
- {fileID: 278505840}
|
||||||
|
- {fileID: 1756276652}
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
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}
|
||||||
|
@ -911,6 +1059,20 @@ RectTransform:
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
m_SizeDelta: {x: 0, y: 0}
|
m_SizeDelta: {x: 0, y: 0}
|
||||||
m_Pivot: {x: 0, y: 0}
|
m_Pivot: {x: 0, y: 0}
|
||||||
|
--- !u!114 &1939570968
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1939570963}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 6af571fab0bd941cbb61c9ccd1d66f8c, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
_rawImage: {fileID: 278505838}
|
||||||
|
_mail: {fileID: 1756276653}
|
||||||
--- !u!1660057539 &9223372036854775807
|
--- !u!1660057539 &9223372036854775807
|
||||||
SceneRoots:
|
SceneRoots:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 46cab2f289b2fed4bb929899e3c5cf4b
|
guid: 48bbe95e3cc2b504492831147cd12207
|
||||||
DefaultImporter:
|
DefaultImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
userData:
|
userData:
|
||||||
|
|
|
@ -195,6 +195,100 @@ VideoPlayer:
|
||||||
m_WaitForFirstFrame: 1
|
m_WaitForFirstFrame: 1
|
||||||
m_FrameReadyEventEnabled: 0
|
m_FrameReadyEventEnabled: 0
|
||||||
m_VideoShaders: []
|
m_VideoShaders: []
|
||||||
|
--- !u!1 &278505837
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 278505840}
|
||||||
|
- component: {fileID: 278505839}
|
||||||
|
- component: {fileID: 278505838}
|
||||||
|
- component: {fileID: 278505841}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: QR_Place
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!114 &278505838
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 278505837}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 1344c3c82d62a2a41a3576d8abb8e3ea, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_UVRect:
|
||||||
|
serializedVersion: 2
|
||||||
|
x: 0
|
||||||
|
y: 0
|
||||||
|
width: 1
|
||||||
|
height: 1
|
||||||
|
--- !u!222 &278505839
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 278505837}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!224 &278505840
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 278505837}
|
||||||
|
m_LocalRotation: {x: -0, y: -0, z: -0.0027186368, w: 0.99999636}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 1939570967}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: -0.312}
|
||||||
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
|
m_AnchorMax: {x: 0, y: 0}
|
||||||
|
m_AnchoredPosition: {x: 194, y: 194}
|
||||||
|
m_SizeDelta: {x: 350, y: 350}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!95 &278505841
|
||||||
|
Animator:
|
||||||
|
serializedVersion: 5
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 278505837}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_Avatar: {fileID: 0}
|
||||||
|
m_Controller: {fileID: 9100000, guid: 1fa7d83119974bf4daa9e58aae2179d2, type: 2}
|
||||||
|
m_CullingMode: 0
|
||||||
|
m_UpdateMode: 0
|
||||||
|
m_ApplyRootMotion: 0
|
||||||
|
m_LinearVelocityBlending: 0
|
||||||
|
m_StabilizeFeet: 0
|
||||||
|
m_WarningMessage:
|
||||||
|
m_HasTransformHierarchy: 1
|
||||||
|
m_AllowConstantClipSamplingOptimization: 1
|
||||||
|
m_KeepAnimatorStateOnDisable: 0
|
||||||
|
m_WriteDefaultValuesOnDisable: 0
|
||||||
--- !u!1 &535544408
|
--- !u!1 &535544408
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -279,7 +373,7 @@ GameObject:
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
m_StaticEditorFlags: 0
|
m_StaticEditorFlags: 0
|
||||||
m_IsActive: 1
|
m_IsActive: 0
|
||||||
--- !u!224 &583976854
|
--- !u!224 &583976854
|
||||||
RectTransform:
|
RectTransform:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -335,140 +429,6 @@ VideoPlayer:
|
||||||
m_WaitForFirstFrame: 1
|
m_WaitForFirstFrame: 1
|
||||||
m_FrameReadyEventEnabled: 0
|
m_FrameReadyEventEnabled: 0
|
||||||
m_VideoShaders: []
|
m_VideoShaders: []
|
||||||
--- !u!1 &1249471685
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 1249471686}
|
|
||||||
- component: {fileID: 1249471688}
|
|
||||||
- component: {fileID: 1249471687}
|
|
||||||
m_Layer: 5
|
|
||||||
m_Name: Text (TMP)
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 0
|
|
||||||
--- !u!224 &1249471686
|
|
||||||
RectTransform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1249471685}
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_ConstrainProportionsScale: 0
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 1939570967}
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
|
||||||
m_SizeDelta: {x: 300, y: 50}
|
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
|
||||||
--- !u!114 &1249471687
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1249471685}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
m_RaycastTarget: 1
|
|
||||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
|
||||||
m_Maskable: 1
|
|
||||||
m_OnCullStateChanged:
|
|
||||||
m_PersistentCalls:
|
|
||||||
m_Calls: []
|
|
||||||
m_text: Male
|
|
||||||
m_isRightToLeft: 0
|
|
||||||
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
|
||||||
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
|
||||||
m_fontSharedMaterials: []
|
|
||||||
m_fontMaterial: {fileID: 0}
|
|
||||||
m_fontMaterials: []
|
|
||||||
m_fontColor32:
|
|
||||||
serializedVersion: 2
|
|
||||||
rgba: 4278190080
|
|
||||||
m_fontColor: {r: 0, g: 0, b: 0, a: 1}
|
|
||||||
m_enableVertexGradient: 0
|
|
||||||
m_colorMode: 3
|
|
||||||
m_fontColorGradient:
|
|
||||||
topLeft: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
topRight: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
bottomRight: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
m_fontColorGradientPreset: {fileID: 0}
|
|
||||||
m_spriteAsset: {fileID: 0}
|
|
||||||
m_tintAllSprites: 0
|
|
||||||
m_StyleSheet: {fileID: 0}
|
|
||||||
m_TextStyleHashCode: -1183493901
|
|
||||||
m_overrideHtmlColors: 0
|
|
||||||
m_faceColor:
|
|
||||||
serializedVersion: 2
|
|
||||||
rgba: 4294967295
|
|
||||||
m_fontSize: 100
|
|
||||||
m_fontSizeBase: 100
|
|
||||||
m_fontWeight: 400
|
|
||||||
m_enableAutoSizing: 0
|
|
||||||
m_fontSizeMin: 18
|
|
||||||
m_fontSizeMax: 72
|
|
||||||
m_fontStyle: 1
|
|
||||||
m_HorizontalAlignment: 2
|
|
||||||
m_VerticalAlignment: 512
|
|
||||||
m_textAlignment: 65535
|
|
||||||
m_characterSpacing: 0
|
|
||||||
m_wordSpacing: 0
|
|
||||||
m_lineSpacing: 0
|
|
||||||
m_lineSpacingMax: 0
|
|
||||||
m_paragraphSpacing: 0
|
|
||||||
m_charWidthMaxAdj: 0
|
|
||||||
m_enableWordWrapping: 1
|
|
||||||
m_wordWrappingRatios: 0.4
|
|
||||||
m_overflowMode: 0
|
|
||||||
m_linkedTextComponent: {fileID: 0}
|
|
||||||
parentLinkedComponent: {fileID: 0}
|
|
||||||
m_enableKerning: 1
|
|
||||||
m_enableExtraPadding: 0
|
|
||||||
checkPaddingRequired: 0
|
|
||||||
m_isRichText: 1
|
|
||||||
m_parseCtrlCharacters: 1
|
|
||||||
m_isOrthographic: 1
|
|
||||||
m_isCullingEnabled: 0
|
|
||||||
m_horizontalMapping: 0
|
|
||||||
m_verticalMapping: 0
|
|
||||||
m_uvLineOffset: 0
|
|
||||||
m_geometrySortingOrder: 0
|
|
||||||
m_IsTextObjectScaleStatic: 0
|
|
||||||
m_VertexBufferAutoSizeReduction: 0
|
|
||||||
m_useMaxVisibleDescender: 1
|
|
||||||
m_pageToDisplay: 1
|
|
||||||
m_margin: {x: 0, y: 0, z: 0, w: 0}
|
|
||||||
m_isUsingLegacyAnimationComponent: 0
|
|
||||||
m_isVolumetricText: 0
|
|
||||||
m_hasFontAssetChanged: 0
|
|
||||||
m_baseMaterial: {fileID: 0}
|
|
||||||
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
|
|
||||||
--- !u!222 &1249471688
|
|
||||||
CanvasRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1249471685}
|
|
||||||
m_CullTransparentMesh: 1
|
|
||||||
--- !u!1 &1302683599
|
--- !u!1 &1302683599
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -764,8 +724,8 @@ 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: 0, y: 580}
|
m_AnchoredPosition: {x: 0.001776, y: -0.0019836}
|
||||||
m_SizeDelta: {x: 280, y: 309}
|
m_SizeDelta: {x: 490.91, y: 872.73}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!114 &1744559311
|
--- !u!114 &1744559311
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
|
@ -787,7 +747,7 @@ MonoBehaviour:
|
||||||
m_OnCullStateChanged:
|
m_OnCullStateChanged:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
m_Calls: []
|
m_Calls: []
|
||||||
m_Sprite: {fileID: 21300000, guid: 50c4c1e7e0af9454595a0f8be012bcd9, type: 3}
|
m_Sprite: {fileID: 21300000, guid: 3f47f809e893dd9c7bea7dde129191c1, type: 3}
|
||||||
m_Type: 0
|
m_Type: 0
|
||||||
m_PreserveAspect: 0
|
m_PreserveAspect: 0
|
||||||
m_FillCenter: 1
|
m_FillCenter: 1
|
||||||
|
@ -805,6 +765,192 @@ CanvasRenderer:
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 1744559309}
|
m_GameObject: {fileID: 1744559309}
|
||||||
m_CullTransparentMesh: 1
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!1 &1756276651
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 1756276652}
|
||||||
|
- component: {fileID: 1756276654}
|
||||||
|
- component: {fileID: 1756276653}
|
||||||
|
- component: {fileID: 1756276655}
|
||||||
|
- component: {fileID: 1756276656}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Text (TMP)
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &1756276652
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1756276651}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 1939570967}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: 163, y: -760}
|
||||||
|
m_SizeDelta: {x: 600, y: 200}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!114 &1756276653
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1756276651}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_text: <bounce>Let's scan this QR Code to get reward</bounce>
|
||||||
|
m_isRightToLeft: 0
|
||||||
|
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
||||||
|
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
||||||
|
m_fontSharedMaterials: []
|
||||||
|
m_fontMaterial: {fileID: 0}
|
||||||
|
m_fontMaterials: []
|
||||||
|
m_fontColor32:
|
||||||
|
serializedVersion: 2
|
||||||
|
rgba: 4278255588
|
||||||
|
m_fontColor: {r: 0.893823, g: 1, b: 0, a: 1}
|
||||||
|
m_enableVertexGradient: 0
|
||||||
|
m_colorMode: 3
|
||||||
|
m_fontColorGradient:
|
||||||
|
topLeft: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
topRight: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
bottomRight: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_fontColorGradientPreset: {fileID: 0}
|
||||||
|
m_spriteAsset: {fileID: 0}
|
||||||
|
m_tintAllSprites: 0
|
||||||
|
m_StyleSheet: {fileID: 0}
|
||||||
|
m_TextStyleHashCode: -1183493901
|
||||||
|
m_overrideHtmlColors: 0
|
||||||
|
m_faceColor:
|
||||||
|
serializedVersion: 2
|
||||||
|
rgba: 4294967295
|
||||||
|
m_fontSize: 50
|
||||||
|
m_fontSizeBase: 50
|
||||||
|
m_fontWeight: 400
|
||||||
|
m_enableAutoSizing: 0
|
||||||
|
m_fontSizeMin: 18
|
||||||
|
m_fontSizeMax: 72
|
||||||
|
m_fontStyle: 1
|
||||||
|
m_HorizontalAlignment: 2
|
||||||
|
m_VerticalAlignment: 512
|
||||||
|
m_textAlignment: 65535
|
||||||
|
m_characterSpacing: 0
|
||||||
|
m_wordSpacing: 0
|
||||||
|
m_lineSpacing: 0
|
||||||
|
m_lineSpacingMax: 0
|
||||||
|
m_paragraphSpacing: 0
|
||||||
|
m_charWidthMaxAdj: 0
|
||||||
|
m_enableWordWrapping: 1
|
||||||
|
m_wordWrappingRatios: 0.4
|
||||||
|
m_overflowMode: 0
|
||||||
|
m_linkedTextComponent: {fileID: 0}
|
||||||
|
parentLinkedComponent: {fileID: 0}
|
||||||
|
m_enableKerning: 1
|
||||||
|
m_enableExtraPadding: 0
|
||||||
|
checkPaddingRequired: 0
|
||||||
|
m_isRichText: 1
|
||||||
|
m_parseCtrlCharacters: 1
|
||||||
|
m_isOrthographic: 1
|
||||||
|
m_isCullingEnabled: 0
|
||||||
|
m_horizontalMapping: 0
|
||||||
|
m_verticalMapping: 0
|
||||||
|
m_uvLineOffset: 0
|
||||||
|
m_geometrySortingOrder: 0
|
||||||
|
m_IsTextObjectScaleStatic: 0
|
||||||
|
m_VertexBufferAutoSizeReduction: 0
|
||||||
|
m_useMaxVisibleDescender: 1
|
||||||
|
m_pageToDisplay: 1
|
||||||
|
m_margin: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_isUsingLegacyAnimationComponent: 0
|
||||||
|
m_isVolumetricText: 0
|
||||||
|
m_hasFontAssetChanged: 0
|
||||||
|
m_baseMaterial: {fileID: 0}
|
||||||
|
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
--- !u!222 &1756276654
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1756276651}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &1756276655
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1756276651}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: e8ace8ced0e81c847968cdca0aeda757, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
typewriterStartsAutomatically: 0
|
||||||
|
animationLoop: 0
|
||||||
|
timeScale: 0
|
||||||
|
_text:
|
||||||
|
useDynamicScaling: 1
|
||||||
|
referenceFontSize: 10
|
||||||
|
isResettingTimeOnNewText: 1
|
||||||
|
useDefaultDatabases: 1
|
||||||
|
databaseBehaviors: {fileID: 0}
|
||||||
|
databaseAppearances: {fileID: 0}
|
||||||
|
databaseActions: {fileID: 0}
|
||||||
|
defaultAppearancesTags:
|
||||||
|
- size
|
||||||
|
defaultDisappearancesTags:
|
||||||
|
- fade
|
||||||
|
defaultBehaviorsTags: []
|
||||||
|
defaultTagsMode: 0
|
||||||
|
--- !u!95 &1756276656
|
||||||
|
Animator:
|
||||||
|
serializedVersion: 5
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1756276651}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_Avatar: {fileID: 0}
|
||||||
|
m_Controller: {fileID: 9100000, guid: a3551747c220e0f5492a4b9f83906498, type: 2}
|
||||||
|
m_CullingMode: 0
|
||||||
|
m_UpdateMode: 0
|
||||||
|
m_ApplyRootMotion: 0
|
||||||
|
m_LinearVelocityBlending: 0
|
||||||
|
m_StabilizeFeet: 0
|
||||||
|
m_WarningMessage:
|
||||||
|
m_HasTransformHierarchy: 1
|
||||||
|
m_AllowConstantClipSamplingOptimization: 1
|
||||||
|
m_KeepAnimatorStateOnDisable: 0
|
||||||
|
m_WriteDefaultValuesOnDisable: 0
|
||||||
--- !u!1 &1939570963
|
--- !u!1 &1939570963
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -817,6 +963,7 @@ GameObject:
|
||||||
- component: {fileID: 1939570966}
|
- component: {fileID: 1939570966}
|
||||||
- component: {fileID: 1939570965}
|
- component: {fileID: 1939570965}
|
||||||
- component: {fileID: 1939570964}
|
- component: {fileID: 1939570964}
|
||||||
|
- component: {fileID: 1939570968}
|
||||||
m_Layer: 5
|
m_Layer: 5
|
||||||
m_Name: Canvas
|
m_Name: Canvas
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
|
@ -903,7 +1050,8 @@ RectTransform:
|
||||||
- {fileID: 583976854}
|
- {fileID: 583976854}
|
||||||
- {fileID: 1481669527}
|
- {fileID: 1481669527}
|
||||||
- {fileID: 1744559310}
|
- {fileID: 1744559310}
|
||||||
- {fileID: 1249471686}
|
- {fileID: 278505840}
|
||||||
|
- {fileID: 1756276652}
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
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}
|
||||||
|
@ -911,6 +1059,20 @@ RectTransform:
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
m_SizeDelta: {x: 0, y: 0}
|
m_SizeDelta: {x: 0, y: 0}
|
||||||
m_Pivot: {x: 0, y: 0}
|
m_Pivot: {x: 0, y: 0}
|
||||||
|
--- !u!114 &1939570968
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1939570963}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 6af571fab0bd941cbb61c9ccd1d66f8c, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
_rawImage: {fileID: 278505838}
|
||||||
|
_mail: {fileID: 1756276653}
|
||||||
--- !u!1660057539 &9223372036854775807
|
--- !u!1660057539 &9223372036854775807
|
||||||
SceneRoots:
|
SceneRoots:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
|
@ -1,710 +0,0 @@
|
||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!29 &1
|
|
||||||
OcclusionCullingSettings:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 2
|
|
||||||
m_OcclusionBakeSettings:
|
|
||||||
smallestOccluder: 5
|
|
||||||
smallestHole: 0.25
|
|
||||||
backfaceThreshold: 100
|
|
||||||
m_SceneGUID: 00000000000000000000000000000000
|
|
||||||
m_OcclusionCullingData: {fileID: 0}
|
|
||||||
--- !u!104 &2
|
|
||||||
RenderSettings:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 9
|
|
||||||
m_Fog: 0
|
|
||||||
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
|
||||||
m_FogMode: 3
|
|
||||||
m_FogDensity: 0.01
|
|
||||||
m_LinearFogStart: 0
|
|
||||||
m_LinearFogEnd: 300
|
|
||||||
m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
|
|
||||||
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
|
|
||||||
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
|
|
||||||
m_AmbientIntensity: 1
|
|
||||||
m_AmbientMode: 0
|
|
||||||
m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
|
|
||||||
m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0}
|
|
||||||
m_HaloStrength: 0.5
|
|
||||||
m_FlareStrength: 1
|
|
||||||
m_FlareFadeSpeed: 3
|
|
||||||
m_HaloTexture: {fileID: 0}
|
|
||||||
m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_DefaultReflectionMode: 0
|
|
||||||
m_DefaultReflectionResolution: 128
|
|
||||||
m_ReflectionBounces: 1
|
|
||||||
m_ReflectionIntensity: 1
|
|
||||||
m_CustomReflection: {fileID: 0}
|
|
||||||
m_Sun: {fileID: 0}
|
|
||||||
m_IndirectSpecularColor: {r: 0.44657898, g: 0.4964133, b: 0.5748178, a: 1}
|
|
||||||
m_UseRadianceAmbientProbe: 0
|
|
||||||
--- !u!157 &3
|
|
||||||
LightmapSettings:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 12
|
|
||||||
m_GIWorkflowMode: 1
|
|
||||||
m_GISettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_BounceScale: 1
|
|
||||||
m_IndirectOutputScale: 1
|
|
||||||
m_AlbedoBoost: 1
|
|
||||||
m_EnvironmentLightingMode: 0
|
|
||||||
m_EnableBakedLightmaps: 1
|
|
||||||
m_EnableRealtimeLightmaps: 0
|
|
||||||
m_LightmapEditorSettings:
|
|
||||||
serializedVersion: 12
|
|
||||||
m_Resolution: 2
|
|
||||||
m_BakeResolution: 40
|
|
||||||
m_AtlasSize: 1024
|
|
||||||
m_AO: 0
|
|
||||||
m_AOMaxDistance: 1
|
|
||||||
m_CompAOExponent: 1
|
|
||||||
m_CompAOExponentDirect: 0
|
|
||||||
m_ExtractAmbientOcclusion: 0
|
|
||||||
m_Padding: 2
|
|
||||||
m_LightmapParameters: {fileID: 0}
|
|
||||||
m_LightmapsBakeMode: 1
|
|
||||||
m_TextureCompression: 1
|
|
||||||
m_FinalGather: 0
|
|
||||||
m_FinalGatherFiltering: 1
|
|
||||||
m_FinalGatherRayCount: 256
|
|
||||||
m_ReflectionCompression: 2
|
|
||||||
m_MixedBakeMode: 2
|
|
||||||
m_BakeBackend: 1
|
|
||||||
m_PVRSampling: 1
|
|
||||||
m_PVRDirectSampleCount: 32
|
|
||||||
m_PVRSampleCount: 512
|
|
||||||
m_PVRBounces: 2
|
|
||||||
m_PVREnvironmentSampleCount: 256
|
|
||||||
m_PVREnvironmentReferencePointCount: 2048
|
|
||||||
m_PVRFilteringMode: 1
|
|
||||||
m_PVRDenoiserTypeDirect: 1
|
|
||||||
m_PVRDenoiserTypeIndirect: 1
|
|
||||||
m_PVRDenoiserTypeAO: 1
|
|
||||||
m_PVRFilterTypeDirect: 0
|
|
||||||
m_PVRFilterTypeIndirect: 0
|
|
||||||
m_PVRFilterTypeAO: 0
|
|
||||||
m_PVREnvironmentMIS: 1
|
|
||||||
m_PVRCulling: 1
|
|
||||||
m_PVRFilteringGaussRadiusDirect: 1
|
|
||||||
m_PVRFilteringGaussRadiusIndirect: 5
|
|
||||||
m_PVRFilteringGaussRadiusAO: 2
|
|
||||||
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
|
|
||||||
m_PVRFilteringAtrousPositionSigmaIndirect: 2
|
|
||||||
m_PVRFilteringAtrousPositionSigmaAO: 1
|
|
||||||
m_ExportTrainingData: 0
|
|
||||||
m_TrainingDataDestination: TrainingData
|
|
||||||
m_LightProbeSampleCountMultiplier: 4
|
|
||||||
m_LightingDataAsset: {fileID: 0}
|
|
||||||
m_LightingSettings: {fileID: 0}
|
|
||||||
--- !u!196 &4
|
|
||||||
NavMeshSettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_BuildSettings:
|
|
||||||
serializedVersion: 3
|
|
||||||
agentTypeID: 0
|
|
||||||
agentRadius: 0.5
|
|
||||||
agentHeight: 2
|
|
||||||
agentSlope: 45
|
|
||||||
agentClimb: 0.4
|
|
||||||
ledgeDropHeight: 0
|
|
||||||
maxJumpAcrossDistance: 0
|
|
||||||
minRegionArea: 2
|
|
||||||
manualCellSize: 0
|
|
||||||
cellSize: 0.16666667
|
|
||||||
manualTileSize: 0
|
|
||||||
tileSize: 256
|
|
||||||
buildHeightMesh: 0
|
|
||||||
maxJobWorkers: 0
|
|
||||||
preserveTilesOutsideBounds: 0
|
|
||||||
debug:
|
|
||||||
m_Flags: 0
|
|
||||||
m_NavMeshData: {fileID: 0}
|
|
||||||
--- !u!1 &8989347
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 8989348}
|
|
||||||
- component: {fileID: 8989349}
|
|
||||||
m_Layer: 5
|
|
||||||
m_Name: Video Player
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 0
|
|
||||||
--- !u!224 &8989348
|
|
||||||
RectTransform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 8989347}
|
|
||||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_ConstrainProportionsScale: 0
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 1939570967}
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
|
||||||
m_SizeDelta: {x: 100, y: 100}
|
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
|
||||||
--- !u!328 &8989349
|
|
||||||
VideoPlayer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 8989347}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_VideoClip: {fileID: 32900000, guid: 3b4884bd1c52a67d38dad5cc3bc6cb27, type: 3}
|
|
||||||
m_TargetCameraAlpha: 1
|
|
||||||
m_TargetCamera3DLayout: 0
|
|
||||||
m_TargetCamera: {fileID: 0}
|
|
||||||
m_TargetTexture: {fileID: 0}
|
|
||||||
m_TimeReference: 0
|
|
||||||
m_TargetMaterialRenderer: {fileID: 0}
|
|
||||||
m_TargetMaterialProperty: <noninit>
|
|
||||||
m_RenderMode: 2
|
|
||||||
m_AspectRatio: 2
|
|
||||||
m_DataSource: 0
|
|
||||||
m_TimeUpdateMode: 2
|
|
||||||
m_PlaybackSpeed: 1
|
|
||||||
m_AudioOutputMode: 2
|
|
||||||
m_TargetAudioSources:
|
|
||||||
- {fileID: 0}
|
|
||||||
m_DirectAudioVolumes:
|
|
||||||
- 1
|
|
||||||
m_Url:
|
|
||||||
m_EnabledAudioTracks: 01
|
|
||||||
m_DirectAudioMutes: 00
|
|
||||||
m_ControlledAudioTrackCount: 1
|
|
||||||
m_PlayOnAwake: 1
|
|
||||||
m_SkipOnDrop: 1
|
|
||||||
m_Looping: 0
|
|
||||||
m_WaitForFirstFrame: 1
|
|
||||||
m_FrameReadyEventEnabled: 0
|
|
||||||
m_VideoShaders: []
|
|
||||||
--- !u!1 &44823601
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 44823602}
|
|
||||||
- component: {fileID: 44823604}
|
|
||||||
- component: {fileID: 44823603}
|
|
||||||
m_Layer: 5
|
|
||||||
m_Name: Image
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!224 &44823602
|
|
||||||
RectTransform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 44823601}
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
||||||
m_LocalScale: {x: 2.2, y: 2.2, z: 2.2}
|
|
||||||
m_ConstrainProportionsScale: 1
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 1939570967}
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
|
||||||
m_AnchoredPosition: {x: 0, y: 574}
|
|
||||||
m_SizeDelta: {x: 280, y: 309}
|
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
|
||||||
--- !u!114 &44823603
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 44823601}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
m_RaycastTarget: 1
|
|
||||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
|
||||||
m_Maskable: 1
|
|
||||||
m_OnCullStateChanged:
|
|
||||||
m_PersistentCalls:
|
|
||||||
m_Calls: []
|
|
||||||
m_Sprite: {fileID: 21300000, guid: 50c4c1e7e0af9454595a0f8be012bcd9, type: 3}
|
|
||||||
m_Type: 0
|
|
||||||
m_PreserveAspect: 0
|
|
||||||
m_FillCenter: 1
|
|
||||||
m_FillMethod: 4
|
|
||||||
m_FillAmount: 1
|
|
||||||
m_FillClockwise: 1
|
|
||||||
m_FillOrigin: 0
|
|
||||||
m_UseSpriteMesh: 0
|
|
||||||
m_PixelsPerUnitMultiplier: 1
|
|
||||||
--- !u!222 &44823604
|
|
||||||
CanvasRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 44823601}
|
|
||||||
m_CullTransparentMesh: 1
|
|
||||||
--- !u!1 &535544408
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 535544411}
|
|
||||||
- component: {fileID: 535544410}
|
|
||||||
- component: {fileID: 535544409}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: EventSystem
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!114 &535544409
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 535544408}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 4f231c4fb786f3946a6b90b886c48677, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_SendPointerHoverToParent: 1
|
|
||||||
m_HorizontalAxis: Horizontal
|
|
||||||
m_VerticalAxis: Vertical
|
|
||||||
m_SubmitButton: Submit
|
|
||||||
m_CancelButton: Cancel
|
|
||||||
m_InputActionsPerSecond: 10
|
|
||||||
m_RepeatDelay: 0.5
|
|
||||||
m_ForceModuleActive: 0
|
|
||||||
--- !u!114 &535544410
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 535544408}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_FirstSelected: {fileID: 0}
|
|
||||||
m_sendNavigationEvents: 1
|
|
||||||
m_DragThreshold: 10
|
|
||||||
--- !u!4 &535544411
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 535544408}
|
|
||||||
serializedVersion: 2
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_ConstrainProportionsScale: 0
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
--- !u!1 &583976853
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 583976854}
|
|
||||||
- component: {fileID: 583976855}
|
|
||||||
m_Layer: 5
|
|
||||||
m_Name: Video Player
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!224 &583976854
|
|
||||||
RectTransform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 583976853}
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_ConstrainProportionsScale: 0
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 1939570967}
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
m_AnchorMin: {x: 0, y: 0}
|
|
||||||
m_AnchorMax: {x: 1, y: 1}
|
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
|
||||||
m_SizeDelta: {x: 0, y: 0}
|
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
|
||||||
--- !u!328 &583976855
|
|
||||||
VideoPlayer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 583976853}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_VideoClip: {fileID: 32900000, guid: 3b4884bd1c52a67d38dad5cc3bc6cb27, type: 3}
|
|
||||||
m_TargetCameraAlpha: 1
|
|
||||||
m_TargetCamera3DLayout: 0
|
|
||||||
m_TargetCamera: {fileID: 1302683601}
|
|
||||||
m_TargetTexture: {fileID: 0}
|
|
||||||
m_TimeReference: 0
|
|
||||||
m_TargetMaterialRenderer: {fileID: 0}
|
|
||||||
m_TargetMaterialProperty: <noninit>
|
|
||||||
m_RenderMode: 0
|
|
||||||
m_AspectRatio: 2
|
|
||||||
m_DataSource: 0
|
|
||||||
m_TimeUpdateMode: 2
|
|
||||||
m_PlaybackSpeed: 1
|
|
||||||
m_AudioOutputMode: 2
|
|
||||||
m_TargetAudioSources:
|
|
||||||
- {fileID: 0}
|
|
||||||
m_DirectAudioVolumes:
|
|
||||||
- 1
|
|
||||||
m_Url:
|
|
||||||
m_EnabledAudioTracks: 01
|
|
||||||
m_DirectAudioMutes: 00
|
|
||||||
m_ControlledAudioTrackCount: 1
|
|
||||||
m_PlayOnAwake: 1
|
|
||||||
m_SkipOnDrop: 1
|
|
||||||
m_Looping: 1
|
|
||||||
m_WaitForFirstFrame: 1
|
|
||||||
m_FrameReadyEventEnabled: 0
|
|
||||||
m_VideoShaders: []
|
|
||||||
--- !u!1 &1302683599
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 1302683602}
|
|
||||||
- component: {fileID: 1302683601}
|
|
||||||
- component: {fileID: 1302683600}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Main Camera
|
|
||||||
m_TagString: MainCamera
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!81 &1302683600
|
|
||||||
AudioListener:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1302683599}
|
|
||||||
m_Enabled: 1
|
|
||||||
--- !u!20 &1302683601
|
|
||||||
Camera:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1302683599}
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 2
|
|
||||||
m_ClearFlags: 2
|
|
||||||
m_BackGroundColor: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
m_projectionMatrixMode: 1
|
|
||||||
m_GateFitMode: 2
|
|
||||||
m_FOVAxisMode: 0
|
|
||||||
m_Iso: 200
|
|
||||||
m_ShutterSpeed: 0.005
|
|
||||||
m_Aperture: 16
|
|
||||||
m_FocusDistance: 10
|
|
||||||
m_FocalLength: 50
|
|
||||||
m_BladeCount: 5
|
|
||||||
m_Curvature: {x: 2, y: 11}
|
|
||||||
m_BarrelClipping: 0.25
|
|
||||||
m_Anamorphism: 0
|
|
||||||
m_SensorSize: {x: 36, y: 24}
|
|
||||||
m_LensShift: {x: 0, y: 0}
|
|
||||||
m_NormalizedViewPortRect:
|
|
||||||
serializedVersion: 2
|
|
||||||
x: 0
|
|
||||||
y: 0
|
|
||||||
width: 1
|
|
||||||
height: 1
|
|
||||||
near clip plane: 0.3
|
|
||||||
far clip plane: 1000
|
|
||||||
field of view: 60
|
|
||||||
orthographic: 0
|
|
||||||
orthographic size: 5
|
|
||||||
m_Depth: -1
|
|
||||||
m_CullingMask:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 4294967295
|
|
||||||
m_RenderingPath: -1
|
|
||||||
m_TargetTexture: {fileID: 0}
|
|
||||||
m_TargetDisplay: 0
|
|
||||||
m_TargetEye: 3
|
|
||||||
m_HDR: 1
|
|
||||||
m_AllowMSAA: 1
|
|
||||||
m_AllowDynamicResolution: 0
|
|
||||||
m_ForceIntoRT: 0
|
|
||||||
m_OcclusionCulling: 1
|
|
||||||
m_StereoConvergence: 10
|
|
||||||
m_StereoSeparation: 0.022
|
|
||||||
--- !u!4 &1302683602
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1302683599}
|
|
||||||
serializedVersion: 2
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0, y: 1, z: -10}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_ConstrainProportionsScale: 0
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
--- !u!1 &1388120848
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 1388120850}
|
|
||||||
- component: {fileID: 1388120849}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Directional Light
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!108 &1388120849
|
|
||||||
Light:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1388120848}
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 10
|
|
||||||
m_Type: 1
|
|
||||||
m_Shape: 0
|
|
||||||
m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1}
|
|
||||||
m_Intensity: 1
|
|
||||||
m_Range: 10
|
|
||||||
m_SpotAngle: 30
|
|
||||||
m_InnerSpotAngle: 21.80208
|
|
||||||
m_CookieSize: 10
|
|
||||||
m_Shadows:
|
|
||||||
m_Type: 2
|
|
||||||
m_Resolution: -1
|
|
||||||
m_CustomResolution: -1
|
|
||||||
m_Strength: 1
|
|
||||||
m_Bias: 0.05
|
|
||||||
m_NormalBias: 0.4
|
|
||||||
m_NearPlane: 0.2
|
|
||||||
m_CullingMatrixOverride:
|
|
||||||
e00: 1
|
|
||||||
e01: 0
|
|
||||||
e02: 0
|
|
||||||
e03: 0
|
|
||||||
e10: 0
|
|
||||||
e11: 1
|
|
||||||
e12: 0
|
|
||||||
e13: 0
|
|
||||||
e20: 0
|
|
||||||
e21: 0
|
|
||||||
e22: 1
|
|
||||||
e23: 0
|
|
||||||
e30: 0
|
|
||||||
e31: 0
|
|
||||||
e32: 0
|
|
||||||
e33: 1
|
|
||||||
m_UseCullingMatrixOverride: 0
|
|
||||||
m_Cookie: {fileID: 0}
|
|
||||||
m_DrawHalo: 0
|
|
||||||
m_Flare: {fileID: 0}
|
|
||||||
m_RenderMode: 0
|
|
||||||
m_CullingMask:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 4294967295
|
|
||||||
m_RenderingLayerMask: 1
|
|
||||||
m_Lightmapping: 4
|
|
||||||
m_LightShadowCasterMode: 0
|
|
||||||
m_AreaSize: {x: 1, y: 1}
|
|
||||||
m_BounceIntensity: 1
|
|
||||||
m_ColorTemperature: 6570
|
|
||||||
m_UseColorTemperature: 0
|
|
||||||
m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0}
|
|
||||||
m_UseBoundingSphereOverride: 0
|
|
||||||
m_UseViewFrustumForShadowCasterCull: 1
|
|
||||||
m_ShadowRadius: 0
|
|
||||||
m_ShadowAngle: 0
|
|
||||||
--- !u!4 &1388120850
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1388120848}
|
|
||||||
serializedVersion: 2
|
|
||||||
m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
|
|
||||||
m_LocalPosition: {x: 0, y: 3, z: 0}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_ConstrainProportionsScale: 0
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
|
|
||||||
--- !u!1 &1939570963
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 1939570967}
|
|
||||||
- component: {fileID: 1939570966}
|
|
||||||
- component: {fileID: 1939570965}
|
|
||||||
- component: {fileID: 1939570964}
|
|
||||||
m_Layer: 5
|
|
||||||
m_Name: Canvas
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!114 &1939570964
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1939570963}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_IgnoreReversedGraphics: 1
|
|
||||||
m_BlockingObjects: 0
|
|
||||||
m_BlockingMask:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 55
|
|
||||||
--- !u!114 &1939570965
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1939570963}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_UiScaleMode: 0
|
|
||||||
m_ReferencePixelsPerUnit: 100
|
|
||||||
m_ScaleFactor: 1
|
|
||||||
m_ReferenceResolution: {x: 800, y: 600}
|
|
||||||
m_ScreenMatchMode: 0
|
|
||||||
m_MatchWidthOrHeight: 0
|
|
||||||
m_PhysicalUnit: 3
|
|
||||||
m_FallbackScreenDPI: 96
|
|
||||||
m_DefaultSpriteDPI: 96
|
|
||||||
m_DynamicPixelsPerUnit: 1
|
|
||||||
m_PresetInfoIsWorld: 0
|
|
||||||
--- !u!223 &1939570966
|
|
||||||
Canvas:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1939570963}
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 3
|
|
||||||
m_RenderMode: 0
|
|
||||||
m_Camera: {fileID: 1302683601}
|
|
||||||
m_PlaneDistance: 100
|
|
||||||
m_PixelPerfect: 0
|
|
||||||
m_ReceivesEvents: 1
|
|
||||||
m_OverrideSorting: 0
|
|
||||||
m_OverridePixelPerfect: 0
|
|
||||||
m_SortingBucketNormalizedSize: 0
|
|
||||||
m_VertexColorAlwaysGammaSpace: 0
|
|
||||||
m_AdditionalShaderChannelsFlag: 0
|
|
||||||
m_UpdateRectTransformForStandalone: 0
|
|
||||||
m_SortingLayerID: 0
|
|
||||||
m_SortingOrder: 0
|
|
||||||
m_TargetDisplay: 0
|
|
||||||
--- !u!224 &1939570967
|
|
||||||
RectTransform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1939570963}
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
||||||
m_LocalScale: {x: 0, y: 0, z: 0}
|
|
||||||
m_ConstrainProportionsScale: 0
|
|
||||||
m_Children:
|
|
||||||
- {fileID: 8989348}
|
|
||||||
- {fileID: 583976854}
|
|
||||||
- {fileID: 44823602}
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
m_AnchorMin: {x: 0, y: 0}
|
|
||||||
m_AnchorMax: {x: 0, y: 0}
|
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
|
||||||
m_SizeDelta: {x: 0, y: 0}
|
|
||||||
m_Pivot: {x: 0, y: 0}
|
|
||||||
--- !u!1660057539 &9223372036854775807
|
|
||||||
SceneRoots:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_Roots:
|
|
||||||
- {fileID: 1302683602}
|
|
||||||
- {fileID: 1388120850}
|
|
||||||
- {fileID: 1939570967}
|
|
||||||
- {fileID: 535544411}
|
|
|
@ -7853,7 +7853,7 @@ MonoBehaviour:
|
||||||
- GadGame.State.GameState.ResumeGameState
|
- GadGame.State.GameState.ResumeGameState
|
||||||
- GadGame.State.GameState.PlayingGameState
|
- GadGame.State.GameState.PlayingGameState
|
||||||
- GadGame.State.GameState.EndGameState
|
- GadGame.State.GameState.EndGameState
|
||||||
GameTime: 20
|
GameTime: 5
|
||||||
_basket: {fileID: 1254852293}
|
_basket: {fileID: 1254852293}
|
||||||
_lerp: 10
|
_lerp: 10
|
||||||
_spawnTime: 0.2
|
_spawnTime: 0.2
|
||||||
|
|
|
@ -396,7 +396,7 @@ GameObject:
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
m_StaticEditorFlags: 0
|
m_StaticEditorFlags: 0
|
||||||
m_IsActive: 1
|
m_IsActive: 0
|
||||||
--- !u!224 &1209049016
|
--- !u!224 &1209049016
|
||||||
RectTransform:
|
RectTransform:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -526,6 +526,295 @@ Transform:
|
||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
--- !u!1001 &2002789707
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransformParent: {fileID: 0}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 132536, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: IngameDebugConsole
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 11414302, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_Size
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 11490438, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_BlockingMask.m_Bits
|
||||||
|
value: 247
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22400762, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22426080, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_AnchorMax.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22426080, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_AnchorMax.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22426080, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_AnchorMin.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22428984, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_AnchorMax.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22428984, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_AnchorMin.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22428984, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22428984, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22428984, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22428984, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22455554, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_AnchorMax.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22455554, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_AnchorMin.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22455554, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22455554, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22455554, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22455554, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22457152, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_Pivot.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22457152, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_Pivot.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22457152, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_AnchorMax.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22457152, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_AnchorMax.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22457152, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_AnchorMin.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22457152, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_AnchorMin.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22457152, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22457152, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22457152, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22457152, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22457152, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22457152, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22457152, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22457152, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22457152, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22457152, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22457152, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22457152, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22457152, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22457152, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22468896, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_AnchorMax.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22468896, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_AnchorMin.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22468896, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22468896, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22468896, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22468896, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22488670, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_AnchorMax.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22488670, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_AnchorMin.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22488670, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22488670, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22488670, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22488670, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22495692, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_AnchorMax.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22495692, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_AnchorMin.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22495692, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22495692, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22495692, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 22495692, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 224619367409363176, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_AnchorMax.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 224619367409363176, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_AnchorMin.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 224619367409363176, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 224619367409363176, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 224619367409363176, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 224619367409363176, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 224856348943071238, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_AnchorMax.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 224856348943071238, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_AnchorMin.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 224856348943071238, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 224856348943071238, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 224856348943071238, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 224856348943071238, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_RemovedGameObjects: []
|
||||||
|
m_AddedGameObjects: []
|
||||||
|
m_AddedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: 67117722a812a2e46ab8cb8eafbf5f5e, type: 3}
|
||||||
--- !u!1001 &427187107964909625
|
--- !u!1001 &427187107964909625
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -641,6 +930,10 @@ PrefabInstance:
|
||||||
serializedVersion: 3
|
serializedVersion: 3
|
||||||
m_TransformParent: {fileID: 0}
|
m_TransformParent: {fileID: 0}
|
||||||
m_Modifications:
|
m_Modifications:
|
||||||
|
- target: {fileID: 843514899178966387, guid: 7a832c1c97ca15e40bad68fa0ddb5007, type: 3}
|
||||||
|
propertyPath: _ip
|
||||||
|
value: 192.168.1.122
|
||||||
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 5011611157645887697, guid: 7a832c1c97ca15e40bad68fa0ddb5007, type: 3}
|
- target: {fileID: 5011611157645887697, guid: 7a832c1c97ca15e40bad68fa0ddb5007, type: 3}
|
||||||
propertyPath: m_Name
|
propertyPath: m_Name
|
||||||
value: Udp Socket
|
value: Udp Socket
|
||||||
|
@ -704,3 +997,4 @@ SceneRoots:
|
||||||
- {fileID: 427187107964909625}
|
- {fileID: 427187107964909625}
|
||||||
- {fileID: 1531525527984352823}
|
- {fileID: 1531525527984352823}
|
||||||
- {fileID: 398718624}
|
- {fileID: 398718624}
|
||||||
|
- {fileID: 2002789707}
|
||||||
|
|
|
@ -195,7 +195,7 @@ VideoPlayer:
|
||||||
m_WaitForFirstFrame: 1
|
m_WaitForFirstFrame: 1
|
||||||
m_FrameReadyEventEnabled: 0
|
m_FrameReadyEventEnabled: 0
|
||||||
m_VideoShaders: []
|
m_VideoShaders: []
|
||||||
--- !u!1 &44823601
|
--- !u!1 &379026405
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
@ -203,9 +203,9 @@ GameObject:
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
serializedVersion: 6
|
serializedVersion: 6
|
||||||
m_Component:
|
m_Component:
|
||||||
- component: {fileID: 44823602}
|
- component: {fileID: 379026406}
|
||||||
- component: {fileID: 44823604}
|
- component: {fileID: 379026408}
|
||||||
- component: {fileID: 44823603}
|
- component: {fileID: 379026407}
|
||||||
m_Layer: 5
|
m_Layer: 5
|
||||||
m_Name: Image
|
m_Name: Image
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
|
@ -213,32 +213,32 @@ GameObject:
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
m_StaticEditorFlags: 0
|
m_StaticEditorFlags: 0
|
||||||
m_IsActive: 1
|
m_IsActive: 1
|
||||||
--- !u!224 &44823602
|
--- !u!224 &379026406
|
||||||
RectTransform:
|
RectTransform:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 44823601}
|
m_GameObject: {fileID: 379026405}
|
||||||
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: 2.2, y: 2.2, z: 2.2}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
m_ConstrainProportionsScale: 1
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 1939570967}
|
m_Father: {fileID: 1939570967}
|
||||||
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, y: 0}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 1, y: 1}
|
||||||
m_AnchoredPosition: {x: 0, y: 580}
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
m_SizeDelta: {x: 280, y: 309}
|
m_SizeDelta: {x: 0, y: 0}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!114 &44823603
|
--- !u!114 &379026407
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 44823601}
|
m_GameObject: {fileID: 379026405}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
|
@ -252,7 +252,7 @@ MonoBehaviour:
|
||||||
m_OnCullStateChanged:
|
m_OnCullStateChanged:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
m_Calls: []
|
m_Calls: []
|
||||||
m_Sprite: {fileID: 21300000, guid: 50c4c1e7e0af9454595a0f8be012bcd9, type: 3}
|
m_Sprite: {fileID: 21300000, guid: a1acd37646b00c996917b0ba2425906a, type: 3}
|
||||||
m_Type: 0
|
m_Type: 0
|
||||||
m_PreserveAspect: 0
|
m_PreserveAspect: 0
|
||||||
m_FillCenter: 1
|
m_FillCenter: 1
|
||||||
|
@ -262,88 +262,13 @@ MonoBehaviour:
|
||||||
m_FillOrigin: 0
|
m_FillOrigin: 0
|
||||||
m_UseSpriteMesh: 0
|
m_UseSpriteMesh: 0
|
||||||
m_PixelsPerUnitMultiplier: 1
|
m_PixelsPerUnitMultiplier: 1
|
||||||
--- !u!222 &44823604
|
--- !u!222 &379026408
|
||||||
CanvasRenderer:
|
CanvasRenderer:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 44823601}
|
m_GameObject: {fileID: 379026405}
|
||||||
m_CullTransparentMesh: 1
|
|
||||||
--- !u!1 &153067423
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 153067424}
|
|
||||||
- component: {fileID: 153067426}
|
|
||||||
- component: {fileID: 153067425}
|
|
||||||
m_Layer: 5
|
|
||||||
m_Name: Image
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!224 &153067424
|
|
||||||
RectTransform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 153067423}
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_ConstrainProportionsScale: 0
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 1939570967}
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
|
||||||
m_SizeDelta: {x: 1080, y: 1920}
|
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
|
||||||
--- !u!114 &153067425
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 153067423}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_Color: {r: 1, g: 0, b: 0, a: 1}
|
|
||||||
m_RaycastTarget: 1
|
|
||||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
|
||||||
m_Maskable: 1
|
|
||||||
m_OnCullStateChanged:
|
|
||||||
m_PersistentCalls:
|
|
||||||
m_Calls: []
|
|
||||||
m_Sprite: {fileID: 21300000, guid: 12705a8475671b57a9049f8fcc951c70, type: 3}
|
|
||||||
m_Type: 0
|
|
||||||
m_PreserveAspect: 0
|
|
||||||
m_FillCenter: 1
|
|
||||||
m_FillMethod: 4
|
|
||||||
m_FillAmount: 1
|
|
||||||
m_FillClockwise: 1
|
|
||||||
m_FillOrigin: 0
|
|
||||||
m_UseSpriteMesh: 0
|
|
||||||
m_PixelsPerUnitMultiplier: 1
|
|
||||||
--- !u!222 &153067426
|
|
||||||
CanvasRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 153067423}
|
|
||||||
m_CullTransparentMesh: 1
|
m_CullTransparentMesh: 1
|
||||||
--- !u!1 &535544408
|
--- !u!1 &535544408
|
||||||
GameObject:
|
GameObject:
|
||||||
|
@ -429,7 +354,7 @@ GameObject:
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
m_StaticEditorFlags: 0
|
m_StaticEditorFlags: 0
|
||||||
m_IsActive: 1
|
m_IsActive: 0
|
||||||
--- !u!224 &583976854
|
--- !u!224 &583976854
|
||||||
RectTransform:
|
RectTransform:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -465,7 +390,7 @@ VideoPlayer:
|
||||||
m_TimeReference: 0
|
m_TimeReference: 0
|
||||||
m_TargetMaterialRenderer: {fileID: 0}
|
m_TargetMaterialRenderer: {fileID: 0}
|
||||||
m_TargetMaterialProperty: <noninit>
|
m_TargetMaterialProperty: <noninit>
|
||||||
m_RenderMode: 1
|
m_RenderMode: 0
|
||||||
m_AspectRatio: 2
|
m_AspectRatio: 2
|
||||||
m_DataSource: 0
|
m_DataSource: 0
|
||||||
m_TimeUpdateMode: 2
|
m_TimeUpdateMode: 2
|
||||||
|
@ -485,7 +410,7 @@ VideoPlayer:
|
||||||
m_WaitForFirstFrame: 1
|
m_WaitForFirstFrame: 1
|
||||||
m_FrameReadyEventEnabled: 0
|
m_FrameReadyEventEnabled: 0
|
||||||
m_VideoShaders: []
|
m_VideoShaders: []
|
||||||
--- !u!1 &1265150231
|
--- !u!1 &1288663226
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
@ -493,23 +418,23 @@ GameObject:
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
serializedVersion: 6
|
serializedVersion: 6
|
||||||
m_Component:
|
m_Component:
|
||||||
- component: {fileID: 1265150232}
|
- component: {fileID: 1288663227}
|
||||||
- component: {fileID: 1265150234}
|
- component: {fileID: 1288663229}
|
||||||
- component: {fileID: 1265150233}
|
- component: {fileID: 1288663228}
|
||||||
m_Layer: 5
|
m_Layer: 5
|
||||||
m_Name: Text (TMP)
|
m_Name: Text (TMP)
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
m_StaticEditorFlags: 0
|
m_StaticEditorFlags: 0
|
||||||
m_IsActive: 0
|
m_IsActive: 1
|
||||||
--- !u!224 &1265150232
|
--- !u!224 &1288663227
|
||||||
RectTransform:
|
RectTransform:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 1265150231}
|
m_GameObject: {fileID: 1288663226}
|
||||||
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: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
@ -519,16 +444,16 @@ 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: 0, y: 0}
|
m_AnchoredPosition: {x: 0, y: 15.393}
|
||||||
m_SizeDelta: {x: 400, y: 50}
|
m_SizeDelta: {x: 1000, y: 200}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!114 &1265150233
|
--- !u!114 &1288663228
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 1265150231}
|
m_GameObject: {fileID: 1288663226}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
|
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
|
||||||
|
@ -542,7 +467,7 @@ MonoBehaviour:
|
||||||
m_OnCullStateChanged:
|
m_OnCullStateChanged:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
m_Calls: []
|
m_Calls: []
|
||||||
m_text: FeMale
|
m_text: Thanks for playing game
|
||||||
m_isRightToLeft: 0
|
m_isRightToLeft: 0
|
||||||
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
||||||
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
||||||
|
@ -551,8 +476,8 @@ MonoBehaviour:
|
||||||
m_fontMaterials: []
|
m_fontMaterials: []
|
||||||
m_fontColor32:
|
m_fontColor32:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
rgba: 4278190080
|
rgba: 4281856255
|
||||||
m_fontColor: {r: 0, g: 0, b: 0, a: 1}
|
m_fontColor: {r: 1, g: 0.940836, b: 0.2176007, a: 1}
|
||||||
m_enableVertexGradient: 0
|
m_enableVertexGradient: 0
|
||||||
m_colorMode: 3
|
m_colorMode: 3
|
||||||
m_fontColorGradient:
|
m_fontColorGradient:
|
||||||
|
@ -569,8 +494,8 @@ MonoBehaviour:
|
||||||
m_faceColor:
|
m_faceColor:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
rgba: 4294967295
|
rgba: 4294967295
|
||||||
m_fontSize: 100
|
m_fontSize: 70
|
||||||
m_fontSizeBase: 100
|
m_fontSizeBase: 70
|
||||||
m_fontWeight: 400
|
m_fontWeight: 400
|
||||||
m_enableAutoSizing: 0
|
m_enableAutoSizing: 0
|
||||||
m_fontSizeMin: 18
|
m_fontSizeMin: 18
|
||||||
|
@ -611,13 +536,13 @@ MonoBehaviour:
|
||||||
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!222 &1265150234
|
--- !u!222 &1288663229
|
||||||
CanvasRenderer:
|
CanvasRenderer:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 1265150231}
|
m_GameObject: {fileID: 1288663226}
|
||||||
m_CullTransparentMesh: 1
|
m_CullTransparentMesh: 1
|
||||||
--- !u!1 &1302683599
|
--- !u!1 &1302683599
|
||||||
GameObject:
|
GameObject:
|
||||||
|
@ -873,7 +798,7 @@ Canvas:
|
||||||
m_GameObject: {fileID: 1939570963}
|
m_GameObject: {fileID: 1939570963}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
serializedVersion: 3
|
serializedVersion: 3
|
||||||
m_RenderMode: 1
|
m_RenderMode: 0
|
||||||
m_Camera: {fileID: 1302683601}
|
m_Camera: {fileID: 1302683601}
|
||||||
m_PlaneDistance: 100
|
m_PlaneDistance: 100
|
||||||
m_PixelPerfect: 0
|
m_PixelPerfect: 0
|
||||||
|
@ -901,9 +826,8 @@ RectTransform:
|
||||||
m_Children:
|
m_Children:
|
||||||
- {fileID: 8989348}
|
- {fileID: 8989348}
|
||||||
- {fileID: 583976854}
|
- {fileID: 583976854}
|
||||||
- {fileID: 153067424}
|
- {fileID: 379026406}
|
||||||
- {fileID: 44823602}
|
- {fileID: 1288663227}
|
||||||
- {fileID: 1265150232}
|
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
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}
|
|
@ -15,8 +15,8 @@ namespace GadGame.Editor.Window
|
||||||
protected override OdinMenuTree BuildMenuTree()
|
protected override OdinMenuTree BuildMenuTree()
|
||||||
{
|
{
|
||||||
var tree = new OdinMenuTree();
|
var tree = new OdinMenuTree();
|
||||||
tree.Add("Scene Flow", SceneFlowConfig.GetOrCreateSettings());
|
tree.Add("Scene Flow", ConfigHelper.GetOrCreateConfig<SceneFlowConfig>());
|
||||||
tree.Add("Sound", AudioConfig.GetOrCreateSettings());
|
tree.Add("Sound", ConfigHelper.GetOrCreateConfig<AudioConfig>());
|
||||||
|
|
||||||
return tree;
|
return tree;
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,6 +4,8 @@ using GadGame.SO;
|
||||||
using GadGame.State;
|
using GadGame.State;
|
||||||
using GadGame.State.MainFlowState;
|
using GadGame.State.MainFlowState;
|
||||||
using Sirenix.OdinInspector;
|
using Sirenix.OdinInspector;
|
||||||
|
using GadGame.Network;
|
||||||
|
|
||||||
|
|
||||||
namespace GadGame
|
namespace GadGame
|
||||||
{
|
{
|
||||||
|
@ -13,10 +15,11 @@ namespace GadGame
|
||||||
public event Action<float> OnReadyCountDown;
|
public event Action<float> OnReadyCountDown;
|
||||||
public event Action<bool> OnReady;
|
public event Action<bool> OnReady;
|
||||||
|
|
||||||
protected override void Awake()
|
protected override async void Awake()
|
||||||
{
|
{
|
||||||
base.Awake();
|
base.Awake();
|
||||||
DontDestroyOnLoad(gameObject);
|
DontDestroyOnLoad(gameObject);
|
||||||
|
await P4PGraphqlManager.Instance.LoginMachine();
|
||||||
}
|
}
|
||||||
|
|
||||||
private async void Start()
|
private async void Start()
|
||||||
|
|
|
@ -14,7 +14,7 @@ namespace GadGame.Manager
|
||||||
protected override void Awake()
|
protected override void Awake()
|
||||||
{
|
{
|
||||||
base.Awake();
|
base.Awake();
|
||||||
_audioConfig = AudioConfig.FindSettings();
|
_audioConfig = ConfigHelper.GetConfig<AudioConfig>();
|
||||||
_musicAudioSource = gameObject.AddComponent<AudioSource>();
|
_musicAudioSource = gameObject.AddComponent<AudioSource>();
|
||||||
_musicAudioSource.playOnAwake = false;
|
_musicAudioSource.playOnAwake = false;
|
||||||
_pool = new Pool<AudioObject>(_audioConfig.AudioObjectPrefab, 10, 1000);
|
_pool = new Pool<AudioObject>(_audioConfig.AudioObjectPrefab, 10, 1000);
|
||||||
|
|
|
@ -105,12 +105,10 @@ namespace GadGame.MiniGame
|
||||||
// var inputNormalize = new Vector2(inputData.x/ 200, inputData.y / 480);
|
// var inputNormalize = new Vector2(inputData.x/ 200, inputData.y / 480);
|
||||||
|
|
||||||
receivedData = UdpSocket.Instance.DataReceived.PosPoints;
|
receivedData = UdpSocket.Instance.DataReceived.PosPoints;
|
||||||
// Debug.Log(receivedData);
|
|
||||||
|
|
||||||
for (int i = 0; i < Objects.Length; ++i)
|
for (int i = 0; i < Objects.Length; i++)
|
||||||
{
|
{
|
||||||
var inputNormalize = new Vector2((receivedData[i].x - 213.33f)/ 213.33f, receivedData[i].y / 480);
|
var inputNormalize = new Vector2((receivedData[i].x - 213.33f)/ 213.33f, receivedData[i].y / 480);
|
||||||
// Debug.Log(inputNormalize);
|
|
||||||
if (i == 0)
|
if (i == 0)
|
||||||
{
|
{
|
||||||
var input = new Vector2
|
var input = new Vector2
|
||||||
|
@ -171,6 +169,7 @@ namespace GadGame.MiniGame
|
||||||
{
|
{
|
||||||
await _result.DOFade(1, 0.3f);
|
await _result.DOFade(1, 0.3f);
|
||||||
await _resultScore.DOText(_gameManager.Score.ToString(), 1f, scrambleMode: ScrambleMode.Numerals);
|
await _resultScore.DOText(_gameManager.Score.ToString(), 1f, scrambleMode: ScrambleMode.Numerals);
|
||||||
|
await P4PGraphqlManager.Instance.SubmitGameSession(1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void CountDownEndGame(float time){
|
public void CountDownEndGame(float time){
|
||||||
|
|
|
@ -48,7 +48,7 @@ namespace GadGame.Network
|
||||||
private void OnGuestUpdated(OnSubscriptionDataReceived dataReceived)
|
private void OnGuestUpdated(OnSubscriptionDataReceived dataReceived)
|
||||||
{
|
{
|
||||||
var Jobj = JObject.Parse(dataReceived.data);
|
var Jobj = JObject.Parse(dataReceived.data);
|
||||||
Debug.Log(dataReceived.data);
|
Debug.Log(Jobj);
|
||||||
var data = Jobj["payload"]!["data"]!["guestUpdatedSubscription"]!.ToObject<Guest>();
|
var data = Jobj["payload"]!["data"]!["guestUpdatedSubscription"]!.ToObject<Guest>();
|
||||||
OnGuestUpdatedSubscription?.Invoke(data);
|
OnGuestUpdatedSubscription?.Invoke(data);
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,32 @@
|
||||||
|
using System;
|
||||||
|
using Cysharp.Threading.Tasks;
|
||||||
|
using GadGame.Network;
|
||||||
|
using GadGame.Singleton;
|
||||||
|
using GraphQlClient.EventCallbacks;
|
||||||
|
using TMPro;
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
|
||||||
|
public class QRShow : Singleton<QRShow>
|
||||||
|
{
|
||||||
|
[SerializeField] private RawImage _rawImage;
|
||||||
|
[SerializeField] private TMP_Text _mail;
|
||||||
|
|
||||||
|
private bool _scanSuccess;
|
||||||
|
public Action OnScanSuccess;
|
||||||
|
|
||||||
|
void Update()
|
||||||
|
{
|
||||||
|
P4PGraphqlManager.Instance.OnGuestUpdatedSubscription += ShowInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
async void Start()
|
||||||
|
{
|
||||||
|
_rawImage.texture = await P4PGraphqlManager.Instance.GetQrLink();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void ShowInfo(Guest guest) {
|
||||||
|
_mail.text = guest.email;
|
||||||
|
OnScanSuccess?.Invoke();
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,11 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 6af571fab0bd941cbb61c9ccd1d66f8c
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -10,7 +10,7 @@ using UnityEditor;
|
||||||
namespace GadGame.SO
|
namespace GadGame.SO
|
||||||
{
|
{
|
||||||
[CreateAssetMenu]
|
[CreateAssetMenu]
|
||||||
public class AudioConfig : SerializedScriptableObject
|
public class AudioConfig : Config
|
||||||
{
|
{
|
||||||
public AudioObject AudioObjectPrefab;
|
public AudioObject AudioObjectPrefab;
|
||||||
|
|
||||||
|
@ -21,6 +21,8 @@ namespace GadGame.SO
|
||||||
public Dictionary<string, AudioClip> Musics = new();
|
public Dictionary<string, AudioClip> Musics = new();
|
||||||
public Dictionary<string, AudioClip> Sounds = new();
|
public Dictionary<string, AudioClip> Sounds = new();
|
||||||
|
|
||||||
|
#if UNITY_EDITOR
|
||||||
|
|
||||||
[Button(ButtonSizes.Gigantic), GUIColor(0, 1, 0)]
|
[Button(ButtonSizes.Gigantic), GUIColor(0, 1, 0)]
|
||||||
private void GenerateAudioDefine()
|
private void GenerateAudioDefine()
|
||||||
{
|
{
|
||||||
|
@ -46,37 +48,6 @@ namespace GadGame.SO
|
||||||
|
|
||||||
AssetDatabase.Refresh (ImportAssetOptions.ForceUpdate);
|
AssetDatabase.Refresh (ImportAssetOptions.ForceUpdate);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if UNITY_EDITOR
|
|
||||||
public static AudioConfig FindSettings()
|
|
||||||
{
|
|
||||||
var guids = AssetDatabase.FindAssets($"t:{nameof(AudioConfig)}");
|
|
||||||
if (guids.Length > 1) Debug.LogWarning("Found multiple settings files, using the first.");
|
|
||||||
|
|
||||||
switch (guids.Length)
|
|
||||||
{
|
|
||||||
case 0:
|
|
||||||
return null;
|
|
||||||
default:
|
|
||||||
var path = AssetDatabase.GUIDToAssetPath(guids[0]);
|
|
||||||
return AssetDatabase.LoadAssetAtPath<AudioConfig>(path);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public static AudioConfig GetOrCreateSettings()
|
|
||||||
{
|
|
||||||
var settings = FindSettings();
|
|
||||||
if (settings == null)
|
|
||||||
{
|
|
||||||
settings = CreateInstance<AudioConfig>();
|
|
||||||
string path = "Assets/GadGame/SO/SoundConfig";
|
|
||||||
if (!Directory.Exists(path)) Directory.CreateDirectory(path);
|
|
||||||
AssetDatabase.CreateAsset(settings, $"{path}/Sound Config.asset");
|
|
||||||
AssetDatabase.SaveAssets();
|
|
||||||
}
|
|
||||||
|
|
||||||
return settings;
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -0,0 +1,7 @@
|
||||||
|
using Sirenix.OdinInspector;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
public class Config : SerializedScriptableObject
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,11 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: b9390c8b7009f1816a4fae5071caf8f1
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,27 @@
|
||||||
|
using System;
|
||||||
|
using System.IO;
|
||||||
|
using UnityEditor;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
public static class ConfigHelper
|
||||||
|
{
|
||||||
|
public static T GetConfig<T>() where T : Config {
|
||||||
|
return Resources.Load<T>($"GameConfig/{typeof(T).Name}");
|
||||||
|
}
|
||||||
|
|
||||||
|
#if UNITY_EDITOR
|
||||||
|
public static T GetOrCreateConfig<T>() where T : Config {
|
||||||
|
var config = GetConfig<T>();
|
||||||
|
if (config == null)
|
||||||
|
{
|
||||||
|
config = ScriptableObject.CreateInstance<T>();
|
||||||
|
string path = "Assets/Resources/GameConfig/";
|
||||||
|
if (!Directory.Exists(path)) Directory.CreateDirectory(path);
|
||||||
|
AssetDatabase.CreateAsset(config, $"{path}/{typeof(T).Name}.asset");
|
||||||
|
AssetDatabase.SaveAssets();
|
||||||
|
}
|
||||||
|
|
||||||
|
return config;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
}
|
|
@ -0,0 +1,11 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 9375843c8972248cd9cad1f03f921c69
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -7,7 +7,7 @@ using UnityEditor;
|
||||||
namespace GadGame.SO
|
namespace GadGame.SO
|
||||||
{
|
{
|
||||||
[CreateAssetMenu]
|
[CreateAssetMenu]
|
||||||
public class SceneFlowConfig : ScriptableObject
|
public class SceneFlowConfig : Config
|
||||||
{
|
{
|
||||||
public SceneReference IdleScene;
|
public SceneReference IdleScene;
|
||||||
public SceneReference PassByScene;
|
public SceneReference PassByScene;
|
||||||
|
@ -16,39 +16,6 @@ namespace GadGame.SO
|
||||||
public SceneReference GameScene;
|
public SceneReference GameScene;
|
||||||
public SceneReference CTASceneMale;
|
public SceneReference CTASceneMale;
|
||||||
public SceneReference CTASceneFemale;
|
public SceneReference CTASceneFemale;
|
||||||
public SceneReference CTASceneBoth;
|
public SceneReference TMale;
|
||||||
|
|
||||||
|
|
||||||
#if UNITY_EDITOR
|
|
||||||
public static SceneFlowConfig FindSettings()
|
|
||||||
{
|
|
||||||
var guids = AssetDatabase.FindAssets($"t:{nameof(SceneFlowConfig)}");
|
|
||||||
if (guids.Length > 1) Debug.LogWarning("Found multiple settings files, using the first.");
|
|
||||||
|
|
||||||
switch (guids.Length)
|
|
||||||
{
|
|
||||||
case 0:
|
|
||||||
return null;
|
|
||||||
default:
|
|
||||||
var path = AssetDatabase.GUIDToAssetPath(guids[0]);
|
|
||||||
return AssetDatabase.LoadAssetAtPath<SceneFlowConfig>(path);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public static SceneFlowConfig GetOrCreateSettings()
|
|
||||||
{
|
|
||||||
var settings = FindSettings();
|
|
||||||
if (settings == null)
|
|
||||||
{
|
|
||||||
settings = CreateInstance<SceneFlowConfig>();
|
|
||||||
string path = "Assets/GadGame/SO/SceneFlowConfig";
|
|
||||||
if (!Directory.Exists(path)) Directory.CreateDirectory(path);
|
|
||||||
AssetDatabase.CreateAsset(settings, $"{path}/Scene Flow Config.asset");
|
|
||||||
AssetDatabase.SaveAssets();
|
|
||||||
}
|
|
||||||
|
|
||||||
return settings;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -3,6 +3,7 @@ using GadGame.Manager;
|
||||||
using GadGame.MiniGame;
|
using GadGame.MiniGame;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using TMPro;
|
using TMPro;
|
||||||
|
using GadGame.Network;
|
||||||
|
|
||||||
namespace GadGame.State.GameState
|
namespace GadGame.State.GameState
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using GadGame.MiniGame;
|
using GadGame.MiniGame;
|
||||||
using GadGame.Manager;
|
using GadGame.Manager;
|
||||||
|
using GadGame.Network;
|
||||||
|
|
||||||
namespace GadGame.State.GameState
|
namespace GadGame.State.GameState
|
||||||
{
|
{
|
||||||
|
@ -8,8 +9,10 @@ namespace GadGame.State.GameState
|
||||||
{
|
{
|
||||||
private float _playingTime;
|
private float _playingTime;
|
||||||
|
|
||||||
public override void Enter()
|
public override async void Enter()
|
||||||
{
|
{
|
||||||
|
await P4PGraphqlManager.Instance.CreateGuest();
|
||||||
|
await P4PGraphqlManager.Instance.JoinPromotion();
|
||||||
GameManager.Instance.StartPlay();
|
GameManager.Instance.StartPlay();
|
||||||
Runner.SetActive(true);
|
Runner.SetActive(true);
|
||||||
}
|
}
|
||||||
|
@ -24,6 +27,7 @@ namespace GadGame.State.GameState
|
||||||
Runner.SpawnRandomItem();
|
Runner.SpawnRandomItem();
|
||||||
if (_playingTime >= Runner.GameTime)
|
if (_playingTime >= Runner.GameTime)
|
||||||
{
|
{
|
||||||
|
UdpSocket.Instance.SendDataToPython("Done");
|
||||||
Runner.SetState<EndGameState>();
|
Runner.SetState<EndGameState>();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
using System;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using Cysharp.Threading.Tasks;
|
||||||
using GadGame.Manager;
|
using GadGame.Manager;
|
||||||
using GadGame.Network;
|
using GadGame.Network;
|
||||||
|
|
||||||
|
@ -5,29 +8,42 @@ namespace GadGame.State.MainFlowState
|
||||||
{
|
{
|
||||||
public class CTAState : State<MainFlow>
|
public class CTAState : State<MainFlow>
|
||||||
{
|
{
|
||||||
public override void Enter()
|
|
||||||
|
private bool _scanSuccess;
|
||||||
|
|
||||||
|
public override async void Enter()
|
||||||
{
|
{
|
||||||
if(UdpSocket.Instance.DataReceived.Gender <= 0.3f) {
|
if(UdpSocket.Instance.DataReceived.Gender < 0.5f)
|
||||||
LoadSceneManager.Instance.LoadSceneWithTransition(Runner.SceneFlowConfig.CTASceneMale.ScenePath);
|
{
|
||||||
} else if (UdpSocket.Instance.DataReceived.Gender >= 0.7f){
|
await LoadSceneManager.Instance.LoadSceneWithTransitionAsync(Runner.SceneFlowConfig.CTASceneMale.ScenePath);
|
||||||
LoadSceneManager.Instance.LoadSceneWithTransition(Runner.SceneFlowConfig.CTASceneFemale.ScenePath);
|
} else
|
||||||
} else {
|
{
|
||||||
LoadSceneManager.Instance.LoadSceneWithTransition(Runner.SceneFlowConfig.CTASceneFemale.ScenePath);
|
await LoadSceneManager.Instance.LoadSceneWithTransitionAsync(Runner.SceneFlowConfig.CTASceneFemale.ScenePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QRShow.Instance.OnScanSuccess += OnScanSuccess;
|
||||||
}
|
}
|
||||||
|
|
||||||
public async override void Update(float time)
|
public async override void Update(float time)
|
||||||
{
|
{
|
||||||
if (time >= 10)
|
if(_scanSuccess) return;
|
||||||
|
if (time >= 60)
|
||||||
{
|
{
|
||||||
Runner.SetState<IdleState>();
|
Runner.SetState<IdleState>();
|
||||||
await LoadSceneManager.Instance.LoadSceneWithTransitionAsync(Runner.SceneFlowConfig.PassByScene.ScenePath);
|
await LoadSceneManager.Instance.LoadSceneWithTransitionAsync(Runner.SceneFlowConfig.IdleScene.ScenePath);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void Exit()
|
public override void Exit()
|
||||||
{
|
{
|
||||||
|
QRShow.Instance.OnScanSuccess -= OnScanSuccess;
|
||||||
|
}
|
||||||
|
|
||||||
|
private async void OnScanSuccess() {
|
||||||
|
_scanSuccess = true;
|
||||||
|
await UniTask.Delay(TimeSpan.FromSeconds(10));
|
||||||
|
await LoadSceneManager.Instance.LoadSceneWithTransitionAsync(Runner.SceneFlowConfig.IdleScene.ScenePath);
|
||||||
|
Runner.SetState<IdleState>();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -28,11 +28,6 @@ namespace GadGame.State.MainFlowState
|
||||||
Runner.SetState<EngageState>();
|
Runner.SetState<EngageState>();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// if (UdpSocket.Instance.DataReceived.OnVision)
|
|
||||||
// {
|
|
||||||
// Runner.SetState<ViewedState>();
|
|
||||||
// return;
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void Exit()
|
public override void Exit()
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 707 KiB |
|
@ -0,0 +1,140 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: be3c3adf8349aad02a0b9a969fd50d37
|
||||||
|
TextureImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 12
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 0
|
||||||
|
sRGBTexture: 1
|
||||||
|
linearTexture: 0
|
||||||
|
fadeOut: 0
|
||||||
|
borderMipMap: 0
|
||||||
|
mipMapsPreserveCoverage: 0
|
||||||
|
alphaTestReferenceValue: 0.5
|
||||||
|
mipMapFadeDistanceStart: 1
|
||||||
|
mipMapFadeDistanceEnd: 3
|
||||||
|
bumpmap:
|
||||||
|
convertToNormalMap: 0
|
||||||
|
externalNormalMap: 0
|
||||||
|
heightScale: 0.25
|
||||||
|
normalMapFilter: 0
|
||||||
|
flipGreenChannel: 0
|
||||||
|
isReadable: 0
|
||||||
|
streamingMipmaps: 0
|
||||||
|
streamingMipmapsPriority: 0
|
||||||
|
vTOnly: 0
|
||||||
|
ignoreMipmapLimit: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 6
|
||||||
|
cubemapConvolution: 0
|
||||||
|
seamlessCubemap: 0
|
||||||
|
textureFormat: 1
|
||||||
|
maxTextureSize: 2048
|
||||||
|
textureSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
filterMode: 1
|
||||||
|
aniso: 1
|
||||||
|
mipBias: 0
|
||||||
|
wrapU: 1
|
||||||
|
wrapV: 1
|
||||||
|
wrapW: 0
|
||||||
|
nPOTScale: 0
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
spriteMode: 1
|
||||||
|
spriteExtrude: 1
|
||||||
|
spriteMeshType: 1
|
||||||
|
alignment: 0
|
||||||
|
spritePivot: {x: 0.5, y: 0.5}
|
||||||
|
spritePixelsToUnits: 100
|
||||||
|
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
spriteGenerateFallbackPhysicsShape: 1
|
||||||
|
alphaUsage: 1
|
||||||
|
alphaIsTransparency: 1
|
||||||
|
spriteTessellationDetail: -1
|
||||||
|
textureType: 8
|
||||||
|
textureShape: 1
|
||||||
|
singleChannelComponent: 0
|
||||||
|
flipbookRows: 1
|
||||||
|
flipbookColumns: 1
|
||||||
|
maxTextureSizeSet: 0
|
||||||
|
compressionQualitySet: 0
|
||||||
|
textureFormatSet: 0
|
||||||
|
ignorePngGamma: 0
|
||||||
|
applyGammaDecoding: 0
|
||||||
|
swizzle: 50462976
|
||||||
|
cookieLightType: 0
|
||||||
|
platformSettings:
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: DefaultTexturePlatform
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: Standalone
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: WebGL
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: Android
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites: []
|
||||||
|
outline: []
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID: 5e97eb03825dee720800000000000000
|
||||||
|
internalID: 0
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
secondaryTextures: []
|
||||||
|
nameFileIdTable: {}
|
||||||
|
mipmapLimitGroupName:
|
||||||
|
pSDRemoveMatte: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
Binary file not shown.
After Width: | Height: | Size: 657 KiB |
|
@ -0,0 +1,140 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 3f47f809e893dd9c7bea7dde129191c1
|
||||||
|
TextureImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 12
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 0
|
||||||
|
sRGBTexture: 1
|
||||||
|
linearTexture: 0
|
||||||
|
fadeOut: 0
|
||||||
|
borderMipMap: 0
|
||||||
|
mipMapsPreserveCoverage: 0
|
||||||
|
alphaTestReferenceValue: 0.5
|
||||||
|
mipMapFadeDistanceStart: 1
|
||||||
|
mipMapFadeDistanceEnd: 3
|
||||||
|
bumpmap:
|
||||||
|
convertToNormalMap: 0
|
||||||
|
externalNormalMap: 0
|
||||||
|
heightScale: 0.25
|
||||||
|
normalMapFilter: 0
|
||||||
|
flipGreenChannel: 0
|
||||||
|
isReadable: 0
|
||||||
|
streamingMipmaps: 0
|
||||||
|
streamingMipmapsPriority: 0
|
||||||
|
vTOnly: 0
|
||||||
|
ignoreMipmapLimit: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 6
|
||||||
|
cubemapConvolution: 0
|
||||||
|
seamlessCubemap: 0
|
||||||
|
textureFormat: 1
|
||||||
|
maxTextureSize: 2048
|
||||||
|
textureSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
filterMode: 1
|
||||||
|
aniso: 1
|
||||||
|
mipBias: 0
|
||||||
|
wrapU: 1
|
||||||
|
wrapV: 1
|
||||||
|
wrapW: 0
|
||||||
|
nPOTScale: 0
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
spriteMode: 1
|
||||||
|
spriteExtrude: 1
|
||||||
|
spriteMeshType: 1
|
||||||
|
alignment: 0
|
||||||
|
spritePivot: {x: 0.5, y: 0.5}
|
||||||
|
spritePixelsToUnits: 100
|
||||||
|
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
spriteGenerateFallbackPhysicsShape: 1
|
||||||
|
alphaUsage: 1
|
||||||
|
alphaIsTransparency: 1
|
||||||
|
spriteTessellationDetail: -1
|
||||||
|
textureType: 8
|
||||||
|
textureShape: 1
|
||||||
|
singleChannelComponent: 0
|
||||||
|
flipbookRows: 1
|
||||||
|
flipbookColumns: 1
|
||||||
|
maxTextureSizeSet: 0
|
||||||
|
compressionQualitySet: 0
|
||||||
|
textureFormatSet: 0
|
||||||
|
ignorePngGamma: 0
|
||||||
|
applyGammaDecoding: 0
|
||||||
|
swizzle: 50462976
|
||||||
|
cookieLightType: 0
|
||||||
|
platformSettings:
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: DefaultTexturePlatform
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: Standalone
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: WebGL
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: Android
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites: []
|
||||||
|
outline: []
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID: 5e97eb03825dee720800000000000000
|
||||||
|
internalID: 0
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
secondaryTextures: []
|
||||||
|
nameFileIdTable: {}
|
||||||
|
mipmapLimitGroupName:
|
||||||
|
pSDRemoveMatte: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,9 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 3c57523b63ddb094b835b6613da12763
|
||||||
|
folderAsset: yes
|
||||||
|
timeCreated: 1596819199
|
||||||
|
licenseType: Store
|
||||||
|
DefaultImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,9 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 3d7d7a61a5341904eb3c65af025b1d86
|
||||||
|
folderAsset: yes
|
||||||
|
timeCreated: 1510075633
|
||||||
|
licenseType: Store
|
||||||
|
DefaultImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,55 @@
|
||||||
|
#if UNITY_EDITOR || UNITY_ANDROID
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
// Credit: https://stackoverflow.com/a/41018028/2373034
|
||||||
|
namespace IngameDebugConsole
|
||||||
|
{
|
||||||
|
public class DebugLogLogcatListener : AndroidJavaProxy
|
||||||
|
{
|
||||||
|
private Queue<string> queuedLogs;
|
||||||
|
private AndroidJavaObject nativeObject;
|
||||||
|
|
||||||
|
public DebugLogLogcatListener() : base( "com.yasirkula.unity.DebugConsoleLogcatLogReceiver" )
|
||||||
|
{
|
||||||
|
queuedLogs = new Queue<string>( 16 );
|
||||||
|
}
|
||||||
|
|
||||||
|
~DebugLogLogcatListener()
|
||||||
|
{
|
||||||
|
Stop();
|
||||||
|
|
||||||
|
if( nativeObject != null )
|
||||||
|
nativeObject.Dispose();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Start( string arguments )
|
||||||
|
{
|
||||||
|
if( nativeObject == null )
|
||||||
|
nativeObject = new AndroidJavaObject( "com.yasirkula.unity.DebugConsoleLogcatLogger" );
|
||||||
|
|
||||||
|
nativeObject.Call( "Start", this, arguments );
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Stop()
|
||||||
|
{
|
||||||
|
if( nativeObject != null )
|
||||||
|
nativeObject.Call( "Stop" );
|
||||||
|
}
|
||||||
|
|
||||||
|
[UnityEngine.Scripting.Preserve]
|
||||||
|
public void OnLogReceived( string log )
|
||||||
|
{
|
||||||
|
queuedLogs.Enqueue( log );
|
||||||
|
}
|
||||||
|
|
||||||
|
public string GetLog()
|
||||||
|
{
|
||||||
|
if( queuedLogs.Count > 0 )
|
||||||
|
return queuedLogs.Dequeue();
|
||||||
|
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif
|
|
@ -0,0 +1,12 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: dd3b7385882055d4a8c2b91deb6b2470
|
||||||
|
timeCreated: 1510076185
|
||||||
|
licenseType: Store
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
Binary file not shown.
|
@ -0,0 +1,33 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: bf909fab1c14af446b0a854de42289b2
|
||||||
|
timeCreated: 1510086220
|
||||||
|
licenseType: Store
|
||||||
|
PluginImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
iconMap: {}
|
||||||
|
executionOrder: {}
|
||||||
|
isPreloaded: 0
|
||||||
|
isOverridable: 0
|
||||||
|
platformData:
|
||||||
|
data:
|
||||||
|
first:
|
||||||
|
Android: Android
|
||||||
|
second:
|
||||||
|
enabled: 1
|
||||||
|
settings: {}
|
||||||
|
data:
|
||||||
|
first:
|
||||||
|
Any:
|
||||||
|
second:
|
||||||
|
enabled: 0
|
||||||
|
settings: {}
|
||||||
|
data:
|
||||||
|
first:
|
||||||
|
Editor: Editor
|
||||||
|
second:
|
||||||
|
enabled: 0
|
||||||
|
settings:
|
||||||
|
DefaultValueInitialized: true
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,9 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 86f54622630720f4abe279acdbb8886f
|
||||||
|
folderAsset: yes
|
||||||
|
timeCreated: 1561217660
|
||||||
|
licenseType: Store
|
||||||
|
DefaultImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,195 @@
|
||||||
|
using UnityEditor;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
namespace IngameDebugConsole
|
||||||
|
{
|
||||||
|
[CustomEditor( typeof( DebugLogManager ) )]
|
||||||
|
public class DebugLogManagerEditor : Editor
|
||||||
|
{
|
||||||
|
private SerializedProperty singleton;
|
||||||
|
private SerializedProperty minimumHeight;
|
||||||
|
private SerializedProperty enableHorizontalResizing;
|
||||||
|
private SerializedProperty resizeFromRight;
|
||||||
|
private SerializedProperty minimumWidth;
|
||||||
|
private SerializedProperty logWindowOpacity;
|
||||||
|
private SerializedProperty popupOpacity;
|
||||||
|
private SerializedProperty popupVisibility;
|
||||||
|
private SerializedProperty popupVisibilityLogFilter;
|
||||||
|
private SerializedProperty startMinimized;
|
||||||
|
private SerializedProperty toggleWithKey;
|
||||||
|
private SerializedProperty toggleKey;
|
||||||
|
private SerializedProperty enableSearchbar;
|
||||||
|
private SerializedProperty topSearchbarMinWidth;
|
||||||
|
private SerializedProperty receiveLogsWhileInactive;
|
||||||
|
private SerializedProperty receiveInfoLogs;
|
||||||
|
private SerializedProperty receiveWarningLogs;
|
||||||
|
private SerializedProperty receiveErrorLogs;
|
||||||
|
private SerializedProperty receiveExceptionLogs;
|
||||||
|
private SerializedProperty captureLogTimestamps;
|
||||||
|
private SerializedProperty alwaysDisplayTimestamps;
|
||||||
|
private SerializedProperty maxLogCount;
|
||||||
|
private SerializedProperty logsToRemoveAfterMaxLogCount;
|
||||||
|
private SerializedProperty queuedLogLimit;
|
||||||
|
private SerializedProperty clearCommandAfterExecution;
|
||||||
|
private SerializedProperty commandHistorySize;
|
||||||
|
private SerializedProperty showCommandSuggestions;
|
||||||
|
private SerializedProperty receiveLogcatLogsInAndroid;
|
||||||
|
private SerializedProperty logcatArguments;
|
||||||
|
private SerializedProperty avoidScreenCutout;
|
||||||
|
private SerializedProperty popupAvoidsScreenCutout;
|
||||||
|
private SerializedProperty autoFocusOnCommandInputField;
|
||||||
|
|
||||||
|
#if UNITY_2017_3_OR_NEWER
|
||||||
|
private readonly GUIContent popupVisibilityLogFilterLabel = new GUIContent( "Log Filter", "Determines which log types will show the popup on screen" );
|
||||||
|
#endif
|
||||||
|
private readonly GUIContent receivedLogTypesLabel = new GUIContent( "Received Log Types", "Only these logs will be received by the console window, other logs will simply be skipped" );
|
||||||
|
private readonly GUIContent receiveInfoLogsLabel = new GUIContent( "Info" );
|
||||||
|
private readonly GUIContent receiveWarningLogsLabel = new GUIContent( "Warning" );
|
||||||
|
private readonly GUIContent receiveErrorLogsLabel = new GUIContent( "Error" );
|
||||||
|
private readonly GUIContent receiveExceptionLogsLabel = new GUIContent( "Exception" );
|
||||||
|
|
||||||
|
private void OnEnable()
|
||||||
|
{
|
||||||
|
singleton = serializedObject.FindProperty( "singleton" );
|
||||||
|
minimumHeight = serializedObject.FindProperty( "minimumHeight" );
|
||||||
|
enableHorizontalResizing = serializedObject.FindProperty( "enableHorizontalResizing" );
|
||||||
|
resizeFromRight = serializedObject.FindProperty( "resizeFromRight" );
|
||||||
|
minimumWidth = serializedObject.FindProperty( "minimumWidth" );
|
||||||
|
logWindowOpacity = serializedObject.FindProperty( "logWindowOpacity" );
|
||||||
|
popupOpacity = serializedObject.FindProperty( "popupOpacity" );
|
||||||
|
popupVisibility = serializedObject.FindProperty( "popupVisibility" );
|
||||||
|
popupVisibilityLogFilter = serializedObject.FindProperty( "popupVisibilityLogFilter" );
|
||||||
|
startMinimized = serializedObject.FindProperty( "startMinimized" );
|
||||||
|
toggleWithKey = serializedObject.FindProperty( "toggleWithKey" );
|
||||||
|
#if ENABLE_INPUT_SYSTEM && !ENABLE_LEGACY_INPUT_MANAGER
|
||||||
|
toggleKey = serializedObject.FindProperty( "toggleBinding" );
|
||||||
|
#else
|
||||||
|
toggleKey = serializedObject.FindProperty( "toggleKey" );
|
||||||
|
#endif
|
||||||
|
enableSearchbar = serializedObject.FindProperty( "enableSearchbar" );
|
||||||
|
topSearchbarMinWidth = serializedObject.FindProperty( "topSearchbarMinWidth" );
|
||||||
|
receiveLogsWhileInactive = serializedObject.FindProperty( "receiveLogsWhileInactive" );
|
||||||
|
receiveInfoLogs = serializedObject.FindProperty( "receiveInfoLogs" );
|
||||||
|
receiveWarningLogs = serializedObject.FindProperty( "receiveWarningLogs" );
|
||||||
|
receiveErrorLogs = serializedObject.FindProperty( "receiveErrorLogs" );
|
||||||
|
receiveExceptionLogs = serializedObject.FindProperty( "receiveExceptionLogs" );
|
||||||
|
captureLogTimestamps = serializedObject.FindProperty( "captureLogTimestamps" );
|
||||||
|
alwaysDisplayTimestamps = serializedObject.FindProperty( "alwaysDisplayTimestamps" );
|
||||||
|
maxLogCount = serializedObject.FindProperty( "maxLogCount" );
|
||||||
|
logsToRemoveAfterMaxLogCount = serializedObject.FindProperty( "logsToRemoveAfterMaxLogCount" );
|
||||||
|
queuedLogLimit = serializedObject.FindProperty( "queuedLogLimit" );
|
||||||
|
clearCommandAfterExecution = serializedObject.FindProperty( "clearCommandAfterExecution" );
|
||||||
|
commandHistorySize = serializedObject.FindProperty( "commandHistorySize" );
|
||||||
|
showCommandSuggestions = serializedObject.FindProperty( "showCommandSuggestions" );
|
||||||
|
receiveLogcatLogsInAndroid = serializedObject.FindProperty( "receiveLogcatLogsInAndroid" );
|
||||||
|
logcatArguments = serializedObject.FindProperty( "logcatArguments" );
|
||||||
|
avoidScreenCutout = serializedObject.FindProperty( "avoidScreenCutout" );
|
||||||
|
popupAvoidsScreenCutout = serializedObject.FindProperty( "popupAvoidsScreenCutout" );
|
||||||
|
autoFocusOnCommandInputField = serializedObject.FindProperty( "autoFocusOnCommandInputField" );
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void OnInspectorGUI()
|
||||||
|
{
|
||||||
|
serializedObject.Update();
|
||||||
|
|
||||||
|
EditorGUILayout.PropertyField( singleton );
|
||||||
|
|
||||||
|
EditorGUILayout.Space();
|
||||||
|
|
||||||
|
EditorGUILayout.PropertyField( minimumHeight );
|
||||||
|
|
||||||
|
EditorGUILayout.PropertyField( enableHorizontalResizing );
|
||||||
|
if( enableHorizontalResizing.boolValue )
|
||||||
|
{
|
||||||
|
DrawSubProperty( resizeFromRight );
|
||||||
|
DrawSubProperty( minimumWidth );
|
||||||
|
}
|
||||||
|
|
||||||
|
EditorGUILayout.PropertyField( avoidScreenCutout );
|
||||||
|
DrawSubProperty( popupAvoidsScreenCutout );
|
||||||
|
|
||||||
|
EditorGUILayout.Space();
|
||||||
|
|
||||||
|
EditorGUILayout.PropertyField( startMinimized );
|
||||||
|
EditorGUILayout.PropertyField( logWindowOpacity );
|
||||||
|
EditorGUILayout.PropertyField( popupOpacity );
|
||||||
|
|
||||||
|
EditorGUILayout.PropertyField( popupVisibility );
|
||||||
|
if( popupVisibility.intValue == (int) PopupVisibility.WhenLogReceived )
|
||||||
|
{
|
||||||
|
EditorGUI.indentLevel++;
|
||||||
|
#if UNITY_2017_3_OR_NEWER
|
||||||
|
Rect rect = EditorGUILayout.GetControlRect();
|
||||||
|
EditorGUI.BeginProperty( rect, GUIContent.none, popupVisibilityLogFilter );
|
||||||
|
popupVisibilityLogFilter.intValue = (int) (DebugLogFilter) EditorGUI.EnumFlagsField( rect, popupVisibilityLogFilterLabel, (DebugLogFilter) popupVisibilityLogFilter.intValue );
|
||||||
|
#else
|
||||||
|
EditorGUI.BeginProperty( new Rect(), GUIContent.none, popupVisibilityLogFilter );
|
||||||
|
EditorGUI.BeginChangeCheck();
|
||||||
|
|
||||||
|
bool infoLog = EditorGUILayout.Toggle( "Info", ( (DebugLogFilter) popupVisibilityLogFilter.intValue & DebugLogFilter.Info ) == DebugLogFilter.Info );
|
||||||
|
bool warningLog = EditorGUILayout.Toggle( "Warning", ( (DebugLogFilter) popupVisibilityLogFilter.intValue & DebugLogFilter.Warning ) == DebugLogFilter.Warning );
|
||||||
|
bool errorLog = EditorGUILayout.Toggle( "Error", ( (DebugLogFilter) popupVisibilityLogFilter.intValue & DebugLogFilter.Error ) == DebugLogFilter.Error );
|
||||||
|
|
||||||
|
if( EditorGUI.EndChangeCheck() )
|
||||||
|
popupVisibilityLogFilter.intValue = ( infoLog ? (int) DebugLogFilter.Info : 0 ) | ( warningLog ? (int) DebugLogFilter.Warning : 0 ) | ( errorLog ? (int) DebugLogFilter.Error : 0 );
|
||||||
|
#endif
|
||||||
|
EditorGUI.EndProperty();
|
||||||
|
EditorGUI.indentLevel--;
|
||||||
|
}
|
||||||
|
|
||||||
|
EditorGUILayout.PropertyField( toggleWithKey );
|
||||||
|
if( toggleWithKey.boolValue )
|
||||||
|
DrawSubProperty( toggleKey );
|
||||||
|
|
||||||
|
EditorGUILayout.Space();
|
||||||
|
|
||||||
|
EditorGUILayout.PropertyField( enableSearchbar );
|
||||||
|
if( enableSearchbar.boolValue )
|
||||||
|
DrawSubProperty( topSearchbarMinWidth );
|
||||||
|
|
||||||
|
EditorGUILayout.Space();
|
||||||
|
|
||||||
|
EditorGUILayout.PropertyField( receiveLogsWhileInactive );
|
||||||
|
|
||||||
|
EditorGUILayout.PrefixLabel( receivedLogTypesLabel );
|
||||||
|
EditorGUI.indentLevel++;
|
||||||
|
EditorGUILayout.PropertyField( receiveInfoLogs, receiveInfoLogsLabel );
|
||||||
|
EditorGUILayout.PropertyField( receiveWarningLogs, receiveWarningLogsLabel );
|
||||||
|
EditorGUILayout.PropertyField( receiveErrorLogs, receiveErrorLogsLabel );
|
||||||
|
EditorGUILayout.PropertyField( receiveExceptionLogs, receiveExceptionLogsLabel );
|
||||||
|
EditorGUI.indentLevel--;
|
||||||
|
|
||||||
|
EditorGUILayout.PropertyField( receiveLogcatLogsInAndroid );
|
||||||
|
if( receiveLogcatLogsInAndroid.boolValue )
|
||||||
|
DrawSubProperty( logcatArguments );
|
||||||
|
|
||||||
|
EditorGUILayout.PropertyField( captureLogTimestamps );
|
||||||
|
if( captureLogTimestamps.boolValue )
|
||||||
|
DrawSubProperty( alwaysDisplayTimestamps );
|
||||||
|
|
||||||
|
EditorGUILayout.PropertyField( maxLogCount );
|
||||||
|
DrawSubProperty( logsToRemoveAfterMaxLogCount );
|
||||||
|
|
||||||
|
EditorGUILayout.PropertyField( queuedLogLimit );
|
||||||
|
|
||||||
|
EditorGUILayout.Space();
|
||||||
|
|
||||||
|
EditorGUILayout.PropertyField( clearCommandAfterExecution );
|
||||||
|
EditorGUILayout.PropertyField( commandHistorySize );
|
||||||
|
EditorGUILayout.PropertyField( showCommandSuggestions );
|
||||||
|
EditorGUILayout.PropertyField( autoFocusOnCommandInputField );
|
||||||
|
|
||||||
|
EditorGUILayout.Space();
|
||||||
|
|
||||||
|
DrawPropertiesExcluding( serializedObject, "m_Script" );
|
||||||
|
serializedObject.ApplyModifiedProperties();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void DrawSubProperty( SerializedProperty property )
|
||||||
|
{
|
||||||
|
EditorGUI.indentLevel++;
|
||||||
|
EditorGUILayout.PropertyField( property );
|
||||||
|
EditorGUI.indentLevel--;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,12 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 4c23e5c521cb0c54b9a638b2a653d1d3
|
||||||
|
timeCreated: 1561217671
|
||||||
|
licenseType: Store
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,17 @@
|
||||||
|
{
|
||||||
|
"name": "IngameDebugConsole.Editor",
|
||||||
|
"references": [
|
||||||
|
"IngameDebugConsole.Runtime"
|
||||||
|
],
|
||||||
|
"includePlatforms": [
|
||||||
|
"Editor"
|
||||||
|
],
|
||||||
|
"excludePlatforms": [],
|
||||||
|
"allowUnsafeCode": false,
|
||||||
|
"overrideReferences": false,
|
||||||
|
"precompiledReferences": [],
|
||||||
|
"autoReferenced": true,
|
||||||
|
"defineConstraints": [],
|
||||||
|
"versionDefines": [],
|
||||||
|
"noEngineReferences": false
|
||||||
|
}
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 466e67dabd1db22468246c39eddb6c3f
|
||||||
|
AssemblyDefinitionImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"name": "IngameDebugConsole.Runtime",
|
||||||
|
"references": [
|
||||||
|
"Unity.InputSystem"
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 3de88c88fbbb8f944b9210d496af9762
|
||||||
|
AssemblyDefinitionImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 67117722a812a2e46ab8cb8eafbf5f5e
|
||||||
|
timeCreated: 1466014755
|
||||||
|
licenseType: Store
|
||||||
|
NativeFormatImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,9 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 7dbc36665bc0d684db9a4447e27a7a4b
|
||||||
|
folderAsset: yes
|
||||||
|
timeCreated: 1520417401
|
||||||
|
licenseType: Store
|
||||||
|
DefaultImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,87 @@
|
||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1001 &100100000
|
||||||
|
Prefab:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
m_TransformParent: {fileID: 0}
|
||||||
|
m_Modifications: []
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_ParentPrefab: {fileID: 0}
|
||||||
|
m_RootGameObject: {fileID: 1386426139070838}
|
||||||
|
m_IsPrefabParent: 1
|
||||||
|
--- !u!1 &1386426139070838
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
serializedVersion: 5
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 224955737853170496}
|
||||||
|
- component: {fileID: 222541766812100524}
|
||||||
|
- component: {fileID: 114169395487023046}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: CommandSuggestion
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!114 &114169395487023046
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 1386426139070838}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 0.83823526, g: 0.84439874, b: 0.84439874, a: 1}
|
||||||
|
m_RaycastTarget: 0
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
|
||||||
|
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||||
|
m_FontData:
|
||||||
|
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
|
||||||
|
m_FontSize: 16
|
||||||
|
m_FontStyle: 0
|
||||||
|
m_BestFit: 0
|
||||||
|
m_MinSize: 1
|
||||||
|
m_MaxSize: 40
|
||||||
|
m_Alignment: 3
|
||||||
|
m_AlignByGeometry: 0
|
||||||
|
m_RichText: 1
|
||||||
|
m_HorizontalOverflow: 0
|
||||||
|
m_VerticalOverflow: 0
|
||||||
|
m_LineSpacing: 1
|
||||||
|
m_Text: help
|
||||||
|
--- !u!222 &222541766812100524
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 1386426139070838}
|
||||||
|
--- !u!224 &224955737853170496
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 1386426139070838}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_RootOrder: 0
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
|
m_AnchorMax: {x: 0, y: 0}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
|
m_SizeDelta: {x: 0, y: 0}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
|
@ -0,0 +1,9 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 5e66896448428cf46a1854dbdc014914
|
||||||
|
timeCreated: 1601390136
|
||||||
|
licenseType: Store
|
||||||
|
NativeFormatImporter:
|
||||||
|
mainObjectFileID: 100100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,640 @@
|
||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1 &104862
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
serializedVersion: 5
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 22461494}
|
||||||
|
- component: {fileID: 22233942}
|
||||||
|
- component: {fileID: 11411806}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: LogCount
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 0
|
||||||
|
--- !u!1 &151462
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
serializedVersion: 5
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 22420350}
|
||||||
|
- component: {fileID: 22200920}
|
||||||
|
- component: {fileID: 11432936}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: LogCountText
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!1 &152362
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
serializedVersion: 5
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 22427300}
|
||||||
|
- component: {fileID: 22262284}
|
||||||
|
- component: {fileID: 11404142}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: LogType
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!1 &166880
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
serializedVersion: 5
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 22479264}
|
||||||
|
- component: {fileID: 22288988}
|
||||||
|
- component: {fileID: 11459012}
|
||||||
|
- component: {fileID: 11408050}
|
||||||
|
- component: {fileID: 11456372}
|
||||||
|
- component: {fileID: 225819852034701160}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: DebugLogItem
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!114 &11404142
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 152362}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 0
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
|
||||||
|
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||||
|
m_Sprite: {fileID: 21300000, guid: 33b115bf5efdfa04d8e2e0b70a6643cd, type: 3}
|
||||||
|
m_Type: 0
|
||||||
|
m_PreserveAspect: 0
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
--- !u!114 &11408050
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 166880}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: d2ea291be9de70a4abfec595203c96c1, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
transformComponent: {fileID: 22479264}
|
||||||
|
imageComponent: {fileID: 11459012}
|
||||||
|
canvasGroupComponent: {fileID: 225819852034701160}
|
||||||
|
logText: {fileID: 114694493629914950}
|
||||||
|
logTypeImage: {fileID: 11404142}
|
||||||
|
logCountParent: {fileID: 104862}
|
||||||
|
logCountText: {fileID: 11432936}
|
||||||
|
copyLogButton: {fileID: 224006190298411330}
|
||||||
|
--- !u!114 &11411806
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 104862}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 0.42647058, g: 0.42647058, b: 0.42647058, a: 1}
|
||||||
|
m_RaycastTarget: 0
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
|
||||||
|
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||||
|
m_Sprite: {fileID: 21300000, guid: b3f0d976f6d6802479d6465d11b3aa68, type: 3}
|
||||||
|
m_Type: 1
|
||||||
|
m_PreserveAspect: 0
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
--- !u!114 &11432936
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 151462}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 0.83823526, g: 0.84439874, b: 0.84439874, a: 1}
|
||||||
|
m_RaycastTarget: 0
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
|
||||||
|
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||||
|
m_FontData:
|
||||||
|
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
|
||||||
|
m_FontSize: 16
|
||||||
|
m_FontStyle: 0
|
||||||
|
m_BestFit: 1
|
||||||
|
m_MinSize: 1
|
||||||
|
m_MaxSize: 16
|
||||||
|
m_Alignment: 4
|
||||||
|
m_AlignByGeometry: 0
|
||||||
|
m_RichText: 1
|
||||||
|
m_HorizontalOverflow: 0
|
||||||
|
m_VerticalOverflow: 0
|
||||||
|
m_LineSpacing: 1
|
||||||
|
m_Text: 1
|
||||||
|
--- !u!114 &11456372
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 166880}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 1392445389, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Navigation:
|
||||||
|
m_Mode: 3
|
||||||
|
m_SelectOnUp: {fileID: 0}
|
||||||
|
m_SelectOnDown: {fileID: 0}
|
||||||
|
m_SelectOnLeft: {fileID: 0}
|
||||||
|
m_SelectOnRight: {fileID: 0}
|
||||||
|
m_Transition: 1
|
||||||
|
m_Colors:
|
||||||
|
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
|
||||||
|
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
|
||||||
|
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
|
||||||
|
m_ColorMultiplier: 1
|
||||||
|
m_FadeDuration: 0.1
|
||||||
|
m_SpriteState:
|
||||||
|
m_HighlightedSprite: {fileID: 0}
|
||||||
|
m_PressedSprite: {fileID: 0}
|
||||||
|
m_DisabledSprite: {fileID: 0}
|
||||||
|
m_AnimationTriggers:
|
||||||
|
m_NormalTrigger: Normal
|
||||||
|
m_HighlightedTrigger: Highlighted
|
||||||
|
m_PressedTrigger: Pressed
|
||||||
|
m_DisabledTrigger: Disabled
|
||||||
|
m_Interactable: 1
|
||||||
|
m_TargetGraphic: {fileID: 11459012}
|
||||||
|
m_OnClick:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0,
|
||||||
|
Culture=neutral, PublicKeyToken=null
|
||||||
|
--- !u!114 &11459012
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 166880}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 0.23529412, g: 0.23529412, b: 0.23529412, a: 0.697}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
|
||||||
|
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||||
|
m_Sprite: {fileID: 21300000, guid: 98e8e1cf8dc7dbf469617c2e40c8a944, type: 3}
|
||||||
|
m_Type: 1
|
||||||
|
m_PreserveAspect: 0
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
--- !u!222 &22200920
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 151462}
|
||||||
|
--- !u!222 &22233942
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 104862}
|
||||||
|
--- !u!222 &22262284
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 152362}
|
||||||
|
--- !u!222 &22288988
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 166880}
|
||||||
|
--- !u!224 &22420350
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 151462}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 22461494}
|
||||||
|
m_RootOrder: 0
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
|
m_AnchorMax: {x: 1, y: 1}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
|
m_SizeDelta: {x: -2, y: 0}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!224 &22427300
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 152362}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 22479264}
|
||||||
|
m_RootOrder: 0
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: 18, y: 0}
|
||||||
|
m_SizeDelta: {x: 25, y: 25}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!224 &22461494
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 104862}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_Children:
|
||||||
|
- {fileID: 22420350}
|
||||||
|
m_Father: {fileID: 22479264}
|
||||||
|
m_RootOrder: 2
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 1, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 1, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: -28, y: 0}
|
||||||
|
m_SizeDelta: {x: 38, y: 28}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!224 &22479264
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 166880}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_Children:
|
||||||
|
- {fileID: 22427300}
|
||||||
|
- {fileID: 224737693311518052}
|
||||||
|
- {fileID: 22461494}
|
||||||
|
- {fileID: 224006190298411330}
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_RootOrder: 0
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 1}
|
||||||
|
m_AnchorMax: {x: 1, y: 1}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
|
m_SizeDelta: {x: 0, y: 35}
|
||||||
|
m_Pivot: {x: 0, y: 1}
|
||||||
|
--- !u!1001 &100100000
|
||||||
|
Prefab:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
m_TransformParent: {fileID: 0}
|
||||||
|
m_Modifications: []
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_ParentPrefab: {fileID: 0}
|
||||||
|
m_RootGameObject: {fileID: 166880}
|
||||||
|
m_IsPrefabParent: 1
|
||||||
|
--- !u!1 &1396836967994216
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
serializedVersion: 5
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 224006190298411330}
|
||||||
|
- component: {fileID: 222870443111501910}
|
||||||
|
- component: {fileID: 114119781176956926}
|
||||||
|
- component: {fileID: 114694923173451186}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: CopyLogButton
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 0
|
||||||
|
--- !u!1 &1503640463151286
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
serializedVersion: 5
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 224887990600088790}
|
||||||
|
- component: {fileID: 222313182602304162}
|
||||||
|
- component: {fileID: 114549765989288124}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Text
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!1 &1785910143472904
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
serializedVersion: 5
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 224737693311518052}
|
||||||
|
- component: {fileID: 222175805939703770}
|
||||||
|
- component: {fileID: 114694493629914950}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: LogText
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!114 &114119781176956926
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 1396836967994216}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 0.42647058, g: 0.42647058, b: 0.42647058, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
|
||||||
|
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||||
|
m_Sprite: {fileID: 21300000, guid: 066d3840badf4d24dba1d42b4c59b888, type: 3}
|
||||||
|
m_Type: 1
|
||||||
|
m_PreserveAspect: 0
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
--- !u!114 &114549765989288124
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 1503640463151286}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 0.83823526, g: 0.84439874, b: 0.84439874, a: 1}
|
||||||
|
m_RaycastTarget: 0
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
|
||||||
|
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||||
|
m_FontData:
|
||||||
|
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
|
||||||
|
m_FontSize: 16
|
||||||
|
m_FontStyle: 0
|
||||||
|
m_BestFit: 0
|
||||||
|
m_MinSize: 1
|
||||||
|
m_MaxSize: 40
|
||||||
|
m_Alignment: 4
|
||||||
|
m_AlignByGeometry: 0
|
||||||
|
m_RichText: 1
|
||||||
|
m_HorizontalOverflow: 0
|
||||||
|
m_VerticalOverflow: 0
|
||||||
|
m_LineSpacing: 1
|
||||||
|
m_Text: Copy
|
||||||
|
--- !u!114 &114694493629914950
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 1785910143472904}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 0.83823526, g: 0.84439874, b: 0.84439874, a: 1}
|
||||||
|
m_RaycastTarget: 0
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
|
||||||
|
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||||
|
m_FontData:
|
||||||
|
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
|
||||||
|
m_FontSize: 15
|
||||||
|
m_FontStyle: 0
|
||||||
|
m_BestFit: 0
|
||||||
|
m_MinSize: 1
|
||||||
|
m_MaxSize: 40
|
||||||
|
m_Alignment: 3
|
||||||
|
m_AlignByGeometry: 0
|
||||||
|
m_RichText: 1
|
||||||
|
m_HorizontalOverflow: 1
|
||||||
|
m_VerticalOverflow: 0
|
||||||
|
m_LineSpacing: 1
|
||||||
|
m_Text: Debug.Log summary
|
||||||
|
--- !u!114 &114694923173451186
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 1396836967994216}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 1392445389, guid: f70555f144d8491a825f0804e09c671c, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Navigation:
|
||||||
|
m_Mode: 3
|
||||||
|
m_SelectOnUp: {fileID: 0}
|
||||||
|
m_SelectOnDown: {fileID: 0}
|
||||||
|
m_SelectOnLeft: {fileID: 0}
|
||||||
|
m_SelectOnRight: {fileID: 0}
|
||||||
|
m_Transition: 1
|
||||||
|
m_Colors:
|
||||||
|
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
|
||||||
|
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
|
||||||
|
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
|
||||||
|
m_ColorMultiplier: 1
|
||||||
|
m_FadeDuration: 0.1
|
||||||
|
m_SpriteState:
|
||||||
|
m_HighlightedSprite: {fileID: 0}
|
||||||
|
m_PressedSprite: {fileID: 0}
|
||||||
|
m_DisabledSprite: {fileID: 0}
|
||||||
|
m_AnimationTriggers:
|
||||||
|
m_NormalTrigger: Normal
|
||||||
|
m_HighlightedTrigger: Highlighted
|
||||||
|
m_PressedTrigger: Pressed
|
||||||
|
m_DisabledTrigger: Disabled
|
||||||
|
m_Interactable: 1
|
||||||
|
m_TargetGraphic: {fileID: 114119781176956926}
|
||||||
|
m_OnClick:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls:
|
||||||
|
- m_Target: {fileID: 11408050}
|
||||||
|
m_MethodName: CopyLog
|
||||||
|
m_Mode: 1
|
||||||
|
m_Arguments:
|
||||||
|
m_ObjectArgument: {fileID: 0}
|
||||||
|
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
|
||||||
|
m_IntArgument: 0
|
||||||
|
m_FloatArgument: 0
|
||||||
|
m_StringArgument:
|
||||||
|
m_BoolArgument: 0
|
||||||
|
m_CallState: 2
|
||||||
|
m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0,
|
||||||
|
Culture=neutral, PublicKeyToken=null
|
||||||
|
--- !u!222 &222175805939703770
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 1785910143472904}
|
||||||
|
--- !u!222 &222313182602304162
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 1503640463151286}
|
||||||
|
--- !u!222 &222870443111501910
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 1396836967994216}
|
||||||
|
--- !u!224 &224006190298411330
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 1396836967994216}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_Children:
|
||||||
|
- {fileID: 224887990600088790}
|
||||||
|
m_Father: {fileID: 22479264}
|
||||||
|
m_RootOrder: 3
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
|
m_AnchorMax: {x: 1, y: 0}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 2}
|
||||||
|
m_SizeDelta: {x: -70, y: 36}
|
||||||
|
m_Pivot: {x: 0.5, y: 0}
|
||||||
|
--- !u!224 &224737693311518052
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 1785910143472904}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 22479264}
|
||||||
|
m_RootOrder: 1
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
|
m_AnchorMax: {x: 1, y: 1}
|
||||||
|
m_AnchoredPosition: {x: 15, y: 0}
|
||||||
|
m_SizeDelta: {x: -40, y: -2}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!224 &224887990600088790
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 1503640463151286}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 224006190298411330}
|
||||||
|
m_RootOrder: 0
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
|
m_AnchorMax: {x: 1, y: 1}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
|
m_SizeDelta: {x: 0, y: 0}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!225 &225819852034701160
|
||||||
|
CanvasGroup:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_PrefabParentObject: {fileID: 0}
|
||||||
|
m_PrefabInternal: {fileID: 100100000}
|
||||||
|
m_GameObject: {fileID: 166880}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_Alpha: 1
|
||||||
|
m_Interactable: 1
|
||||||
|
m_BlocksRaycasts: 1
|
||||||
|
m_IgnoreParentGroups: 0
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 391be5df5ef62f345bb76a1051c04da7
|
||||||
|
timeCreated: 1465919887
|
||||||
|
licenseType: Store
|
||||||
|
NativeFormatImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,7 @@
|
||||||
|
= In-game Debug Console (v1.6.8) =
|
||||||
|
|
||||||
|
Documentation: https://github.com/yasirkula/UnityIngameDebugConsole
|
||||||
|
FAQ: https://github.com/yasirkula/UnityIngameDebugConsole#faq
|
||||||
|
E-mail: yasirkula@gmail.com
|
||||||
|
|
||||||
|
You can simply place the IngameDebugConsole prefab to your scene. Hovering the cursor over its properties in the Inspector will reveal explanatory tooltips.
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: edf2ac73f7bc3064c96d53009106dc53
|
||||||
|
timeCreated: 1563307881
|
||||||
|
licenseType: Store
|
||||||
|
TextScriptImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,9 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 860c08388401a6d4e858fe4910ea9337
|
||||||
|
folderAsset: yes
|
||||||
|
timeCreated: 1465930645
|
||||||
|
licenseType: Store
|
||||||
|
DefaultImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,304 @@
|
||||||
|
using System;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
namespace IngameDebugConsole
|
||||||
|
{
|
||||||
|
public class CircularBuffer<T>
|
||||||
|
{
|
||||||
|
private readonly T[] array;
|
||||||
|
private int startIndex;
|
||||||
|
|
||||||
|
public int Count { get; private set; }
|
||||||
|
public T this[int index] { get { return array[( startIndex + index ) % array.Length]; } }
|
||||||
|
|
||||||
|
public CircularBuffer( int capacity )
|
||||||
|
{
|
||||||
|
array = new T[capacity];
|
||||||
|
}
|
||||||
|
|
||||||
|
// Old elements are overwritten when capacity is reached
|
||||||
|
public void Add( T value )
|
||||||
|
{
|
||||||
|
if( Count < array.Length )
|
||||||
|
array[Count++] = value;
|
||||||
|
else
|
||||||
|
{
|
||||||
|
array[startIndex] = value;
|
||||||
|
if( ++startIndex >= array.Length )
|
||||||
|
startIndex = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public class DynamicCircularBuffer<T>
|
||||||
|
{
|
||||||
|
private T[] array;
|
||||||
|
private int startIndex;
|
||||||
|
|
||||||
|
public int Count { get; private set; }
|
||||||
|
public int Capacity { get { return array.Length; } }
|
||||||
|
|
||||||
|
public T this[int index]
|
||||||
|
{
|
||||||
|
get { return array[( startIndex + index ) % array.Length]; }
|
||||||
|
set { array[( startIndex + index ) % array.Length] = value; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public DynamicCircularBuffer( int initialCapacity = 2 )
|
||||||
|
{
|
||||||
|
array = new T[initialCapacity];
|
||||||
|
}
|
||||||
|
|
||||||
|
private void SetCapacity( int capacity )
|
||||||
|
{
|
||||||
|
T[] newArray = new T[capacity];
|
||||||
|
if( Count > 0 )
|
||||||
|
{
|
||||||
|
int elementsBeforeWrap = Mathf.Min( Count, array.Length - startIndex );
|
||||||
|
Array.Copy( array, startIndex, newArray, 0, elementsBeforeWrap );
|
||||||
|
if( elementsBeforeWrap < Count )
|
||||||
|
Array.Copy( array, 0, newArray, elementsBeforeWrap, Count - elementsBeforeWrap );
|
||||||
|
}
|
||||||
|
|
||||||
|
array = newArray;
|
||||||
|
startIndex = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Inserts the value to the beginning of the collection.</summary>
|
||||||
|
public void AddFirst( T value )
|
||||||
|
{
|
||||||
|
if( array.Length == Count )
|
||||||
|
SetCapacity( Mathf.Max( array.Length * 2, 4 ) );
|
||||||
|
|
||||||
|
startIndex = ( startIndex > 0 ) ? ( startIndex - 1 ) : ( array.Length - 1 );
|
||||||
|
array[startIndex] = value;
|
||||||
|
Count++;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>Adds the value to the end of the collection.</summary>
|
||||||
|
public void Add( T value )
|
||||||
|
{
|
||||||
|
if( array.Length == Count )
|
||||||
|
SetCapacity( Mathf.Max( array.Length * 2, 4 ) );
|
||||||
|
|
||||||
|
this[Count++] = value;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void AddRange( DynamicCircularBuffer<T> other )
|
||||||
|
{
|
||||||
|
if( other.Count == 0 )
|
||||||
|
return;
|
||||||
|
|
||||||
|
if( array.Length < Count + other.Count )
|
||||||
|
SetCapacity( Mathf.Max( array.Length * 2, Count + other.Count ) );
|
||||||
|
|
||||||
|
int insertStartIndex = ( startIndex + Count ) % array.Length;
|
||||||
|
int elementsBeforeWrap = Mathf.Min( other.Count, array.Length - insertStartIndex );
|
||||||
|
int otherElementsBeforeWrap = Mathf.Min( other.Count, other.array.Length - other.startIndex );
|
||||||
|
|
||||||
|
Array.Copy( other.array, other.startIndex, array, insertStartIndex, Mathf.Min( elementsBeforeWrap, otherElementsBeforeWrap ) );
|
||||||
|
if( elementsBeforeWrap < otherElementsBeforeWrap ) // This array wrapped before the other array
|
||||||
|
Array.Copy( other.array, other.startIndex + elementsBeforeWrap, array, 0, otherElementsBeforeWrap - elementsBeforeWrap );
|
||||||
|
else if( elementsBeforeWrap > otherElementsBeforeWrap ) // The other array wrapped before this array
|
||||||
|
Array.Copy( other.array, 0, array, insertStartIndex + otherElementsBeforeWrap, elementsBeforeWrap - otherElementsBeforeWrap );
|
||||||
|
|
||||||
|
int copiedElements = Mathf.Max( elementsBeforeWrap, otherElementsBeforeWrap );
|
||||||
|
if( copiedElements < other.Count ) // Both arrays wrapped and there's still some elements left to copy
|
||||||
|
Array.Copy( other.array, copiedElements - otherElementsBeforeWrap, array, copiedElements - elementsBeforeWrap, other.Count - copiedElements );
|
||||||
|
|
||||||
|
Count += other.Count;
|
||||||
|
}
|
||||||
|
|
||||||
|
public T RemoveFirst()
|
||||||
|
{
|
||||||
|
T element = array[startIndex];
|
||||||
|
array[startIndex] = default( T );
|
||||||
|
|
||||||
|
if( ++startIndex == array.Length )
|
||||||
|
startIndex = 0;
|
||||||
|
|
||||||
|
Count--;
|
||||||
|
return element;
|
||||||
|
}
|
||||||
|
|
||||||
|
public T RemoveLast()
|
||||||
|
{
|
||||||
|
int index = ( startIndex + Count - 1 ) % array.Length;
|
||||||
|
T element = array[index];
|
||||||
|
array[index] = default( T );
|
||||||
|
|
||||||
|
Count--;
|
||||||
|
return element;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int RemoveAll( Predicate<T> shouldRemoveElement )
|
||||||
|
{
|
||||||
|
return RemoveAll<T>( shouldRemoveElement, null, null );
|
||||||
|
}
|
||||||
|
|
||||||
|
public int RemoveAll<Y>( Predicate<T> shouldRemoveElement, Action<T, int> onElementIndexChanged, DynamicCircularBuffer<Y> synchronizedBuffer )
|
||||||
|
{
|
||||||
|
Y[] synchronizedArray = ( synchronizedBuffer != null ) ? synchronizedBuffer.array : null;
|
||||||
|
int elementsBeforeWrap = Mathf.Min( Count, array.Length - startIndex );
|
||||||
|
int removedElements = 0;
|
||||||
|
int i = startIndex, newIndex = startIndex, endIndex = startIndex + elementsBeforeWrap;
|
||||||
|
for( ; i < endIndex; i++ )
|
||||||
|
{
|
||||||
|
if( shouldRemoveElement( array[i] ) )
|
||||||
|
removedElements++;
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if( removedElements > 0 )
|
||||||
|
{
|
||||||
|
T element = array[i];
|
||||||
|
array[newIndex] = element;
|
||||||
|
|
||||||
|
if( synchronizedArray != null )
|
||||||
|
synchronizedArray[newIndex] = synchronizedArray[i];
|
||||||
|
|
||||||
|
if( onElementIndexChanged != null )
|
||||||
|
onElementIndexChanged( element, newIndex - startIndex );
|
||||||
|
}
|
||||||
|
|
||||||
|
newIndex++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
i = 0;
|
||||||
|
endIndex = Count - elementsBeforeWrap;
|
||||||
|
|
||||||
|
if( newIndex < array.Length )
|
||||||
|
{
|
||||||
|
for( ; i < endIndex; i++ )
|
||||||
|
{
|
||||||
|
if( shouldRemoveElement( array[i] ) )
|
||||||
|
removedElements++;
|
||||||
|
else
|
||||||
|
{
|
||||||
|
T element = array[i];
|
||||||
|
array[newIndex] = element;
|
||||||
|
|
||||||
|
if( synchronizedArray != null )
|
||||||
|
synchronizedArray[newIndex] = synchronizedArray[i];
|
||||||
|
|
||||||
|
if( onElementIndexChanged != null )
|
||||||
|
onElementIndexChanged( element, newIndex - startIndex );
|
||||||
|
|
||||||
|
if( ++newIndex == array.Length )
|
||||||
|
{
|
||||||
|
i++;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if( newIndex == array.Length )
|
||||||
|
{
|
||||||
|
newIndex = 0;
|
||||||
|
for( ; i < endIndex; i++ )
|
||||||
|
{
|
||||||
|
if( shouldRemoveElement( array[i] ) )
|
||||||
|
removedElements++;
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if( removedElements > 0 )
|
||||||
|
{
|
||||||
|
T element = array[i];
|
||||||
|
array[newIndex] = element;
|
||||||
|
|
||||||
|
if( synchronizedArray != null )
|
||||||
|
synchronizedArray[newIndex] = synchronizedArray[i];
|
||||||
|
|
||||||
|
if( onElementIndexChanged != null )
|
||||||
|
onElementIndexChanged( element, newIndex + elementsBeforeWrap );
|
||||||
|
}
|
||||||
|
|
||||||
|
newIndex++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
TrimEnd( removedElements );
|
||||||
|
if( synchronizedBuffer != null )
|
||||||
|
synchronizedBuffer.TrimEnd( removedElements );
|
||||||
|
|
||||||
|
return removedElements;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void TrimStart( int trimCount, Action<T> perElementCallback = null )
|
||||||
|
{
|
||||||
|
TrimInternal( trimCount, startIndex, perElementCallback );
|
||||||
|
startIndex = ( startIndex + trimCount ) % array.Length;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void TrimEnd( int trimCount, Action<T> perElementCallback = null )
|
||||||
|
{
|
||||||
|
TrimInternal( trimCount, ( startIndex + Count - trimCount ) % array.Length, perElementCallback );
|
||||||
|
}
|
||||||
|
|
||||||
|
private void TrimInternal( int trimCount, int startIndex, Action<T> perElementCallback )
|
||||||
|
{
|
||||||
|
int elementsBeforeWrap = Mathf.Min( trimCount, array.Length - startIndex );
|
||||||
|
if( perElementCallback == null )
|
||||||
|
{
|
||||||
|
Array.Clear( array, startIndex, elementsBeforeWrap );
|
||||||
|
if( elementsBeforeWrap < trimCount )
|
||||||
|
Array.Clear( array, 0, trimCount - elementsBeforeWrap );
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
for( int i = startIndex, endIndex = startIndex + elementsBeforeWrap; i < endIndex; i++ )
|
||||||
|
{
|
||||||
|
perElementCallback( array[i] );
|
||||||
|
array[i] = default( T );
|
||||||
|
}
|
||||||
|
|
||||||
|
for( int i = 0, endIndex = trimCount - elementsBeforeWrap; i < endIndex; i++ )
|
||||||
|
{
|
||||||
|
perElementCallback( array[i] );
|
||||||
|
array[i] = default( T );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Count -= trimCount;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Clear()
|
||||||
|
{
|
||||||
|
int elementsBeforeWrap = Mathf.Min( Count, array.Length - startIndex );
|
||||||
|
Array.Clear( array, startIndex, elementsBeforeWrap );
|
||||||
|
if( elementsBeforeWrap < Count )
|
||||||
|
Array.Clear( array, 0, Count - elementsBeforeWrap );
|
||||||
|
|
||||||
|
startIndex = 0;
|
||||||
|
Count = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int IndexOf( T value )
|
||||||
|
{
|
||||||
|
int elementsBeforeWrap = Mathf.Min( Count, array.Length - startIndex );
|
||||||
|
int index = Array.IndexOf( array, value, startIndex, elementsBeforeWrap );
|
||||||
|
if( index >= 0 )
|
||||||
|
return index - startIndex;
|
||||||
|
|
||||||
|
if( elementsBeforeWrap < Count )
|
||||||
|
{
|
||||||
|
index = Array.IndexOf( array, value, 0, Count - elementsBeforeWrap );
|
||||||
|
if( index >= 0 )
|
||||||
|
return index + elementsBeforeWrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void ForEach( Action<T> action )
|
||||||
|
{
|
||||||
|
int elementsBeforeWrap = Mathf.Min( Count, array.Length - startIndex );
|
||||||
|
for( int i = startIndex, endIndex = startIndex + elementsBeforeWrap; i < endIndex; i++ )
|
||||||
|
action( array[i] );
|
||||||
|
for( int i = 0, endIndex = Count - elementsBeforeWrap; i < endIndex; i++ )
|
||||||
|
action( array[i] );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,12 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 6136cb3c00eac0149901b8e7f2fecef8
|
||||||
|
timeCreated: 1550943949
|
||||||
|
licenseType: Store
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -1,5 +1,6 @@
|
||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 5881f8613541949ffbbc6a2d193f3704
|
guid: bb9b6e1ab379cec46bfae8f8abcc1f45
|
||||||
|
folderAsset: yes
|
||||||
DefaultImporter:
|
DefaultImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
userData:
|
userData:
|
|
@ -0,0 +1,60 @@
|
||||||
|
#if IDG_ENABLE_HELPER_COMMANDS
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
namespace IngameDebugConsole.Commands
|
||||||
|
{
|
||||||
|
public class PlayerPrefsCommands
|
||||||
|
{
|
||||||
|
[ConsoleMethod( "prefs.int", "Returns the value of an Integer PlayerPrefs field" ), UnityEngine.Scripting.Preserve]
|
||||||
|
public static string PlayerPrefsGetInt( string key )
|
||||||
|
{
|
||||||
|
if( !PlayerPrefs.HasKey( key ) ) return "Key Not Found";
|
||||||
|
return PlayerPrefs.GetInt( key ).ToString();
|
||||||
|
}
|
||||||
|
|
||||||
|
[ConsoleMethod( "prefs.int", "Sets the value of an Integer PlayerPrefs field" ), UnityEngine.Scripting.Preserve]
|
||||||
|
public static void PlayerPrefsSetInt( string key, int value )
|
||||||
|
{
|
||||||
|
PlayerPrefs.SetInt( key, value );
|
||||||
|
}
|
||||||
|
|
||||||
|
[ConsoleMethod( "prefs.float", "Returns the value of a Float PlayerPrefs field" ), UnityEngine.Scripting.Preserve]
|
||||||
|
public static string PlayerPrefsGetFloat( string key )
|
||||||
|
{
|
||||||
|
if( !PlayerPrefs.HasKey( key ) ) return "Key Not Found";
|
||||||
|
return PlayerPrefs.GetFloat( key ).ToString();
|
||||||
|
}
|
||||||
|
|
||||||
|
[ConsoleMethod( "prefs.float", "Sets the value of a Float PlayerPrefs field" ), UnityEngine.Scripting.Preserve]
|
||||||
|
public static void PlayerPrefsSetFloat( string key, float value )
|
||||||
|
{
|
||||||
|
PlayerPrefs.SetFloat( key, value );
|
||||||
|
}
|
||||||
|
|
||||||
|
[ConsoleMethod( "prefs.string", "Returns the value of a String PlayerPrefs field" ), UnityEngine.Scripting.Preserve]
|
||||||
|
public static string PlayerPrefsGetString( string key )
|
||||||
|
{
|
||||||
|
if( !PlayerPrefs.HasKey( key ) ) return "Key Not Found";
|
||||||
|
return PlayerPrefs.GetString( key );
|
||||||
|
}
|
||||||
|
|
||||||
|
[ConsoleMethod( "prefs.string", "Sets the value of a String PlayerPrefs field" ), UnityEngine.Scripting.Preserve]
|
||||||
|
public static void PlayerPrefsSetString( string key, string value )
|
||||||
|
{
|
||||||
|
PlayerPrefs.SetString( key, value );
|
||||||
|
}
|
||||||
|
|
||||||
|
[ConsoleMethod( "prefs.delete", "Deletes a PlayerPrefs field" ), UnityEngine.Scripting.Preserve]
|
||||||
|
public static void PlayerPrefsDelete( string key )
|
||||||
|
{
|
||||||
|
PlayerPrefs.DeleteKey( key );
|
||||||
|
}
|
||||||
|
|
||||||
|
[ConsoleMethod( "prefs.clear", "Deletes all PlayerPrefs fields" ), UnityEngine.Scripting.Preserve]
|
||||||
|
public static void PlayerPrefsClear()
|
||||||
|
{
|
||||||
|
PlayerPrefs.DeleteAll();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif
|
|
@ -0,0 +1,11 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 33fb3ee25c8764f4c905fa3ac7c4eb89
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,60 @@
|
||||||
|
#if IDG_ENABLE_HELPER_COMMANDS
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.SceneManagement;
|
||||||
|
|
||||||
|
namespace IngameDebugConsole.Commands
|
||||||
|
{
|
||||||
|
public class SceneCommands
|
||||||
|
{
|
||||||
|
[ConsoleMethod( "scene.load", "Loads a scene" ), UnityEngine.Scripting.Preserve]
|
||||||
|
public static void LoadScene( string sceneName )
|
||||||
|
{
|
||||||
|
LoadSceneInternal( sceneName, false, LoadSceneMode.Single );
|
||||||
|
}
|
||||||
|
|
||||||
|
[ConsoleMethod( "scene.load", "Loads a scene" ), UnityEngine.Scripting.Preserve]
|
||||||
|
public static void LoadScene( string sceneName, LoadSceneMode mode )
|
||||||
|
{
|
||||||
|
LoadSceneInternal( sceneName, false, mode );
|
||||||
|
}
|
||||||
|
|
||||||
|
[ConsoleMethod( "scene.loadasync", "Loads a scene asynchronously" ), UnityEngine.Scripting.Preserve]
|
||||||
|
public static void LoadSceneAsync( string sceneName )
|
||||||
|
{
|
||||||
|
LoadSceneInternal( sceneName, true, LoadSceneMode.Single );
|
||||||
|
}
|
||||||
|
|
||||||
|
[ConsoleMethod( "scene.loadasync", "Loads a scene asynchronously" ), UnityEngine.Scripting.Preserve]
|
||||||
|
public static void LoadSceneAsync( string sceneName, LoadSceneMode mode )
|
||||||
|
{
|
||||||
|
LoadSceneInternal( sceneName, true, mode );
|
||||||
|
}
|
||||||
|
|
||||||
|
private static void LoadSceneInternal( string sceneName, bool isAsync, LoadSceneMode mode )
|
||||||
|
{
|
||||||
|
if( SceneManager.GetSceneByName( sceneName ).IsValid() )
|
||||||
|
{
|
||||||
|
Debug.Log( "Scene " + sceneName + " is already loaded" );
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if( isAsync )
|
||||||
|
SceneManager.LoadSceneAsync( sceneName, mode );
|
||||||
|
else
|
||||||
|
SceneManager.LoadScene( sceneName, mode );
|
||||||
|
}
|
||||||
|
|
||||||
|
[ConsoleMethod( "scene.unload", "Unloads a scene" ), UnityEngine.Scripting.Preserve]
|
||||||
|
public static void UnloadScene( string sceneName )
|
||||||
|
{
|
||||||
|
SceneManager.UnloadSceneAsync( sceneName );
|
||||||
|
}
|
||||||
|
|
||||||
|
[ConsoleMethod( "scene.restart", "Restarts the active scene" ), UnityEngine.Scripting.Preserve]
|
||||||
|
public static void RestartScene()
|
||||||
|
{
|
||||||
|
SceneManager.LoadScene( SceneManager.GetActiveScene().name, LoadSceneMode.Single );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif
|
|
@ -0,0 +1,11 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 45984eacd62d9a3489fd62689265a23c
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,21 @@
|
||||||
|
#if IDG_ENABLE_HELPER_COMMANDS
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
namespace IngameDebugConsole.Commands
|
||||||
|
{
|
||||||
|
public class TimeCommands
|
||||||
|
{
|
||||||
|
[ConsoleMethod( "time.scale", "Sets the Time.timeScale value" ), UnityEngine.Scripting.Preserve]
|
||||||
|
public static void SetTimeScale( float value )
|
||||||
|
{
|
||||||
|
Time.timeScale = Mathf.Max( value, 0f );
|
||||||
|
}
|
||||||
|
|
||||||
|
[ConsoleMethod( "time.scale", "Returns the current Time.timeScale value" ), UnityEngine.Scripting.Preserve]
|
||||||
|
public static float GetTimeScale()
|
||||||
|
{
|
||||||
|
return Time.timeScale;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif
|
|
@ -0,0 +1,11 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: bb12a1f557fffa541909fcfe92d9c1bf
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,23 @@
|
||||||
|
using System;
|
||||||
|
|
||||||
|
namespace IngameDebugConsole
|
||||||
|
{
|
||||||
|
[AttributeUsage( AttributeTargets.Method, Inherited = false, AllowMultiple = true )]
|
||||||
|
public class ConsoleMethodAttribute : Attribute
|
||||||
|
{
|
||||||
|
private string m_command;
|
||||||
|
private string m_description;
|
||||||
|
private string[] m_parameterNames;
|
||||||
|
|
||||||
|
public string Command { get { return m_command; } }
|
||||||
|
public string Description { get { return m_description; } }
|
||||||
|
public string[] ParameterNames { get { return m_parameterNames; } }
|
||||||
|
|
||||||
|
public ConsoleMethodAttribute( string command, string description, params string[] parameterNames )
|
||||||
|
{
|
||||||
|
m_command = command;
|
||||||
|
m_description = description;
|
||||||
|
m_parameterNames = parameterNames;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,12 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 324bb39c0bff0f74fa42f83e91f07e3a
|
||||||
|
timeCreated: 1520710946
|
||||||
|
licenseType: Store
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,12 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d15693a03d0d33b4892c6365a2a97e19
|
||||||
|
timeCreated: 1472036503
|
||||||
|
licenseType: Store
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,187 @@
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Globalization;
|
||||||
|
using System.Text;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
// Container for a simple debug entry
|
||||||
|
namespace IngameDebugConsole
|
||||||
|
{
|
||||||
|
public class DebugLogEntry
|
||||||
|
{
|
||||||
|
private const int HASH_NOT_CALCULATED = -623218;
|
||||||
|
|
||||||
|
public string logString;
|
||||||
|
public string stackTrace;
|
||||||
|
private string completeLog;
|
||||||
|
|
||||||
|
// Sprite to show with this entry
|
||||||
|
public Sprite logTypeSpriteRepresentation;
|
||||||
|
|
||||||
|
// Collapsed count
|
||||||
|
public int count;
|
||||||
|
|
||||||
|
// Index of this entry among all collapsed entries
|
||||||
|
public int collapsedIndex;
|
||||||
|
|
||||||
|
private int hashValue;
|
||||||
|
|
||||||
|
public void Initialize( string logString, string stackTrace )
|
||||||
|
{
|
||||||
|
this.logString = logString;
|
||||||
|
this.stackTrace = stackTrace;
|
||||||
|
|
||||||
|
completeLog = null;
|
||||||
|
count = 1;
|
||||||
|
hashValue = HASH_NOT_CALCULATED;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Clear()
|
||||||
|
{
|
||||||
|
logString = null;
|
||||||
|
stackTrace = null;
|
||||||
|
completeLog = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Checks if logString or stackTrace contains the search term
|
||||||
|
public bool MatchesSearchTerm( string searchTerm )
|
||||||
|
{
|
||||||
|
return ( logString != null && DebugLogConsole.caseInsensitiveComparer.IndexOf( logString, searchTerm, CompareOptions.IgnoreCase | CompareOptions.IgnoreNonSpace ) >= 0 ) ||
|
||||||
|
( stackTrace != null && DebugLogConsole.caseInsensitiveComparer.IndexOf( stackTrace, searchTerm, CompareOptions.IgnoreCase | CompareOptions.IgnoreNonSpace ) >= 0 );
|
||||||
|
}
|
||||||
|
|
||||||
|
// Return a string containing complete information about this debug entry
|
||||||
|
public override string ToString()
|
||||||
|
{
|
||||||
|
if( completeLog == null )
|
||||||
|
completeLog = string.Concat( logString, "\n", stackTrace );
|
||||||
|
|
||||||
|
return completeLog;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Credit: https://stackoverflow.com/a/19250516/2373034
|
||||||
|
public int GetContentHashCode()
|
||||||
|
{
|
||||||
|
if( hashValue == HASH_NOT_CALCULATED )
|
||||||
|
{
|
||||||
|
unchecked
|
||||||
|
{
|
||||||
|
hashValue = 17;
|
||||||
|
hashValue = hashValue * 23 + ( logString == null ? 0 : logString.GetHashCode() );
|
||||||
|
hashValue = hashValue * 23 + ( stackTrace == null ? 0 : stackTrace.GetHashCode() );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return hashValue;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public struct QueuedDebugLogEntry
|
||||||
|
{
|
||||||
|
public readonly string logString;
|
||||||
|
public readonly string stackTrace;
|
||||||
|
public readonly LogType logType;
|
||||||
|
|
||||||
|
public QueuedDebugLogEntry( string logString, string stackTrace, LogType logType )
|
||||||
|
{
|
||||||
|
this.logString = logString;
|
||||||
|
this.stackTrace = stackTrace;
|
||||||
|
this.logType = logType;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Checks if logString or stackTrace contains the search term
|
||||||
|
public bool MatchesSearchTerm( string searchTerm )
|
||||||
|
{
|
||||||
|
return ( logString != null && DebugLogConsole.caseInsensitiveComparer.IndexOf( logString, searchTerm, CompareOptions.IgnoreCase | CompareOptions.IgnoreNonSpace ) >= 0 ) ||
|
||||||
|
( stackTrace != null && DebugLogConsole.caseInsensitiveComparer.IndexOf( stackTrace, searchTerm, CompareOptions.IgnoreCase | CompareOptions.IgnoreNonSpace ) >= 0 );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public struct DebugLogEntryTimestamp
|
||||||
|
{
|
||||||
|
public readonly System.DateTime dateTime;
|
||||||
|
#if !IDG_OMIT_ELAPSED_TIME
|
||||||
|
public readonly float elapsedSeconds;
|
||||||
|
#endif
|
||||||
|
#if !IDG_OMIT_FRAMECOUNT
|
||||||
|
public readonly int frameCount;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !IDG_OMIT_ELAPSED_TIME && !IDG_OMIT_FRAMECOUNT
|
||||||
|
public DebugLogEntryTimestamp( System.DateTime dateTime, float elapsedSeconds, int frameCount )
|
||||||
|
#elif !IDG_OMIT_ELAPSED_TIME
|
||||||
|
public DebugLogEntryTimestamp( System.DateTime dateTime, float elapsedSeconds )
|
||||||
|
#elif !IDG_OMIT_FRAMECOUNT
|
||||||
|
public DebugLogEntryTimestamp( System.DateTime dateTime, int frameCount )
|
||||||
|
#else
|
||||||
|
public DebugLogEntryTimestamp( System.DateTime dateTime )
|
||||||
|
#endif
|
||||||
|
{
|
||||||
|
this.dateTime = dateTime;
|
||||||
|
#if !IDG_OMIT_ELAPSED_TIME
|
||||||
|
this.elapsedSeconds = elapsedSeconds;
|
||||||
|
#endif
|
||||||
|
#if !IDG_OMIT_FRAMECOUNT
|
||||||
|
this.frameCount = frameCount;
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
public void AppendTime( StringBuilder sb )
|
||||||
|
{
|
||||||
|
// Add DateTime in format: [HH:mm:ss]
|
||||||
|
sb.Append( "[" );
|
||||||
|
|
||||||
|
int hour = dateTime.Hour;
|
||||||
|
if( hour >= 10 )
|
||||||
|
sb.Append( hour );
|
||||||
|
else
|
||||||
|
sb.Append( "0" ).Append( hour );
|
||||||
|
|
||||||
|
sb.Append( ":" );
|
||||||
|
|
||||||
|
int minute = dateTime.Minute;
|
||||||
|
if( minute >= 10 )
|
||||||
|
sb.Append( minute );
|
||||||
|
else
|
||||||
|
sb.Append( "0" ).Append( minute );
|
||||||
|
|
||||||
|
sb.Append( ":" );
|
||||||
|
|
||||||
|
int second = dateTime.Second;
|
||||||
|
if( second >= 10 )
|
||||||
|
sb.Append( second );
|
||||||
|
else
|
||||||
|
sb.Append( "0" ).Append( second );
|
||||||
|
|
||||||
|
sb.Append( "]" );
|
||||||
|
}
|
||||||
|
|
||||||
|
public void AppendFullTimestamp( StringBuilder sb )
|
||||||
|
{
|
||||||
|
AppendTime( sb );
|
||||||
|
|
||||||
|
#if !IDG_OMIT_ELAPSED_TIME && !IDG_OMIT_FRAMECOUNT
|
||||||
|
// Append elapsed seconds and frame count in format: [1.0s at #Frame]
|
||||||
|
sb.Append( "[" ).Append( elapsedSeconds.ToString( "F1" ) ).Append( "s at " ).Append( "#" ).Append( frameCount ).Append( "]" );
|
||||||
|
#elif !IDG_OMIT_ELAPSED_TIME
|
||||||
|
// Append elapsed seconds in format: [1.0s]
|
||||||
|
sb.Append( "[" ).Append( elapsedSeconds.ToString( "F1" ) ).Append( "s]" );
|
||||||
|
#elif !IDG_OMIT_FRAMECOUNT
|
||||||
|
// Append frame count in format: [#Frame]
|
||||||
|
sb.Append( "[#" ).Append( frameCount ).Append( "]" );
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public class DebugLogEntryContentEqualityComparer : EqualityComparer<DebugLogEntry>
|
||||||
|
{
|
||||||
|
public override bool Equals( DebugLogEntry x, DebugLogEntry y )
|
||||||
|
{
|
||||||
|
return x.logString == y.logString && x.stackTrace == y.stackTrace;
|
||||||
|
}
|
||||||
|
|
||||||
|
public override int GetHashCode( DebugLogEntry obj )
|
||||||
|
{
|
||||||
|
return obj.GetContentHashCode();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,12 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: e7b1a420c564be040bf73b8a377fc2c2
|
||||||
|
timeCreated: 1466375168
|
||||||
|
licenseType: Store
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,282 @@
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
using UnityEngine.EventSystems;
|
||||||
|
using System.Text;
|
||||||
|
#if UNITY_EDITOR
|
||||||
|
using UnityEditor;
|
||||||
|
using System.Text.RegularExpressions;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
// A UI element to show information about a debug entry
|
||||||
|
namespace IngameDebugConsole
|
||||||
|
{
|
||||||
|
public class DebugLogItem : MonoBehaviour, IPointerClickHandler
|
||||||
|
{
|
||||||
|
#region Platform Specific Elements
|
||||||
|
#if !UNITY_2018_1_OR_NEWER
|
||||||
|
#if !UNITY_EDITOR && UNITY_ANDROID
|
||||||
|
private static AndroidJavaClass m_ajc = null;
|
||||||
|
private static AndroidJavaClass AJC
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
if( m_ajc == null )
|
||||||
|
m_ajc = new AndroidJavaClass( "com.yasirkula.unity.DebugConsole" );
|
||||||
|
|
||||||
|
return m_ajc;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private static AndroidJavaObject m_context = null;
|
||||||
|
private static AndroidJavaObject Context
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
if( m_context == null )
|
||||||
|
{
|
||||||
|
using( AndroidJavaObject unityClass = new AndroidJavaClass( "com.unity3d.player.UnityPlayer" ) )
|
||||||
|
{
|
||||||
|
m_context = unityClass.GetStatic<AndroidJavaObject>( "currentActivity" );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return m_context;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#elif !UNITY_EDITOR && UNITY_IOS
|
||||||
|
[System.Runtime.InteropServices.DllImport( "__Internal" )]
|
||||||
|
private static extern void _DebugConsole_CopyText( string text );
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#pragma warning disable 0649
|
||||||
|
// Cached components
|
||||||
|
[SerializeField]
|
||||||
|
private RectTransform transformComponent;
|
||||||
|
public RectTransform Transform { get { return transformComponent; } }
|
||||||
|
|
||||||
|
[SerializeField]
|
||||||
|
private Image imageComponent;
|
||||||
|
public Image Image { get { return imageComponent; } }
|
||||||
|
|
||||||
|
[SerializeField]
|
||||||
|
private CanvasGroup canvasGroupComponent;
|
||||||
|
public CanvasGroup CanvasGroup { get { return canvasGroupComponent; } }
|
||||||
|
|
||||||
|
[SerializeField]
|
||||||
|
private Text logText;
|
||||||
|
[SerializeField]
|
||||||
|
private Image logTypeImage;
|
||||||
|
|
||||||
|
// Objects related to the collapsed count of the debug entry
|
||||||
|
[SerializeField]
|
||||||
|
private GameObject logCountParent;
|
||||||
|
[SerializeField]
|
||||||
|
private Text logCountText;
|
||||||
|
|
||||||
|
[SerializeField]
|
||||||
|
private RectTransform copyLogButton;
|
||||||
|
#pragma warning restore 0649
|
||||||
|
|
||||||
|
// Debug entry to show with this log item
|
||||||
|
private DebugLogEntry logEntry;
|
||||||
|
public DebugLogEntry Entry { get { return logEntry; } }
|
||||||
|
|
||||||
|
private DebugLogEntryTimestamp? logEntryTimestamp;
|
||||||
|
public DebugLogEntryTimestamp? Timestamp { get { return logEntryTimestamp; } }
|
||||||
|
|
||||||
|
// Index of the entry in the list of entries
|
||||||
|
[System.NonSerialized] public int Index;
|
||||||
|
|
||||||
|
private bool isExpanded;
|
||||||
|
public bool Expanded { get { return isExpanded; } }
|
||||||
|
|
||||||
|
private Vector2 logTextOriginalPosition;
|
||||||
|
private Vector2 logTextOriginalSize;
|
||||||
|
private float copyLogButtonHeight;
|
||||||
|
|
||||||
|
private DebugLogRecycledListView listView;
|
||||||
|
|
||||||
|
public void Initialize( DebugLogRecycledListView listView )
|
||||||
|
{
|
||||||
|
this.listView = listView;
|
||||||
|
|
||||||
|
logTextOriginalPosition = logText.rectTransform.anchoredPosition;
|
||||||
|
logTextOriginalSize = logText.rectTransform.sizeDelta;
|
||||||
|
copyLogButtonHeight = copyLogButton.anchoredPosition.y + copyLogButton.sizeDelta.y + 2f; // 2f: space between text and button
|
||||||
|
|
||||||
|
#if !UNITY_EDITOR && UNITY_WEBGL
|
||||||
|
copyLogButton.gameObject.AddComponent<DebugLogItemCopyWebGL>().Initialize( this );
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
public void SetContent( DebugLogEntry logEntry, DebugLogEntryTimestamp? logEntryTimestamp, int entryIndex, bool isExpanded )
|
||||||
|
{
|
||||||
|
this.logEntry = logEntry;
|
||||||
|
this.logEntryTimestamp = logEntryTimestamp;
|
||||||
|
this.Index = entryIndex;
|
||||||
|
this.isExpanded = isExpanded;
|
||||||
|
|
||||||
|
Vector2 size = transformComponent.sizeDelta;
|
||||||
|
if( isExpanded )
|
||||||
|
{
|
||||||
|
logText.horizontalOverflow = HorizontalWrapMode.Wrap;
|
||||||
|
size.y = listView.SelectedItemHeight;
|
||||||
|
|
||||||
|
if( !copyLogButton.gameObject.activeSelf )
|
||||||
|
{
|
||||||
|
copyLogButton.gameObject.SetActive( true );
|
||||||
|
|
||||||
|
logText.rectTransform.anchoredPosition = new Vector2( logTextOriginalPosition.x, logTextOriginalPosition.y + copyLogButtonHeight * 0.5f );
|
||||||
|
logText.rectTransform.sizeDelta = logTextOriginalSize - new Vector2( 0f, copyLogButtonHeight );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
logText.horizontalOverflow = HorizontalWrapMode.Overflow;
|
||||||
|
size.y = listView.ItemHeight;
|
||||||
|
|
||||||
|
if( copyLogButton.gameObject.activeSelf )
|
||||||
|
{
|
||||||
|
copyLogButton.gameObject.SetActive( false );
|
||||||
|
|
||||||
|
logText.rectTransform.anchoredPosition = logTextOriginalPosition;
|
||||||
|
logText.rectTransform.sizeDelta = logTextOriginalSize;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
transformComponent.sizeDelta = size;
|
||||||
|
|
||||||
|
SetText( logEntry, logEntryTimestamp, isExpanded );
|
||||||
|
logTypeImage.sprite = logEntry.logTypeSpriteRepresentation;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Show the collapsed count of the debug entry
|
||||||
|
public void ShowCount()
|
||||||
|
{
|
||||||
|
logCountText.text = logEntry.count.ToString();
|
||||||
|
|
||||||
|
if( !logCountParent.activeSelf )
|
||||||
|
logCountParent.SetActive( true );
|
||||||
|
}
|
||||||
|
|
||||||
|
// Hide the collapsed count of the debug entry
|
||||||
|
public void HideCount()
|
||||||
|
{
|
||||||
|
if( logCountParent.activeSelf )
|
||||||
|
logCountParent.SetActive( false );
|
||||||
|
}
|
||||||
|
|
||||||
|
// Update the debug entry's displayed timestamp
|
||||||
|
public void UpdateTimestamp( DebugLogEntryTimestamp timestamp )
|
||||||
|
{
|
||||||
|
logEntryTimestamp = timestamp;
|
||||||
|
|
||||||
|
if( isExpanded || listView.manager.alwaysDisplayTimestamps )
|
||||||
|
SetText( logEntry, timestamp, isExpanded );
|
||||||
|
}
|
||||||
|
|
||||||
|
private void SetText( DebugLogEntry logEntry, DebugLogEntryTimestamp? logEntryTimestamp, bool isExpanded )
|
||||||
|
{
|
||||||
|
if( !logEntryTimestamp.HasValue || ( !isExpanded && !listView.manager.alwaysDisplayTimestamps ) )
|
||||||
|
logText.text = isExpanded ? logEntry.ToString() : logEntry.logString;
|
||||||
|
else
|
||||||
|
{
|
||||||
|
StringBuilder sb = listView.manager.sharedStringBuilder;
|
||||||
|
sb.Length = 0;
|
||||||
|
|
||||||
|
if( isExpanded )
|
||||||
|
{
|
||||||
|
logEntryTimestamp.Value.AppendFullTimestamp( sb );
|
||||||
|
sb.Append( ": " ).Append( logEntry.ToString() );
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
logEntryTimestamp.Value.AppendTime( sb );
|
||||||
|
sb.Append( " " ).Append( logEntry.logString );
|
||||||
|
}
|
||||||
|
|
||||||
|
logText.text = sb.ToString();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// This log item is clicked, show the debug entry's stack trace
|
||||||
|
public void OnPointerClick( PointerEventData eventData )
|
||||||
|
{
|
||||||
|
#if UNITY_EDITOR
|
||||||
|
if( eventData.button == PointerEventData.InputButton.Right )
|
||||||
|
{
|
||||||
|
Match regex = Regex.Match( logEntry.stackTrace, @"\(at .*\.cs:[0-9]+\)$", RegexOptions.Multiline );
|
||||||
|
if( regex.Success )
|
||||||
|
{
|
||||||
|
string line = logEntry.stackTrace.Substring( regex.Index + 4, regex.Length - 5 );
|
||||||
|
int lineSeparator = line.IndexOf( ':' );
|
||||||
|
MonoScript script = AssetDatabase.LoadAssetAtPath<MonoScript>( line.Substring( 0, lineSeparator ) );
|
||||||
|
if( script != null )
|
||||||
|
AssetDatabase.OpenAsset( script, int.Parse( line.Substring( lineSeparator + 1 ) ) );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
listView.OnLogItemClicked( this );
|
||||||
|
#else
|
||||||
|
listView.OnLogItemClicked( this );
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
public void CopyLog()
|
||||||
|
{
|
||||||
|
#if UNITY_EDITOR || !UNITY_WEBGL
|
||||||
|
string log = GetCopyContent();
|
||||||
|
if( string.IsNullOrEmpty( log ) )
|
||||||
|
return;
|
||||||
|
|
||||||
|
#if UNITY_EDITOR || UNITY_2018_1_OR_NEWER || ( !UNITY_ANDROID && !UNITY_IOS )
|
||||||
|
GUIUtility.systemCopyBuffer = log;
|
||||||
|
#elif UNITY_ANDROID
|
||||||
|
AJC.CallStatic( "CopyText", Context, log );
|
||||||
|
#elif UNITY_IOS
|
||||||
|
_DebugConsole_CopyText( log );
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
internal string GetCopyContent()
|
||||||
|
{
|
||||||
|
if( !logEntryTimestamp.HasValue )
|
||||||
|
return logEntry.ToString();
|
||||||
|
else
|
||||||
|
{
|
||||||
|
StringBuilder sb = listView.manager.sharedStringBuilder;
|
||||||
|
sb.Length = 0;
|
||||||
|
|
||||||
|
logEntryTimestamp.Value.AppendFullTimestamp( sb );
|
||||||
|
sb.Append( ": " ).Append( logEntry.ToString() );
|
||||||
|
|
||||||
|
return sb.ToString();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public float CalculateExpandedHeight( DebugLogEntry logEntry, DebugLogEntryTimestamp? logEntryTimestamp )
|
||||||
|
{
|
||||||
|
string text = logText.text;
|
||||||
|
HorizontalWrapMode wrapMode = logText.horizontalOverflow;
|
||||||
|
|
||||||
|
SetText( logEntry, logEntryTimestamp, true );
|
||||||
|
logText.horizontalOverflow = HorizontalWrapMode.Wrap;
|
||||||
|
|
||||||
|
float result = logText.preferredHeight + copyLogButtonHeight;
|
||||||
|
|
||||||
|
logText.text = text;
|
||||||
|
logText.horizontalOverflow = wrapMode;
|
||||||
|
|
||||||
|
return Mathf.Max( listView.ItemHeight, result );
|
||||||
|
}
|
||||||
|
|
||||||
|
// Return a string containing complete information about the debug entry
|
||||||
|
public override string ToString()
|
||||||
|
{
|
||||||
|
return logEntry.ToString();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,12 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d2ea291be9de70a4abfec595203c96c1
|
||||||
|
timeCreated: 1465919949
|
||||||
|
licenseType: Store
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,36 @@
|
||||||
|
#if !UNITY_EDITOR && UNITY_WEBGL
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.EventSystems;
|
||||||
|
|
||||||
|
namespace IngameDebugConsole
|
||||||
|
{
|
||||||
|
public class DebugLogItemCopyWebGL : MonoBehaviour, IPointerDownHandler, IPointerUpHandler
|
||||||
|
{
|
||||||
|
[DllImport( "__Internal" )]
|
||||||
|
private static extern void IngameDebugConsoleStartCopy( string textToCopy );
|
||||||
|
[DllImport( "__Internal" )]
|
||||||
|
private static extern void IngameDebugConsoleCancelCopy();
|
||||||
|
|
||||||
|
private DebugLogItem logItem;
|
||||||
|
|
||||||
|
public void Initialize( DebugLogItem logItem )
|
||||||
|
{
|
||||||
|
this.logItem = logItem;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void OnPointerDown( PointerEventData eventData )
|
||||||
|
{
|
||||||
|
string log = logItem.GetCopyContent();
|
||||||
|
if( !string.IsNullOrEmpty( log ) )
|
||||||
|
IngameDebugConsoleStartCopy( log );
|
||||||
|
}
|
||||||
|
|
||||||
|
public void OnPointerUp( PointerEventData eventData )
|
||||||
|
{
|
||||||
|
if( eventData.dragging )
|
||||||
|
IngameDebugConsoleCancelCopy();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif
|
|
@ -0,0 +1,11 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 5a7d9d894141e704d8160fb4632121ac
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,12 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 6a4f16ed905adcd4ab0d7c8c11f0d72c
|
||||||
|
timeCreated: 1522092746
|
||||||
|
licenseType: Store
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: -9869
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,281 @@
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
using UnityEngine.EventSystems;
|
||||||
|
using System.Collections;
|
||||||
|
#if UNITY_EDITOR && UNITY_2021_1_OR_NEWER
|
||||||
|
using Screen = UnityEngine.Device.Screen; // To support Device Simulator on Unity 2021.1+
|
||||||
|
#endif
|
||||||
|
|
||||||
|
// Manager class for the debug popup
|
||||||
|
namespace IngameDebugConsole
|
||||||
|
{
|
||||||
|
public class DebugLogPopup : MonoBehaviour, IPointerClickHandler, IBeginDragHandler, IDragHandler, IEndDragHandler
|
||||||
|
{
|
||||||
|
private RectTransform popupTransform;
|
||||||
|
|
||||||
|
// Dimensions of the popup divided by 2
|
||||||
|
private Vector2 halfSize;
|
||||||
|
|
||||||
|
// Background image that will change color to indicate an alert
|
||||||
|
private Image backgroundImage;
|
||||||
|
|
||||||
|
// Canvas group to modify visibility of the popup
|
||||||
|
private CanvasGroup canvasGroup;
|
||||||
|
|
||||||
|
#pragma warning disable 0649
|
||||||
|
[SerializeField]
|
||||||
|
private DebugLogManager debugManager;
|
||||||
|
|
||||||
|
[SerializeField]
|
||||||
|
private Text newInfoCountText;
|
||||||
|
[SerializeField]
|
||||||
|
private Text newWarningCountText;
|
||||||
|
[SerializeField]
|
||||||
|
private Text newErrorCountText;
|
||||||
|
|
||||||
|
[SerializeField]
|
||||||
|
private Color alertColorInfo;
|
||||||
|
[SerializeField]
|
||||||
|
private Color alertColorWarning;
|
||||||
|
[SerializeField]
|
||||||
|
private Color alertColorError;
|
||||||
|
#pragma warning restore 0649
|
||||||
|
|
||||||
|
// Number of new debug entries since the log window has been closed
|
||||||
|
private int newInfoCount = 0, newWarningCount = 0, newErrorCount = 0;
|
||||||
|
|
||||||
|
private Color normalColor;
|
||||||
|
|
||||||
|
private bool isPopupBeingDragged = false;
|
||||||
|
private Vector2 normalizedPosition;
|
||||||
|
|
||||||
|
// Coroutines for simple code-based animations
|
||||||
|
private IEnumerator moveToPosCoroutine = null;
|
||||||
|
|
||||||
|
public bool IsVisible { get; private set; }
|
||||||
|
|
||||||
|
private void Awake()
|
||||||
|
{
|
||||||
|
popupTransform = (RectTransform) transform;
|
||||||
|
backgroundImage = GetComponent<Image>();
|
||||||
|
canvasGroup = GetComponent<CanvasGroup>();
|
||||||
|
|
||||||
|
normalColor = backgroundImage.color;
|
||||||
|
|
||||||
|
halfSize = popupTransform.sizeDelta * 0.5f;
|
||||||
|
|
||||||
|
Vector2 pos = popupTransform.anchoredPosition;
|
||||||
|
if( pos.x != 0f || pos.y != 0f )
|
||||||
|
normalizedPosition = pos.normalized; // Respect the initial popup position set in the prefab
|
||||||
|
else
|
||||||
|
normalizedPosition = new Vector2( 0.5f, 0f ); // Right edge by default
|
||||||
|
}
|
||||||
|
|
||||||
|
public void NewLogsArrived( int newInfo, int newWarning, int newError )
|
||||||
|
{
|
||||||
|
if( newInfo > 0 )
|
||||||
|
{
|
||||||
|
newInfoCount += newInfo;
|
||||||
|
newInfoCountText.text = newInfoCount.ToString();
|
||||||
|
}
|
||||||
|
|
||||||
|
if( newWarning > 0 )
|
||||||
|
{
|
||||||
|
newWarningCount += newWarning;
|
||||||
|
newWarningCountText.text = newWarningCount.ToString();
|
||||||
|
}
|
||||||
|
|
||||||
|
if( newError > 0 )
|
||||||
|
{
|
||||||
|
newErrorCount += newError;
|
||||||
|
newErrorCountText.text = newErrorCount.ToString();
|
||||||
|
}
|
||||||
|
|
||||||
|
if( newErrorCount > 0 )
|
||||||
|
backgroundImage.color = alertColorError;
|
||||||
|
else if( newWarningCount > 0 )
|
||||||
|
backgroundImage.color = alertColorWarning;
|
||||||
|
else
|
||||||
|
backgroundImage.color = alertColorInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void ResetValues()
|
||||||
|
{
|
||||||
|
newInfoCount = 0;
|
||||||
|
newWarningCount = 0;
|
||||||
|
newErrorCount = 0;
|
||||||
|
|
||||||
|
newInfoCountText.text = "0";
|
||||||
|
newWarningCountText.text = "0";
|
||||||
|
newErrorCountText.text = "0";
|
||||||
|
|
||||||
|
backgroundImage.color = normalColor;
|
||||||
|
}
|
||||||
|
|
||||||
|
// A simple smooth movement animation
|
||||||
|
private IEnumerator MoveToPosAnimation( Vector2 targetPos )
|
||||||
|
{
|
||||||
|
float modifier = 0f;
|
||||||
|
Vector2 initialPos = popupTransform.anchoredPosition;
|
||||||
|
|
||||||
|
while( modifier < 1f )
|
||||||
|
{
|
||||||
|
modifier += 4f * Time.unscaledDeltaTime;
|
||||||
|
popupTransform.anchoredPosition = Vector2.Lerp( initialPos, targetPos, modifier );
|
||||||
|
|
||||||
|
yield return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Popup is clicked
|
||||||
|
public void OnPointerClick( PointerEventData data )
|
||||||
|
{
|
||||||
|
// Hide the popup and show the log window
|
||||||
|
if( !isPopupBeingDragged )
|
||||||
|
debugManager.ShowLogWindow();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Hides the log window and shows the popup
|
||||||
|
public void Show()
|
||||||
|
{
|
||||||
|
canvasGroup.blocksRaycasts = true;
|
||||||
|
canvasGroup.alpha = debugManager.popupOpacity;
|
||||||
|
IsVisible = true;
|
||||||
|
|
||||||
|
// Reset the counters
|
||||||
|
ResetValues();
|
||||||
|
|
||||||
|
// Update position in case resolution was changed while the popup was hidden
|
||||||
|
UpdatePosition( true );
|
||||||
|
}
|
||||||
|
|
||||||
|
// Hide the popup
|
||||||
|
public void Hide()
|
||||||
|
{
|
||||||
|
canvasGroup.blocksRaycasts = false;
|
||||||
|
canvasGroup.alpha = 0f;
|
||||||
|
|
||||||
|
IsVisible = false;
|
||||||
|
isPopupBeingDragged = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void OnBeginDrag( PointerEventData data )
|
||||||
|
{
|
||||||
|
isPopupBeingDragged = true;
|
||||||
|
|
||||||
|
// If a smooth movement animation is in progress, cancel it
|
||||||
|
if( moveToPosCoroutine != null )
|
||||||
|
{
|
||||||
|
StopCoroutine( moveToPosCoroutine );
|
||||||
|
moveToPosCoroutine = null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Reposition the popup
|
||||||
|
public void OnDrag( PointerEventData data )
|
||||||
|
{
|
||||||
|
Vector2 localPoint;
|
||||||
|
if( RectTransformUtility.ScreenPointToLocalPointInRectangle( debugManager.canvasTR, data.position, data.pressEventCamera, out localPoint ) )
|
||||||
|
popupTransform.anchoredPosition = localPoint;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Smoothly translate the popup to the nearest edge
|
||||||
|
public void OnEndDrag( PointerEventData data )
|
||||||
|
{
|
||||||
|
isPopupBeingDragged = false;
|
||||||
|
UpdatePosition( false );
|
||||||
|
}
|
||||||
|
|
||||||
|
// There are 2 different spaces used in these calculations:
|
||||||
|
// RectTransform space: raw anchoredPosition of the popup that's in range [-canvasSize/2, canvasSize/2]
|
||||||
|
// Safe area space: Screen.safeArea space that's in range [safeAreaBottomLeft, safeAreaTopRight] where these corner positions
|
||||||
|
// are all positive (calculated from bottom left corner of the screen instead of the center of the screen)
|
||||||
|
public void UpdatePosition( bool immediately )
|
||||||
|
{
|
||||||
|
Vector2 canvasRawSize = debugManager.canvasTR.rect.size;
|
||||||
|
|
||||||
|
// Calculate safe area bounds
|
||||||
|
float canvasWidth = canvasRawSize.x;
|
||||||
|
float canvasHeight = canvasRawSize.y;
|
||||||
|
|
||||||
|
float canvasBottomLeftX = 0f;
|
||||||
|
float canvasBottomLeftY = 0f;
|
||||||
|
|
||||||
|
if( debugManager.popupAvoidsScreenCutout )
|
||||||
|
{
|
||||||
|
#if UNITY_2017_2_OR_NEWER && ( UNITY_EDITOR || UNITY_ANDROID || UNITY_IOS )
|
||||||
|
Rect safeArea = Screen.safeArea;
|
||||||
|
|
||||||
|
int screenWidth = Screen.width;
|
||||||
|
int screenHeight = Screen.height;
|
||||||
|
|
||||||
|
canvasWidth *= safeArea.width / screenWidth;
|
||||||
|
canvasHeight *= safeArea.height / screenHeight;
|
||||||
|
|
||||||
|
canvasBottomLeftX = canvasRawSize.x * ( safeArea.x / screenWidth );
|
||||||
|
canvasBottomLeftY = canvasRawSize.y * ( safeArea.y / screenHeight );
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
// Calculate safe area position of the popup
|
||||||
|
// normalizedPosition allows us to glue the popup to a specific edge of the screen. It becomes useful when
|
||||||
|
// the popup is at the right edge and we switch from portrait screen orientation to landscape screen orientation.
|
||||||
|
// Without normalizedPosition, popup could jump to bottom or top edges instead of staying at the right edge
|
||||||
|
Vector2 pos = canvasRawSize * 0.5f + ( immediately ? new Vector2( normalizedPosition.x * canvasWidth, normalizedPosition.y * canvasHeight ) : ( popupTransform.anchoredPosition - new Vector2( canvasBottomLeftX, canvasBottomLeftY ) ) );
|
||||||
|
|
||||||
|
// Find distances to all four edges of the safe area
|
||||||
|
float distToLeft = pos.x;
|
||||||
|
float distToRight = canvasWidth - distToLeft;
|
||||||
|
|
||||||
|
float distToBottom = pos.y;
|
||||||
|
float distToTop = canvasHeight - distToBottom;
|
||||||
|
|
||||||
|
float horDistance = Mathf.Min( distToLeft, distToRight );
|
||||||
|
float vertDistance = Mathf.Min( distToBottom, distToTop );
|
||||||
|
|
||||||
|
// Find the nearest edge's safe area coordinates
|
||||||
|
if( horDistance < vertDistance )
|
||||||
|
{
|
||||||
|
if( distToLeft < distToRight )
|
||||||
|
pos = new Vector2( halfSize.x, pos.y );
|
||||||
|
else
|
||||||
|
pos = new Vector2( canvasWidth - halfSize.x, pos.y );
|
||||||
|
|
||||||
|
pos.y = Mathf.Clamp( pos.y, halfSize.y, canvasHeight - halfSize.y );
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if( distToBottom < distToTop )
|
||||||
|
pos = new Vector2( pos.x, halfSize.y );
|
||||||
|
else
|
||||||
|
pos = new Vector2( pos.x, canvasHeight - halfSize.y );
|
||||||
|
|
||||||
|
pos.x = Mathf.Clamp( pos.x, halfSize.x, canvasWidth - halfSize.x );
|
||||||
|
}
|
||||||
|
|
||||||
|
pos -= canvasRawSize * 0.5f;
|
||||||
|
|
||||||
|
normalizedPosition.Set( pos.x / canvasWidth, pos.y / canvasHeight );
|
||||||
|
|
||||||
|
// Safe area's bottom left coordinates are added to pos only after normalizedPosition's value
|
||||||
|
// is set because normalizedPosition is in range [-canvasWidth / 2, canvasWidth / 2]
|
||||||
|
pos += new Vector2( canvasBottomLeftX, canvasBottomLeftY );
|
||||||
|
|
||||||
|
// If another smooth movement animation is in progress, cancel it
|
||||||
|
if( moveToPosCoroutine != null )
|
||||||
|
{
|
||||||
|
StopCoroutine( moveToPosCoroutine );
|
||||||
|
moveToPosCoroutine = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
if( immediately )
|
||||||
|
popupTransform.anchoredPosition = pos;
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// Smoothly translate the popup to the specified position
|
||||||
|
moveToPosCoroutine = MoveToPosAnimation( pos );
|
||||||
|
StartCoroutine( moveToPosCoroutine );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,12 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 05cc4b1999716644c9308528e38e7081
|
||||||
|
timeCreated: 1466533184
|
||||||
|
licenseType: Store
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,430 @@
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
|
||||||
|
// Handles the log items in an optimized way such that existing log items are
|
||||||
|
// recycled within the list instead of creating a new log item at each chance
|
||||||
|
namespace IngameDebugConsole
|
||||||
|
{
|
||||||
|
public class DebugLogRecycledListView : MonoBehaviour
|
||||||
|
{
|
||||||
|
#pragma warning disable 0649
|
||||||
|
// Cached components
|
||||||
|
[SerializeField]
|
||||||
|
private RectTransform transformComponent;
|
||||||
|
[SerializeField]
|
||||||
|
private RectTransform viewportTransform;
|
||||||
|
|
||||||
|
[SerializeField]
|
||||||
|
private Color logItemNormalColor1;
|
||||||
|
[SerializeField]
|
||||||
|
private Color logItemNormalColor2;
|
||||||
|
[SerializeField]
|
||||||
|
private Color logItemSelectedColor;
|
||||||
|
#pragma warning restore 0649
|
||||||
|
|
||||||
|
internal DebugLogManager manager;
|
||||||
|
private ScrollRect scrollView;
|
||||||
|
|
||||||
|
private float logItemHeight;
|
||||||
|
|
||||||
|
private DynamicCircularBuffer<DebugLogEntry> entriesToShow = null;
|
||||||
|
private DynamicCircularBuffer<DebugLogEntryTimestamp> timestampsOfEntriesToShow = null;
|
||||||
|
|
||||||
|
private DebugLogEntry selectedLogEntry;
|
||||||
|
private int indexOfSelectedLogEntry = int.MaxValue;
|
||||||
|
private float heightOfSelectedLogEntry;
|
||||||
|
private float DeltaHeightOfSelectedLogEntry { get { return heightOfSelectedLogEntry - logItemHeight; } }
|
||||||
|
|
||||||
|
// Log items used to visualize the visible debug entries
|
||||||
|
private readonly DynamicCircularBuffer<DebugLogItem> visibleLogItems = new DynamicCircularBuffer<DebugLogItem>( 32 );
|
||||||
|
|
||||||
|
private bool isCollapseOn = false;
|
||||||
|
|
||||||
|
// Current indices of debug entries shown on screen
|
||||||
|
private int currentTopIndex = -1, currentBottomIndex = -1;
|
||||||
|
|
||||||
|
private System.Predicate<DebugLogItem> shouldRemoveLogItemPredicate;
|
||||||
|
private System.Action<DebugLogItem> poolLogItemAction;
|
||||||
|
|
||||||
|
public float ItemHeight { get { return logItemHeight; } }
|
||||||
|
public float SelectedItemHeight { get { return heightOfSelectedLogEntry; } }
|
||||||
|
|
||||||
|
private void Awake()
|
||||||
|
{
|
||||||
|
scrollView = viewportTransform.GetComponentInParent<ScrollRect>();
|
||||||
|
scrollView.onValueChanged.AddListener( ( pos ) =>
|
||||||
|
{
|
||||||
|
if( manager.IsLogWindowVisible )
|
||||||
|
UpdateItemsInTheList( false );
|
||||||
|
} );
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Initialize( DebugLogManager manager, DynamicCircularBuffer<DebugLogEntry> entriesToShow, DynamicCircularBuffer<DebugLogEntryTimestamp> timestampsOfEntriesToShow, float logItemHeight )
|
||||||
|
{
|
||||||
|
this.manager = manager;
|
||||||
|
this.entriesToShow = entriesToShow;
|
||||||
|
this.timestampsOfEntriesToShow = timestampsOfEntriesToShow;
|
||||||
|
this.logItemHeight = logItemHeight;
|
||||||
|
|
||||||
|
shouldRemoveLogItemPredicate = ShouldRemoveLogItem;
|
||||||
|
poolLogItemAction = manager.PoolLogItem;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void SetCollapseMode( bool collapse )
|
||||||
|
{
|
||||||
|
isCollapseOn = collapse;
|
||||||
|
}
|
||||||
|
|
||||||
|
// A log item is clicked, highlight it
|
||||||
|
public void OnLogItemClicked( DebugLogItem item )
|
||||||
|
{
|
||||||
|
OnLogItemClickedInternal( item.Index, item );
|
||||||
|
}
|
||||||
|
|
||||||
|
// Force expand the log item at specified index
|
||||||
|
public void SelectAndFocusOnLogItemAtIndex( int itemIndex )
|
||||||
|
{
|
||||||
|
if( indexOfSelectedLogEntry != itemIndex ) // Make sure that we aren't deselecting the target log item
|
||||||
|
OnLogItemClickedInternal( itemIndex );
|
||||||
|
|
||||||
|
float viewportHeight = viewportTransform.rect.height;
|
||||||
|
float transformComponentCenterYAtTop = viewportHeight * 0.5f;
|
||||||
|
float transformComponentCenterYAtBottom = transformComponent.sizeDelta.y - viewportHeight * 0.5f;
|
||||||
|
float transformComponentTargetCenterY = itemIndex * logItemHeight + viewportHeight * 0.5f;
|
||||||
|
if( transformComponentCenterYAtTop == transformComponentCenterYAtBottom )
|
||||||
|
scrollView.verticalNormalizedPosition = 0.5f;
|
||||||
|
else
|
||||||
|
scrollView.verticalNormalizedPosition = Mathf.Clamp01( Mathf.InverseLerp( transformComponentCenterYAtBottom, transformComponentCenterYAtTop, transformComponentTargetCenterY ) );
|
||||||
|
|
||||||
|
manager.SnapToBottom = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void OnLogItemClickedInternal( int itemIndex, DebugLogItem referenceItem = null )
|
||||||
|
{
|
||||||
|
int indexOfPreviouslySelectedLogEntry = indexOfSelectedLogEntry;
|
||||||
|
DeselectSelectedLogItem();
|
||||||
|
|
||||||
|
if( indexOfPreviouslySelectedLogEntry != itemIndex )
|
||||||
|
{
|
||||||
|
selectedLogEntry = entriesToShow[itemIndex];
|
||||||
|
indexOfSelectedLogEntry = itemIndex;
|
||||||
|
CalculateSelectedLogEntryHeight( referenceItem );
|
||||||
|
|
||||||
|
manager.SnapToBottom = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
CalculateContentHeight();
|
||||||
|
UpdateItemsInTheList( true );
|
||||||
|
|
||||||
|
manager.ValidateScrollPosition();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Deselect the currently selected log item
|
||||||
|
public void DeselectSelectedLogItem()
|
||||||
|
{
|
||||||
|
selectedLogEntry = null;
|
||||||
|
indexOfSelectedLogEntry = int.MaxValue;
|
||||||
|
heightOfSelectedLogEntry = 0f;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Number of debug entries may have changed, update the list
|
||||||
|
public void OnLogEntriesUpdated( bool updateAllVisibleItemContents )
|
||||||
|
{
|
||||||
|
CalculateContentHeight();
|
||||||
|
UpdateItemsInTheList( updateAllVisibleItemContents );
|
||||||
|
}
|
||||||
|
|
||||||
|
// A single collapsed log entry at specified index is updated, refresh its item if visible
|
||||||
|
public void OnCollapsedLogEntryAtIndexUpdated( int index )
|
||||||
|
{
|
||||||
|
if( index >= currentTopIndex && index <= currentBottomIndex )
|
||||||
|
{
|
||||||
|
DebugLogItem logItem = GetLogItemAtIndex( index );
|
||||||
|
logItem.ShowCount();
|
||||||
|
|
||||||
|
if( timestampsOfEntriesToShow != null )
|
||||||
|
logItem.UpdateTimestamp( timestampsOfEntriesToShow[index] );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void RefreshCollapsedLogEntryCounts()
|
||||||
|
{
|
||||||
|
for( int i = 0; i < visibleLogItems.Count; i++ )
|
||||||
|
visibleLogItems[i].ShowCount();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void OnLogEntriesRemoved( int removedLogCount )
|
||||||
|
{
|
||||||
|
if( selectedLogEntry != null )
|
||||||
|
{
|
||||||
|
bool isSelectedLogEntryRemoved = isCollapseOn ? ( selectedLogEntry.count == 0 ) : ( indexOfSelectedLogEntry < removedLogCount );
|
||||||
|
if( isSelectedLogEntryRemoved )
|
||||||
|
DeselectSelectedLogItem();
|
||||||
|
else
|
||||||
|
indexOfSelectedLogEntry = isCollapseOn ? FindIndexOfLogEntryInReverseDirection( selectedLogEntry, indexOfSelectedLogEntry ) : ( indexOfSelectedLogEntry - removedLogCount );
|
||||||
|
}
|
||||||
|
|
||||||
|
if( !manager.IsLogWindowVisible && manager.SnapToBottom )
|
||||||
|
{
|
||||||
|
// When log window becomes visible, it refreshes all logs. So unless snap to bottom is disabled, we don't need to
|
||||||
|
// keep track of either the scroll position or the visible log items' positions.
|
||||||
|
visibleLogItems.TrimStart( visibleLogItems.Count, poolLogItemAction );
|
||||||
|
}
|
||||||
|
else if( !isCollapseOn )
|
||||||
|
visibleLogItems.TrimStart( Mathf.Clamp( removedLogCount - currentTopIndex, 0, visibleLogItems.Count ), poolLogItemAction );
|
||||||
|
else
|
||||||
|
{
|
||||||
|
visibleLogItems.RemoveAll( shouldRemoveLogItemPredicate );
|
||||||
|
if( visibleLogItems.Count > 0 )
|
||||||
|
removedLogCount = currentTopIndex - FindIndexOfLogEntryInReverseDirection( visibleLogItems[0].Entry, visibleLogItems[0].Index );
|
||||||
|
}
|
||||||
|
|
||||||
|
if( visibleLogItems.Count == 0 )
|
||||||
|
{
|
||||||
|
currentTopIndex = -1;
|
||||||
|
|
||||||
|
if( !manager.SnapToBottom )
|
||||||
|
transformComponent.anchoredPosition = Vector2.zero;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
currentTopIndex = Mathf.Max( 0, currentTopIndex - removedLogCount );
|
||||||
|
currentBottomIndex = currentTopIndex + visibleLogItems.Count - 1;
|
||||||
|
|
||||||
|
float firstVisibleLogItemInitialYPos = visibleLogItems[0].Transform.anchoredPosition.y;
|
||||||
|
for( int i = 0; i < visibleLogItems.Count; i++ )
|
||||||
|
{
|
||||||
|
DebugLogItem logItem = visibleLogItems[i];
|
||||||
|
logItem.Index = currentTopIndex + i;
|
||||||
|
|
||||||
|
// If log window is visible, we need to manually refresh the visible items' visual properties. Otherwise, all log items will be refreshed when log window is opened
|
||||||
|
if( manager.IsLogWindowVisible )
|
||||||
|
{
|
||||||
|
RepositionLogItem( logItem );
|
||||||
|
ColorLogItem( logItem );
|
||||||
|
|
||||||
|
// Update collapsed count of the log items in collapsed mode
|
||||||
|
if( isCollapseOn )
|
||||||
|
logItem.ShowCount();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Shift the ScrollRect
|
||||||
|
if( !manager.SnapToBottom )
|
||||||
|
transformComponent.anchoredPosition = new Vector2( 0f, Mathf.Max( 0f, transformComponent.anchoredPosition.y - ( visibleLogItems[0].Transform.anchoredPosition.y - firstVisibleLogItemInitialYPos ) ) );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private bool ShouldRemoveLogItem( DebugLogItem logItem )
|
||||||
|
{
|
||||||
|
if( logItem.Entry.count == 0 )
|
||||||
|
{
|
||||||
|
poolLogItemAction( logItem );
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
private int FindIndexOfLogEntryInReverseDirection( DebugLogEntry logEntry, int startIndex )
|
||||||
|
{
|
||||||
|
for( int i = Mathf.Min( startIndex, entriesToShow.Count - 1 ); i >= 0; i-- )
|
||||||
|
{
|
||||||
|
if( entriesToShow[i] == logEntry )
|
||||||
|
return i;
|
||||||
|
}
|
||||||
|
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Log window's width has changed, update the expanded (currently selected) log's height
|
||||||
|
public void OnViewportWidthChanged()
|
||||||
|
{
|
||||||
|
if( indexOfSelectedLogEntry >= entriesToShow.Count )
|
||||||
|
return;
|
||||||
|
|
||||||
|
CalculateSelectedLogEntryHeight();
|
||||||
|
CalculateContentHeight();
|
||||||
|
UpdateItemsInTheList( true );
|
||||||
|
|
||||||
|
manager.ValidateScrollPosition();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Log window's height has changed, update the list
|
||||||
|
public void OnViewportHeightChanged()
|
||||||
|
{
|
||||||
|
UpdateItemsInTheList( false );
|
||||||
|
}
|
||||||
|
|
||||||
|
private void CalculateContentHeight()
|
||||||
|
{
|
||||||
|
float newHeight = Mathf.Max( 1f, entriesToShow.Count * logItemHeight );
|
||||||
|
if( selectedLogEntry != null )
|
||||||
|
newHeight += DeltaHeightOfSelectedLogEntry;
|
||||||
|
|
||||||
|
transformComponent.sizeDelta = new Vector2( 0f, newHeight );
|
||||||
|
}
|
||||||
|
|
||||||
|
private void CalculateSelectedLogEntryHeight( DebugLogItem referenceItem = null )
|
||||||
|
{
|
||||||
|
if( !referenceItem )
|
||||||
|
{
|
||||||
|
if( visibleLogItems.Count == 0 )
|
||||||
|
{
|
||||||
|
UpdateItemsInTheList( false ); // Try to generate some DebugLogItems, we need one DebugLogItem to calculate the text height
|
||||||
|
if( visibleLogItems.Count == 0 ) // No DebugLogItems are generated, weird
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
referenceItem = visibleLogItems[0];
|
||||||
|
}
|
||||||
|
|
||||||
|
heightOfSelectedLogEntry = referenceItem.CalculateExpandedHeight( selectedLogEntry, ( timestampsOfEntriesToShow != null ) ? timestampsOfEntriesToShow[indexOfSelectedLogEntry] : (DebugLogEntryTimestamp?) null );
|
||||||
|
}
|
||||||
|
|
||||||
|
// Calculate the indices of log entries to show
|
||||||
|
// and handle log items accordingly
|
||||||
|
private void UpdateItemsInTheList( bool updateAllVisibleItemContents )
|
||||||
|
{
|
||||||
|
if( entriesToShow.Count > 0 )
|
||||||
|
{
|
||||||
|
float contentPosTop = transformComponent.anchoredPosition.y - 1f;
|
||||||
|
float contentPosBottom = contentPosTop + viewportTransform.rect.height + 2f;
|
||||||
|
float positionOfSelectedLogEntry = indexOfSelectedLogEntry * logItemHeight;
|
||||||
|
|
||||||
|
if( positionOfSelectedLogEntry <= contentPosBottom )
|
||||||
|
{
|
||||||
|
if( positionOfSelectedLogEntry <= contentPosTop )
|
||||||
|
{
|
||||||
|
contentPosTop = Mathf.Max( contentPosTop - DeltaHeightOfSelectedLogEntry, positionOfSelectedLogEntry - 1f );
|
||||||
|
contentPosBottom = Mathf.Max( contentPosBottom - DeltaHeightOfSelectedLogEntry, contentPosTop + 2f );
|
||||||
|
}
|
||||||
|
else
|
||||||
|
contentPosBottom = Mathf.Max( contentPosBottom - DeltaHeightOfSelectedLogEntry, positionOfSelectedLogEntry + 1f );
|
||||||
|
}
|
||||||
|
|
||||||
|
int newBottomIndex = Mathf.Min( (int) ( contentPosBottom / logItemHeight ), entriesToShow.Count - 1 );
|
||||||
|
int newTopIndex = Mathf.Clamp( (int) ( contentPosTop / logItemHeight ), 0, newBottomIndex );
|
||||||
|
|
||||||
|
if( currentTopIndex == -1 )
|
||||||
|
{
|
||||||
|
// There are no log items visible on screen,
|
||||||
|
// just create the new log items
|
||||||
|
updateAllVisibleItemContents = true;
|
||||||
|
for( int i = 0, count = newBottomIndex - newTopIndex + 1; i < count; i++ )
|
||||||
|
visibleLogItems.Add( manager.PopLogItem() );
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// There are some log items visible on screen
|
||||||
|
|
||||||
|
if( newBottomIndex < currentTopIndex || newTopIndex > currentBottomIndex )
|
||||||
|
{
|
||||||
|
// If user scrolled a lot such that, none of the log items are now within
|
||||||
|
// the bounds of the scroll view, pool all the previous log items and create
|
||||||
|
// new log items for the new list of visible debug entries
|
||||||
|
updateAllVisibleItemContents = true;
|
||||||
|
|
||||||
|
visibleLogItems.TrimStart( visibleLogItems.Count, poolLogItemAction );
|
||||||
|
for( int i = 0, count = newBottomIndex - newTopIndex + 1; i < count; i++ )
|
||||||
|
visibleLogItems.Add( manager.PopLogItem() );
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// User did not scroll a lot such that, there are still some log items within
|
||||||
|
// the bounds of the scroll view. Don't destroy them but update their content,
|
||||||
|
// if necessary
|
||||||
|
if( newTopIndex > currentTopIndex )
|
||||||
|
visibleLogItems.TrimStart( newTopIndex - currentTopIndex, poolLogItemAction );
|
||||||
|
|
||||||
|
if( newBottomIndex < currentBottomIndex )
|
||||||
|
visibleLogItems.TrimEnd( currentBottomIndex - newBottomIndex, poolLogItemAction );
|
||||||
|
|
||||||
|
if( newTopIndex < currentTopIndex )
|
||||||
|
{
|
||||||
|
for( int i = 0, count = currentTopIndex - newTopIndex; i < count; i++ )
|
||||||
|
visibleLogItems.AddFirst( manager.PopLogItem() );
|
||||||
|
|
||||||
|
// If it is not necessary to update all the log items,
|
||||||
|
// then just update the newly created log items. Otherwise,
|
||||||
|
// wait for the major update
|
||||||
|
if( !updateAllVisibleItemContents )
|
||||||
|
UpdateLogItemContentsBetweenIndices( newTopIndex, currentTopIndex - 1, newTopIndex );
|
||||||
|
}
|
||||||
|
|
||||||
|
if( newBottomIndex > currentBottomIndex )
|
||||||
|
{
|
||||||
|
for( int i = 0, count = newBottomIndex - currentBottomIndex; i < count; i++ )
|
||||||
|
visibleLogItems.Add( manager.PopLogItem() );
|
||||||
|
|
||||||
|
// If it is not necessary to update all the log items,
|
||||||
|
// then just update the newly created log items. Otherwise,
|
||||||
|
// wait for the major update
|
||||||
|
if( !updateAllVisibleItemContents )
|
||||||
|
UpdateLogItemContentsBetweenIndices( currentBottomIndex + 1, newBottomIndex, newTopIndex );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
currentTopIndex = newTopIndex;
|
||||||
|
currentBottomIndex = newBottomIndex;
|
||||||
|
|
||||||
|
if( updateAllVisibleItemContents )
|
||||||
|
{
|
||||||
|
// Update all the log items
|
||||||
|
UpdateLogItemContentsBetweenIndices( currentTopIndex, currentBottomIndex, newTopIndex );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if( currentTopIndex != -1 )
|
||||||
|
{
|
||||||
|
// There is nothing to show but some log items are still visible; pool them
|
||||||
|
visibleLogItems.TrimStart( visibleLogItems.Count, poolLogItemAction );
|
||||||
|
currentTopIndex = -1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private DebugLogItem GetLogItemAtIndex( int index )
|
||||||
|
{
|
||||||
|
return visibleLogItems[index - currentTopIndex];
|
||||||
|
}
|
||||||
|
|
||||||
|
private void UpdateLogItemContentsBetweenIndices( int topIndex, int bottomIndex, int logItemOffset )
|
||||||
|
{
|
||||||
|
for( int i = topIndex; i <= bottomIndex; i++ )
|
||||||
|
{
|
||||||
|
DebugLogItem logItem = visibleLogItems[i - logItemOffset];
|
||||||
|
logItem.SetContent( entriesToShow[i], ( timestampsOfEntriesToShow != null ) ? timestampsOfEntriesToShow[i] : (DebugLogEntryTimestamp?) null, i, i == indexOfSelectedLogEntry );
|
||||||
|
|
||||||
|
RepositionLogItem( logItem );
|
||||||
|
ColorLogItem( logItem );
|
||||||
|
|
||||||
|
if( isCollapseOn )
|
||||||
|
logItem.ShowCount();
|
||||||
|
else
|
||||||
|
logItem.HideCount();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void RepositionLogItem( DebugLogItem logItem )
|
||||||
|
{
|
||||||
|
int index = logItem.Index;
|
||||||
|
Vector2 anchoredPosition = new Vector2( 1f, -index * logItemHeight );
|
||||||
|
if( index > indexOfSelectedLogEntry )
|
||||||
|
anchoredPosition.y -= DeltaHeightOfSelectedLogEntry;
|
||||||
|
|
||||||
|
logItem.Transform.anchoredPosition = anchoredPosition;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void ColorLogItem( DebugLogItem logItem )
|
||||||
|
{
|
||||||
|
int index = logItem.Index;
|
||||||
|
if( index == indexOfSelectedLogEntry )
|
||||||
|
logItem.Image.color = logItemSelectedColor;
|
||||||
|
else if( index % 2 == 0 )
|
||||||
|
logItem.Image.color = logItemNormalColor1;
|
||||||
|
else
|
||||||
|
logItem.Image.color = logItemNormalColor2;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,12 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: ce231987d32488f43b6fb798f7df43f6
|
||||||
|
timeCreated: 1466373025
|
||||||
|
licenseType: Store
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,24 @@
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.EventSystems;
|
||||||
|
|
||||||
|
// Listens to drag event on the DebugLogManager's resize button
|
||||||
|
namespace IngameDebugConsole
|
||||||
|
{
|
||||||
|
public class DebugLogResizeListener : MonoBehaviour, IBeginDragHandler, IDragHandler
|
||||||
|
{
|
||||||
|
#pragma warning disable 0649
|
||||||
|
[SerializeField]
|
||||||
|
private DebugLogManager debugManager;
|
||||||
|
#pragma warning restore 0649
|
||||||
|
|
||||||
|
// This interface must be implemented in order to receive drag events
|
||||||
|
void IBeginDragHandler.OnBeginDrag( PointerEventData eventData )
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
void IDragHandler.OnDrag( PointerEventData eventData )
|
||||||
|
{
|
||||||
|
debugManager.Resize( eventData );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,12 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 6565f2084f5aef44abe57c988745b9c3
|
||||||
|
timeCreated: 1601221093
|
||||||
|
licenseType: Store
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,47 @@
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
using UnityEngine.EventSystems;
|
||||||
|
|
||||||
|
// Listens to scroll events on the scroll rect that debug items are stored
|
||||||
|
// and decides whether snap to bottom should be true or not
|
||||||
|
//
|
||||||
|
// Procedure: if, after a user input (drag or scroll), scrollbar is at the bottom, then
|
||||||
|
// snap to bottom shall be true, otherwise it shall be false
|
||||||
|
namespace IngameDebugConsole
|
||||||
|
{
|
||||||
|
public class DebugsOnScrollListener : MonoBehaviour, IScrollHandler, IBeginDragHandler, IEndDragHandler
|
||||||
|
{
|
||||||
|
public ScrollRect debugsScrollRect;
|
||||||
|
public DebugLogManager debugLogManager;
|
||||||
|
|
||||||
|
public void OnScroll( PointerEventData data )
|
||||||
|
{
|
||||||
|
debugLogManager.SnapToBottom = IsScrollbarAtBottom();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void OnBeginDrag( PointerEventData data )
|
||||||
|
{
|
||||||
|
debugLogManager.SnapToBottom = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void OnEndDrag( PointerEventData data )
|
||||||
|
{
|
||||||
|
debugLogManager.SnapToBottom = IsScrollbarAtBottom();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void OnScrollbarDragStart( BaseEventData data )
|
||||||
|
{
|
||||||
|
debugLogManager.SnapToBottom = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void OnScrollbarDragEnd( BaseEventData data )
|
||||||
|
{
|
||||||
|
debugLogManager.SnapToBottom = IsScrollbarAtBottom();
|
||||||
|
}
|
||||||
|
|
||||||
|
private bool IsScrollbarAtBottom()
|
||||||
|
{
|
||||||
|
return debugsScrollRect.verticalNormalizedPosition <= 1E-6f;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,12 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: cb564dcb180e586429c57456166a76b5
|
||||||
|
timeCreated: 1466004663
|
||||||
|
licenseType: Store
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,75 @@
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.EventSystems;
|
||||||
|
using UnityEngine.SceneManagement;
|
||||||
|
#if ENABLE_INPUT_SYSTEM && !ENABLE_LEGACY_INPUT_MANAGER
|
||||||
|
using UnityEngine.InputSystem.UI;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
namespace IngameDebugConsole
|
||||||
|
{
|
||||||
|
// Avoid multiple EventSystems in the scene by activating the embedded EventSystem only if one doesn't already exist in the scene
|
||||||
|
[DefaultExecutionOrder( 1000 )]
|
||||||
|
public class EventSystemHandler : MonoBehaviour
|
||||||
|
{
|
||||||
|
#pragma warning disable 0649
|
||||||
|
[SerializeField]
|
||||||
|
private GameObject embeddedEventSystem;
|
||||||
|
#pragma warning restore 0649
|
||||||
|
|
||||||
|
#if ENABLE_INPUT_SYSTEM && !ENABLE_LEGACY_INPUT_MANAGER
|
||||||
|
private void Awake()
|
||||||
|
{
|
||||||
|
StandaloneInputModule legacyInputModule = embeddedEventSystem.GetComponent<StandaloneInputModule>();
|
||||||
|
if( legacyInputModule )
|
||||||
|
{
|
||||||
|
DestroyImmediate( legacyInputModule );
|
||||||
|
embeddedEventSystem.AddComponent<InputSystemUIInputModule>();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
private void OnEnable()
|
||||||
|
{
|
||||||
|
SceneManager.sceneLoaded -= OnSceneLoaded;
|
||||||
|
SceneManager.sceneLoaded += OnSceneLoaded;
|
||||||
|
SceneManager.sceneUnloaded -= OnSceneUnloaded;
|
||||||
|
SceneManager.sceneUnloaded += OnSceneUnloaded;
|
||||||
|
|
||||||
|
ActivateEventSystemIfNeeded();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void OnDisable()
|
||||||
|
{
|
||||||
|
SceneManager.sceneLoaded -= OnSceneLoaded;
|
||||||
|
SceneManager.sceneUnloaded -= OnSceneUnloaded;
|
||||||
|
|
||||||
|
DeactivateEventSystem();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void OnSceneLoaded( Scene scene, LoadSceneMode mode )
|
||||||
|
{
|
||||||
|
#if UNITY_2017_2_OR_NEWER
|
||||||
|
DeactivateEventSystem();
|
||||||
|
#endif
|
||||||
|
ActivateEventSystemIfNeeded();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void OnSceneUnloaded( Scene current )
|
||||||
|
{
|
||||||
|
// Deactivate the embedded EventSystem before changing scenes because the new scene might have its own EventSystem
|
||||||
|
DeactivateEventSystem();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void ActivateEventSystemIfNeeded()
|
||||||
|
{
|
||||||
|
if( embeddedEventSystem && !EventSystem.current )
|
||||||
|
embeddedEventSystem.SetActive( true );
|
||||||
|
}
|
||||||
|
|
||||||
|
private void DeactivateEventSystem()
|
||||||
|
{
|
||||||
|
if( embeddedEventSystem )
|
||||||
|
embeddedEventSystem.SetActive( false );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,12 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: c3cc1b407f337e641ad32a2e91d5b478
|
||||||
|
timeCreated: 1658741613
|
||||||
|
licenseType: Store
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,29 @@
|
||||||
|
using System.Reflection;
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
|
||||||
|
namespace IngameDebugConsole
|
||||||
|
{
|
||||||
|
// Fixes: https://github.com/yasirkula/UnityIngameDebugConsole/issues/77
|
||||||
|
// This was caused by Canvas.ForceUpdateCanvases in InputField.UpdateLabel (added in 2022.1 to resolve another bug: https://issuetracker.unity3d.com/issues/input-fields-width-doesnt-change-after-entering-specific-combinations-of-text-when-the-content-size-fitter-is-used)
|
||||||
|
// which is triggered from InputField.OnValidate. UpdateLabel isn't invoked if a variable called m_PreventFontCallback is true,
|
||||||
|
// which is what this component is doing: temporarily switching that variable before InputField.OnValidate to avoid this issue.
|
||||||
|
#if UNITY_2022_1_OR_NEWER && UNITY_EDITOR
|
||||||
|
[DefaultExecutionOrder( -50 )]
|
||||||
|
#endif
|
||||||
|
public class InputFieldWarningsFixer : MonoBehaviour
|
||||||
|
{
|
||||||
|
#if UNITY_2022_1_OR_NEWER && UNITY_EDITOR
|
||||||
|
private static readonly FieldInfo preventFontCallback = typeof( InputField ).GetField( "m_PreventFontCallback", BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance );
|
||||||
|
|
||||||
|
protected void OnValidate()
|
||||||
|
{
|
||||||
|
if( preventFontCallback != null && TryGetComponent( out InputField inputField ) )
|
||||||
|
{
|
||||||
|
preventFontCallback.SetValue( inputField, true );
|
||||||
|
UnityEditor.EditorApplication.delayCall += () => preventFontCallback.SetValue( inputField, false );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,12 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 049982f63fd78c042851caecd952f3f4
|
||||||
|
timeCreated: 1701609854
|
||||||
|
licenseType: Store
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,9 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: cb5d7b23a9e684a41a6a5d4f300eb1e6
|
||||||
|
folderAsset: yes
|
||||||
|
timeCreated: 1465925237
|
||||||
|
licenseType: Store
|
||||||
|
DefaultImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
Binary file not shown.
|
@ -0,0 +1,128 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 7a9e374666ad6cc47807bb001844f3d8
|
||||||
|
TextureImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 11
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 0
|
||||||
|
sRGBTexture: 1
|
||||||
|
linearTexture: 0
|
||||||
|
fadeOut: 0
|
||||||
|
borderMipMap: 0
|
||||||
|
mipMapsPreserveCoverage: 0
|
||||||
|
alphaTestReferenceValue: 0.5
|
||||||
|
mipMapFadeDistanceStart: 1
|
||||||
|
mipMapFadeDistanceEnd: 3
|
||||||
|
bumpmap:
|
||||||
|
convertToNormalMap: 0
|
||||||
|
externalNormalMap: 0
|
||||||
|
heightScale: 0.25
|
||||||
|
normalMapFilter: 0
|
||||||
|
isReadable: 0
|
||||||
|
streamingMipmaps: 0
|
||||||
|
streamingMipmapsPriority: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 6
|
||||||
|
cubemapConvolution: 0
|
||||||
|
seamlessCubemap: 0
|
||||||
|
textureFormat: 5
|
||||||
|
maxTextureSize: 32
|
||||||
|
textureSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
filterMode: 1
|
||||||
|
aniso: 16
|
||||||
|
mipBias: -100
|
||||||
|
wrapU: 1
|
||||||
|
wrapV: 1
|
||||||
|
wrapW: 1
|
||||||
|
nPOTScale: 0
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
spriteMode: 1
|
||||||
|
spriteExtrude: 1
|
||||||
|
spriteMeshType: 1
|
||||||
|
alignment: 0
|
||||||
|
spritePivot: {x: 0.5, y: 0.5}
|
||||||
|
spritePixelsToUnits: 100
|
||||||
|
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
spriteGenerateFallbackPhysicsShape: 1
|
||||||
|
alphaUsage: 1
|
||||||
|
alphaIsTransparency: 1
|
||||||
|
spriteTessellationDetail: -1
|
||||||
|
textureType: 8
|
||||||
|
textureShape: 1
|
||||||
|
singleChannelComponent: 0
|
||||||
|
maxTextureSizeSet: 0
|
||||||
|
compressionQualitySet: 0
|
||||||
|
textureFormatSet: 0
|
||||||
|
applyGammaDecoding: 1
|
||||||
|
platformSettings:
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: DefaultTexturePlatform
|
||||||
|
maxTextureSize: 32
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: Standalone
|
||||||
|
maxTextureSize: 32
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: Android
|
||||||
|
maxTextureSize: 32
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: WebGL
|
||||||
|
maxTextureSize: 32
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites: []
|
||||||
|
outline: []
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID: 5e97eb03825dee720800000000000000
|
||||||
|
internalID: 0
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
secondaryTextures: []
|
||||||
|
spritePackingTag: DebugLogUI
|
||||||
|
pSDRemoveMatte: 1
|
||||||
|
pSDShowRemoveMatteOption: 1
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
Binary file not shown.
|
@ -0,0 +1,92 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d1546f8db185caf4dafcfa58efa3ba2c
|
||||||
|
TextureImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 11
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 0
|
||||||
|
sRGBTexture: 1
|
||||||
|
linearTexture: 0
|
||||||
|
fadeOut: 0
|
||||||
|
borderMipMap: 0
|
||||||
|
mipMapsPreserveCoverage: 0
|
||||||
|
alphaTestReferenceValue: 0.5
|
||||||
|
mipMapFadeDistanceStart: 1
|
||||||
|
mipMapFadeDistanceEnd: 3
|
||||||
|
bumpmap:
|
||||||
|
convertToNormalMap: 0
|
||||||
|
externalNormalMap: 0
|
||||||
|
heightScale: 0.25
|
||||||
|
normalMapFilter: 0
|
||||||
|
isReadable: 0
|
||||||
|
streamingMipmaps: 0
|
||||||
|
streamingMipmapsPriority: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 6
|
||||||
|
cubemapConvolution: 0
|
||||||
|
seamlessCubemap: 0
|
||||||
|
textureFormat: 5
|
||||||
|
maxTextureSize: 32
|
||||||
|
textureSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
filterMode: 1
|
||||||
|
aniso: 16
|
||||||
|
mipBias: -100
|
||||||
|
wrapU: 1
|
||||||
|
wrapV: 1
|
||||||
|
wrapW: 1
|
||||||
|
nPOTScale: 0
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
spriteMode: 1
|
||||||
|
spriteExtrude: 1
|
||||||
|
spriteMeshType: 1
|
||||||
|
alignment: 0
|
||||||
|
spritePivot: {x: 0.5, y: 0.5}
|
||||||
|
spritePixelsToUnits: 100
|
||||||
|
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
spriteGenerateFallbackPhysicsShape: 1
|
||||||
|
alphaUsage: 1
|
||||||
|
alphaIsTransparency: 1
|
||||||
|
spriteTessellationDetail: -1
|
||||||
|
textureType: 8
|
||||||
|
textureShape: 1
|
||||||
|
singleChannelComponent: 0
|
||||||
|
maxTextureSizeSet: 0
|
||||||
|
compressionQualitySet: 0
|
||||||
|
textureFormatSet: 0
|
||||||
|
applyGammaDecoding: 1
|
||||||
|
platformSettings:
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: DefaultTexturePlatform
|
||||||
|
maxTextureSize: 32
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites: []
|
||||||
|
outline: []
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID: 5e97eb03825dee720800000000000000
|
||||||
|
internalID: 0
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
secondaryTextures: []
|
||||||
|
spritePackingTag: DebugLogUI
|
||||||
|
pSDRemoveMatte: 1
|
||||||
|
pSDShowRemoveMatteOption: 1
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue