chore(): 删除所有冗余的代码和资源
This commit is contained in:
@@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: a1a584ba640fdf947811fd883b9f93ce
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@@ -1,133 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!21 &2100000
|
|
||||||
Material:
|
|
||||||
serializedVersion: 8
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_Name: Card
|
|
||||||
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
|
|
||||||
m_Parent: {fileID: 0}
|
|
||||||
m_ModifiedSerializedProperties: 0
|
|
||||||
m_ValidKeywords: []
|
|
||||||
m_InvalidKeywords: []
|
|
||||||
m_LightmapFlags: 4
|
|
||||||
m_EnableInstancingVariants: 0
|
|
||||||
m_DoubleSidedGI: 0
|
|
||||||
m_CustomRenderQueue: -1
|
|
||||||
stringTagMap:
|
|
||||||
RenderType: Opaque
|
|
||||||
disabledShaderPasses: []
|
|
||||||
m_LockedProperties:
|
|
||||||
m_SavedProperties:
|
|
||||||
serializedVersion: 3
|
|
||||||
m_TexEnvs:
|
|
||||||
- _BaseMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _BumpMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _DetailAlbedoMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _DetailMask:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _DetailNormalMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _EmissionMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _MainTex:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _MetallicGlossMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _OcclusionMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _ParallaxMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _SpecGlossMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- unity_Lightmaps:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- unity_LightmapsInd:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- unity_ShadowMasks:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
m_Ints: []
|
|
||||||
m_Floats:
|
|
||||||
- _AlphaClip: 0
|
|
||||||
- _AlphaToMask: 0
|
|
||||||
- _Blend: 0
|
|
||||||
- _BlendModePreserveSpecular: 1
|
|
||||||
- _BumpScale: 1
|
|
||||||
- _ClearCoatMask: 0
|
|
||||||
- _ClearCoatSmoothness: 0
|
|
||||||
- _Cull: 2
|
|
||||||
- _Cutoff: 0.5
|
|
||||||
- _DetailAlbedoMapScale: 1
|
|
||||||
- _DetailNormalMapScale: 1
|
|
||||||
- _DstBlend: 0
|
|
||||||
- _DstBlendAlpha: 0
|
|
||||||
- _EnvironmentReflections: 1
|
|
||||||
- _GlossMapScale: 0
|
|
||||||
- _Glossiness: 0
|
|
||||||
- _GlossyReflections: 0
|
|
||||||
- _Metallic: 0
|
|
||||||
- _OcclusionStrength: 1
|
|
||||||
- _Parallax: 0.005
|
|
||||||
- _QueueOffset: 0
|
|
||||||
- _ReceiveShadows: 1
|
|
||||||
- _Smoothness: 0.5
|
|
||||||
- _SmoothnessTextureChannel: 0
|
|
||||||
- _SpecularHighlights: 1
|
|
||||||
- _SrcBlend: 1
|
|
||||||
- _SrcBlendAlpha: 1
|
|
||||||
- _Surface: 0
|
|
||||||
- _WorkflowMode: 1
|
|
||||||
- _ZWrite: 1
|
|
||||||
m_Colors:
|
|
||||||
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
|
||||||
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
|
|
||||||
m_BuildTextureStacks: []
|
|
||||||
--- !u!114 &2981149668802641548
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 11
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 0}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
version: 7
|
|
@@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 9eca9c0d200107c47a44ce474d55d622
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 2100000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@@ -1,135 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!114 &-601912231420489210
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 11
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 0}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
version: 7
|
|
||||||
--- !u!21 &2100000
|
|
||||||
Material:
|
|
||||||
serializedVersion: 8
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_Name: Line
|
|
||||||
m_Shader: {fileID: 4800000, guid: 650dd9526735d5b46b79224bc6e94025, type: 3}
|
|
||||||
m_Parent: {fileID: 0}
|
|
||||||
m_ModifiedSerializedProperties: 0
|
|
||||||
m_ValidKeywords: []
|
|
||||||
m_InvalidKeywords: []
|
|
||||||
m_LightmapFlags: 4
|
|
||||||
m_EnableInstancingVariants: 0
|
|
||||||
m_DoubleSidedGI: 0
|
|
||||||
m_CustomRenderQueue: -1
|
|
||||||
stringTagMap:
|
|
||||||
RenderType: Opaque
|
|
||||||
disabledShaderPasses: []
|
|
||||||
m_LockedProperties:
|
|
||||||
m_SavedProperties:
|
|
||||||
serializedVersion: 3
|
|
||||||
m_TexEnvs:
|
|
||||||
- _BaseMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _BumpMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _DetailAlbedoMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _DetailMask:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _DetailNormalMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _EmissionMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _MainTex:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _MetallicGlossMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _OcclusionMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _ParallaxMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- _SpecGlossMap:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- unity_Lightmaps:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- unity_LightmapsInd:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- unity_ShadowMasks:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
m_Ints: []
|
|
||||||
m_Floats:
|
|
||||||
- _AlphaClip: 0
|
|
||||||
- _AlphaToMask: 0
|
|
||||||
- _Blend: 0
|
|
||||||
- _BlendModePreserveSpecular: 1
|
|
||||||
- _BlendOp: 0
|
|
||||||
- _BumpScale: 1
|
|
||||||
- _ClearCoatMask: 0
|
|
||||||
- _ClearCoatSmoothness: 0
|
|
||||||
- _Cull: 2
|
|
||||||
- _Cutoff: 0.5
|
|
||||||
- _DetailAlbedoMapScale: 1
|
|
||||||
- _DetailNormalMapScale: 1
|
|
||||||
- _DstBlend: 0
|
|
||||||
- _DstBlendAlpha: 0
|
|
||||||
- _EnvironmentReflections: 1
|
|
||||||
- _GlossMapScale: 0
|
|
||||||
- _Glossiness: 0
|
|
||||||
- _GlossyReflections: 0
|
|
||||||
- _Metallic: 0
|
|
||||||
- _OcclusionStrength: 1
|
|
||||||
- _Parallax: 0.005
|
|
||||||
- _QueueOffset: 0
|
|
||||||
- _ReceiveShadows: 1
|
|
||||||
- _SampleGI: 0
|
|
||||||
- _Smoothness: 0.5
|
|
||||||
- _SmoothnessTextureChannel: 0
|
|
||||||
- _SpecularHighlights: 1
|
|
||||||
- _SrcBlend: 1
|
|
||||||
- _SrcBlendAlpha: 1
|
|
||||||
- _Surface: 0
|
|
||||||
- _WorkflowMode: 1
|
|
||||||
- _ZWrite: 1
|
|
||||||
m_Colors:
|
|
||||||
- _BaseColor: {r: 0.832884, g: 0.18065912, b: 0.10663608, a: 1}
|
|
||||||
- _Color: {r: 0.832884, g: 0.18065909, b: 0.106636055, a: 1}
|
|
||||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
|
||||||
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
|
|
||||||
m_BuildTextureStacks: []
|
|
@@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: fd7b6ef1c8d01724683c1f9dc2114f9e
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 2100000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
Binary file not shown.
@@ -1,109 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 385fcf3412d956c4ab650555ee5f584d
|
|
||||||
ModelImporter:
|
|
||||||
serializedVersion: 22200
|
|
||||||
internalIDToNameTable: []
|
|
||||||
externalObjects: {}
|
|
||||||
materials:
|
|
||||||
materialImportMode: 2
|
|
||||||
materialName: 0
|
|
||||||
materialSearch: 1
|
|
||||||
materialLocation: 1
|
|
||||||
animations:
|
|
||||||
legacyGenerateAnimations: 4
|
|
||||||
bakeSimulation: 0
|
|
||||||
resampleCurves: 1
|
|
||||||
optimizeGameObjects: 0
|
|
||||||
removeConstantScaleCurves: 0
|
|
||||||
motionNodeName:
|
|
||||||
rigImportErrors:
|
|
||||||
rigImportWarnings:
|
|
||||||
animationImportErrors:
|
|
||||||
animationImportWarnings:
|
|
||||||
animationRetargetingWarnings:
|
|
||||||
animationDoRetargetingWarnings: 0
|
|
||||||
importAnimatedCustomProperties: 0
|
|
||||||
importConstraints: 0
|
|
||||||
animationCompression: 1
|
|
||||||
animationRotationError: 0.5
|
|
||||||
animationPositionError: 0.5
|
|
||||||
animationScaleError: 0.5
|
|
||||||
animationWrapMode: 0
|
|
||||||
extraExposedTransformPaths: []
|
|
||||||
extraUserProperties: []
|
|
||||||
clipAnimations: []
|
|
||||||
isReadable: 0
|
|
||||||
meshes:
|
|
||||||
lODScreenPercentages: []
|
|
||||||
globalScale: 1
|
|
||||||
meshCompression: 0
|
|
||||||
addColliders: 0
|
|
||||||
useSRGBMaterialColor: 1
|
|
||||||
sortHierarchyByName: 1
|
|
||||||
importPhysicalCameras: 1
|
|
||||||
importVisibility: 1
|
|
||||||
importBlendShapes: 1
|
|
||||||
importCameras: 1
|
|
||||||
importLights: 1
|
|
||||||
nodeNameCollisionStrategy: 1
|
|
||||||
fileIdsGeneration: 2
|
|
||||||
swapUVChannels: 0
|
|
||||||
generateSecondaryUV: 0
|
|
||||||
useFileUnits: 1
|
|
||||||
keepQuads: 0
|
|
||||||
weldVertices: 1
|
|
||||||
bakeAxisConversion: 0
|
|
||||||
preserveHierarchy: 0
|
|
||||||
skinWeightsMode: 0
|
|
||||||
maxBonesPerVertex: 4
|
|
||||||
minBoneWeight: 0.001
|
|
||||||
optimizeBones: 1
|
|
||||||
meshOptimizationFlags: -1
|
|
||||||
indexFormat: 0
|
|
||||||
secondaryUVAngleDistortion: 8
|
|
||||||
secondaryUVAreaDistortion: 15.000001
|
|
||||||
secondaryUVHardAngle: 88
|
|
||||||
secondaryUVMarginMethod: 1
|
|
||||||
secondaryUVMinLightmapResolution: 40
|
|
||||||
secondaryUVMinObjectScale: 1
|
|
||||||
secondaryUVPackMargin: 4
|
|
||||||
useFileScale: 1
|
|
||||||
strictVertexDataChecks: 0
|
|
||||||
tangentSpace:
|
|
||||||
normalSmoothAngle: 60
|
|
||||||
normalImportMode: 0
|
|
||||||
tangentImportMode: 3
|
|
||||||
normalCalculationMode: 4
|
|
||||||
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
|
|
||||||
blendShapeNormalImportMode: 1
|
|
||||||
normalSmoothingSource: 0
|
|
||||||
referencedClips: []
|
|
||||||
importAnimation: 1
|
|
||||||
humanDescription:
|
|
||||||
serializedVersion: 3
|
|
||||||
human: []
|
|
||||||
skeleton: []
|
|
||||||
armTwist: 0.5
|
|
||||||
foreArmTwist: 0.5
|
|
||||||
upperLegTwist: 0.5
|
|
||||||
legTwist: 0.5
|
|
||||||
armStretch: 0.05
|
|
||||||
legStretch: 0.05
|
|
||||||
feetSpacing: 0
|
|
||||||
globalScale: 1
|
|
||||||
rootMotionBoneName:
|
|
||||||
hasTranslationDoF: 0
|
|
||||||
hasExtraRoot: 0
|
|
||||||
skeletonHasParents: 1
|
|
||||||
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
|
||||||
autoGenerateAvatarMappingIfUnspecified: 1
|
|
||||||
animationType: 2
|
|
||||||
humanoidOversampling: 1
|
|
||||||
avatarSetup: 0
|
|
||||||
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
|
|
||||||
importBlendShapeDeformPercent: 1
|
|
||||||
remapMaterialsIfMaterialImportModeIsNone: 0
|
|
||||||
additionalBone: 0
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 8f38291dc9cf3e94ca491873081b7dfe
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
Binary file not shown.
Before Width: | Height: | Size: 276 KiB |
@@ -1,140 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: d0f97c83961761f41833a419f04184d6
|
|
||||||
TextureImporter:
|
|
||||||
internalIDToNameTable: []
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 13
|
|
||||||
mipmaps:
|
|
||||||
mipMapMode: 0
|
|
||||||
enableMipMap: 1
|
|
||||||
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: 0
|
|
||||||
wrapV: 0
|
|
||||||
wrapW: 0
|
|
||||||
nPOTScale: 1
|
|
||||||
lightmap: 0
|
|
||||||
compressionQuality: 50
|
|
||||||
spriteMode: 0
|
|
||||||
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: 0
|
|
||||||
spriteTessellationDetail: -1
|
|
||||||
textureType: 0
|
|
||||||
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:
|
|
||||||
internalID: 0
|
|
||||||
vertices: []
|
|
||||||
indices:
|
|
||||||
edges: []
|
|
||||||
weights: []
|
|
||||||
secondaryTextures: []
|
|
||||||
nameFileIdTable: {}
|
|
||||||
mipmapLimitGroupName:
|
|
||||||
pSDRemoveMatte: 0
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
Binary file not shown.
Before Width: | Height: | Size: 166 KiB |
@@ -1,140 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: c33fd932dfcb26f44800c67783066371
|
|
||||||
TextureImporter:
|
|
||||||
internalIDToNameTable: []
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 13
|
|
||||||
mipmaps:
|
|
||||||
mipMapMode: 0
|
|
||||||
enableMipMap: 1
|
|
||||||
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: 0
|
|
||||||
wrapV: 0
|
|
||||||
wrapW: 0
|
|
||||||
nPOTScale: 1
|
|
||||||
lightmap: 0
|
|
||||||
compressionQuality: 50
|
|
||||||
spriteMode: 0
|
|
||||||
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: 0
|
|
||||||
spriteTessellationDetail: -1
|
|
||||||
textureType: 0
|
|
||||||
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:
|
|
||||||
internalID: 0
|
|
||||||
vertices: []
|
|
||||||
indices:
|
|
||||||
edges: []
|
|
||||||
weights: []
|
|
||||||
secondaryTextures: []
|
|
||||||
nameFileIdTable: {}
|
|
||||||
mipmapLimitGroupName:
|
|
||||||
pSDRemoveMatte: 0
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@@ -1,534 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!1 &2782175792003806444
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 2653266799713255234}
|
|
||||||
- component: {fileID: 528940306177264885}
|
|
||||||
- component: {fileID: 5156951718673587996}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Front
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!4 &2653266799713255234
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 2782175792003806444}
|
|
||||||
serializedVersion: 2
|
|
||||||
m_LocalRotation: {x: 0.49870676, y: 0.5012899, z: -0.49870676, w: 0.5012899}
|
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
||||||
m_LocalScale: {x: 140, y: 100, z: 100}
|
|
||||||
m_ConstrainProportionsScale: 0
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 9209320535166562747}
|
|
||||||
m_LocalEulerAnglesHint: {x: 89.704, y: 90, z: 0}
|
|
||||||
--- !u!33 &528940306177264885
|
|
||||||
MeshFilter:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 2782175792003806444}
|
|
||||||
m_Mesh: {fileID: -8023080413318814639, guid: 385fcf3412d956c4ab650555ee5f584d, type: 3}
|
|
||||||
--- !u!23 &5156951718673587996
|
|
||||||
MeshRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 2782175792003806444}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_CastShadows: 1
|
|
||||||
m_ReceiveShadows: 1
|
|
||||||
m_DynamicOccludee: 1
|
|
||||||
m_StaticShadowCaster: 0
|
|
||||||
m_MotionVectors: 1
|
|
||||||
m_LightProbeUsage: 1
|
|
||||||
m_ReflectionProbeUsage: 1
|
|
||||||
m_RayTracingMode: 2
|
|
||||||
m_RayTraceProcedural: 0
|
|
||||||
m_RenderingLayerMask: 1
|
|
||||||
m_RendererPriority: 0
|
|
||||||
m_Materials:
|
|
||||||
- {fileID: -4372536172839912495, guid: 385fcf3412d956c4ab650555ee5f584d, type: 3}
|
|
||||||
m_StaticBatchInfo:
|
|
||||||
firstSubMesh: 0
|
|
||||||
subMeshCount: 0
|
|
||||||
m_StaticBatchRoot: {fileID: 0}
|
|
||||||
m_ProbeAnchor: {fileID: 0}
|
|
||||||
m_LightProbeVolumeOverride: {fileID: 0}
|
|
||||||
m_ScaleInLightmap: 1
|
|
||||||
m_ReceiveGI: 1
|
|
||||||
m_PreserveUVs: 0
|
|
||||||
m_IgnoreNormalsForChartDetection: 0
|
|
||||||
m_ImportantGI: 0
|
|
||||||
m_StitchLightmapSeams: 1
|
|
||||||
m_SelectedEditorRenderState: 3
|
|
||||||
m_MinimumChartSize: 4
|
|
||||||
m_AutoUVMaxDistance: 0.5
|
|
||||||
m_AutoUVMaxAngle: 89
|
|
||||||
m_LightmapParameters: {fileID: 0}
|
|
||||||
m_SortingLayerID: 0
|
|
||||||
m_SortingLayer: 0
|
|
||||||
m_SortingOrder: 0
|
|
||||||
m_AdditionalVertexStreams: {fileID: 0}
|
|
||||||
--- !u!1 &2850323074743059847
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 4429445361403306062}
|
|
||||||
- component: {fileID: 5955221871912472979}
|
|
||||||
- component: {fileID: 8076059722617504667}
|
|
||||||
- component: {fileID: 2071415116134746463}
|
|
||||||
m_Layer: 5
|
|
||||||
m_Name: Canvas
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!224 &4429445361403306062
|
|
||||||
RectTransform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 2850323074743059847}
|
|
||||||
m_LocalRotation: {x: 0.7071068, y: -0, z: -0, w: 0.7071068}
|
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_ConstrainProportionsScale: 0
|
|
||||||
m_Children:
|
|
||||||
- {fileID: 602904479329865416}
|
|
||||||
- {fileID: 461998205047545604}
|
|
||||||
m_Father: {fileID: 9209320535166562747}
|
|
||||||
m_LocalEulerAnglesHint: {x: 90, 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: 2.0103, y: 2.7914}
|
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
|
||||||
--- !u!223 &5955221871912472979
|
|
||||||
Canvas:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 2850323074743059847}
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 3
|
|
||||||
m_RenderMode: 2
|
|
||||||
m_Camera: {fileID: 0}
|
|
||||||
m_PlaneDistance: 100
|
|
||||||
m_PixelPerfect: 0
|
|
||||||
m_ReceivesEvents: 1
|
|
||||||
m_OverrideSorting: 0
|
|
||||||
m_OverridePixelPerfect: 0
|
|
||||||
m_SortingBucketNormalizedSize: 0
|
|
||||||
m_VertexColorAlwaysGammaSpace: 0
|
|
||||||
m_AdditionalShaderChannelsFlag: 0
|
|
||||||
m_UpdateRectTransformForStandalone: 0
|
|
||||||
m_SortingLayerID: 0
|
|
||||||
m_SortingOrder: 0
|
|
||||||
m_TargetDisplay: 0
|
|
||||||
--- !u!114 &8076059722617504667
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 2850323074743059847}
|
|
||||||
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: 2000
|
|
||||||
m_PresetInfoIsWorld: 1
|
|
||||||
--- !u!114 &2071415116134746463
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 2850323074743059847}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_IgnoreReversedGraphics: 1
|
|
||||||
m_BlockingObjects: 0
|
|
||||||
m_BlockingMask:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 4294967295
|
|
||||||
--- !u!1 &3115270704739797056
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 461998205047545604}
|
|
||||||
- component: {fileID: 299007042903040478}
|
|
||||||
- component: {fileID: 968774230685629330}
|
|
||||||
m_Layer: 5
|
|
||||||
m_Name: Description
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!224 &461998205047545604
|
|
||||||
RectTransform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 3115270704739797056}
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0, y: 0, z: -0.05}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_ConstrainProportionsScale: 0
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 4429445361403306062}
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
m_AnchorMin: {x: 0.5, y: 0}
|
|
||||||
m_AnchorMax: {x: 0.5, y: 0}
|
|
||||||
m_AnchoredPosition: {x: -0.0151, y: 0.5809}
|
|
||||||
m_SizeDelta: {x: 1.8498, y: 1.1487}
|
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
|
||||||
--- !u!222 &299007042903040478
|
|
||||||
CanvasRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 3115270704739797056}
|
|
||||||
m_CullTransparentMesh: 1
|
|
||||||
--- !u!114 &968774230685629330
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 3115270704739797056}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, 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_FontData:
|
|
||||||
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_FontSize: 5
|
|
||||||
m_FontStyle: 0
|
|
||||||
m_BestFit: 0
|
|
||||||
m_MinSize: 0
|
|
||||||
m_MaxSize: 300
|
|
||||||
m_Alignment: 4
|
|
||||||
m_AlignByGeometry: 0
|
|
||||||
m_RichText: 1
|
|
||||||
m_HorizontalOverflow: 0
|
|
||||||
m_VerticalOverflow: 0
|
|
||||||
m_LineSpacing: 1
|
|
||||||
m_Text: Description
|
|
||||||
--- !u!1 &3172429145652055423
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 602904479329865416}
|
|
||||||
- component: {fileID: 7076931320485618310}
|
|
||||||
- component: {fileID: 1641835144558014658}
|
|
||||||
m_Layer: 5
|
|
||||||
m_Name: Name
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!224 &602904479329865416
|
|
||||||
RectTransform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 3172429145652055423}
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0, y: 0, z: -0.05}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_ConstrainProportionsScale: 0
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 4429445361403306062}
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
m_AnchorMin: {x: 0.5, y: 1}
|
|
||||||
m_AnchorMax: {x: 0.5, y: 1}
|
|
||||||
m_AnchoredPosition: {x: -0.0151, y: -0.1959}
|
|
||||||
m_SizeDelta: {x: 1.8498, y: 0.3576}
|
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
|
||||||
--- !u!222 &7076931320485618310
|
|
||||||
CanvasRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 3172429145652055423}
|
|
||||||
m_CullTransparentMesh: 1
|
|
||||||
--- !u!114 &1641835144558014658
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 3172429145652055423}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, 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_FontData:
|
|
||||||
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_FontSize: 5
|
|
||||||
m_FontStyle: 0
|
|
||||||
m_BestFit: 0
|
|
||||||
m_MinSize: 0
|
|
||||||
m_MaxSize: 300
|
|
||||||
m_Alignment: 4
|
|
||||||
m_AlignByGeometry: 0
|
|
||||||
m_RichText: 1
|
|
||||||
m_HorizontalOverflow: 0
|
|
||||||
m_VerticalOverflow: 0
|
|
||||||
m_LineSpacing: 1
|
|
||||||
m_Text: Name
|
|
||||||
--- !u!1 &5397061992114806696
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 9209320535166562747}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Display
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!4 &9209320535166562747
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 5397061992114806696}
|
|
||||||
serializedVersion: 2
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
||||||
m_LocalScale: {x: 0.15, y: 0.15, z: 0.15}
|
|
||||||
m_ConstrainProportionsScale: 1
|
|
||||||
m_Children:
|
|
||||||
- {fileID: 2653266799713255234}
|
|
||||||
- {fileID: 6520432709391570604}
|
|
||||||
- {fileID: 4429445361403306062}
|
|
||||||
m_Father: {fileID: 8288806321783590124}
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
--- !u!1 &5614617657564266223
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 6520432709391570604}
|
|
||||||
- component: {fileID: 3884522584561958753}
|
|
||||||
- component: {fileID: 1574770595276204962}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Back
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!4 &6520432709391570604
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 5614617657564266223}
|
|
||||||
serializedVersion: 2
|
|
||||||
m_LocalRotation: {x: -0.49991274, y: 0.50008726, z: 0.49991274, w: 0.50008726}
|
|
||||||
m_LocalPosition: {x: 0, y: 0.0069994777, z: 0}
|
|
||||||
m_LocalScale: {x: 140, y: 100, z: 100}
|
|
||||||
m_ConstrainProportionsScale: 0
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 9209320535166562747}
|
|
||||||
m_LocalEulerAnglesHint: {x: -89.98, y: 90, z: 0}
|
|
||||||
--- !u!33 &3884522584561958753
|
|
||||||
MeshFilter:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 5614617657564266223}
|
|
||||||
m_Mesh: {fileID: -1119430988441025290, guid: 385fcf3412d956c4ab650555ee5f584d, type: 3}
|
|
||||||
--- !u!23 &1574770595276204962
|
|
||||||
MeshRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 5614617657564266223}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_CastShadows: 1
|
|
||||||
m_ReceiveShadows: 1
|
|
||||||
m_DynamicOccludee: 1
|
|
||||||
m_StaticShadowCaster: 0
|
|
||||||
m_MotionVectors: 1
|
|
||||||
m_LightProbeUsage: 1
|
|
||||||
m_ReflectionProbeUsage: 1
|
|
||||||
m_RayTracingMode: 2
|
|
||||||
m_RayTraceProcedural: 0
|
|
||||||
m_RenderingLayerMask: 1
|
|
||||||
m_RendererPriority: 0
|
|
||||||
m_Materials:
|
|
||||||
- {fileID: 830258910468995235, guid: 385fcf3412d956c4ab650555ee5f584d, type: 3}
|
|
||||||
m_StaticBatchInfo:
|
|
||||||
firstSubMesh: 0
|
|
||||||
subMeshCount: 0
|
|
||||||
m_StaticBatchRoot: {fileID: 0}
|
|
||||||
m_ProbeAnchor: {fileID: 0}
|
|
||||||
m_LightProbeVolumeOverride: {fileID: 0}
|
|
||||||
m_ScaleInLightmap: 1
|
|
||||||
m_ReceiveGI: 1
|
|
||||||
m_PreserveUVs: 0
|
|
||||||
m_IgnoreNormalsForChartDetection: 0
|
|
||||||
m_ImportantGI: 0
|
|
||||||
m_StitchLightmapSeams: 1
|
|
||||||
m_SelectedEditorRenderState: 3
|
|
||||||
m_MinimumChartSize: 4
|
|
||||||
m_AutoUVMaxDistance: 0.5
|
|
||||||
m_AutoUVMaxAngle: 89
|
|
||||||
m_LightmapParameters: {fileID: 0}
|
|
||||||
m_SortingLayerID: 0
|
|
||||||
m_SortingLayer: 0
|
|
||||||
m_SortingOrder: 0
|
|
||||||
m_AdditionalVertexStreams: {fileID: 0}
|
|
||||||
--- !u!1 &8257975731489021549
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 8288806321783590124}
|
|
||||||
- component: {fileID: 1562880286992207475}
|
|
||||||
- component: {fileID: 9063485462769681386}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Card
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!4 &8288806321783590124
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 8257975731489021549}
|
|
||||||
serializedVersion: 2
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: -9.91, y: 4.53, z: -7.2904015}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_ConstrainProportionsScale: 0
|
|
||||||
m_Children:
|
|
||||||
- {fileID: 9209320535166562747}
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
--- !u!114 &1562880286992207475
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 8257975731489021549}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 84de392c49524b6d8da09ea51c4326c0, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
frontMeshRenderer: {fileID: 5156951718673587996}
|
|
||||||
backMeshRenderer: {fileID: 1574770595276204962}
|
|
||||||
cardNameText: {fileID: 1641835144558014658}
|
|
||||||
cardDescriptionText: {fileID: 968774230685629330}
|
|
||||||
--- !u!65 &9063485462769681386
|
|
||||||
BoxCollider:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 8257975731489021549}
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_IncludeLayers:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 0
|
|
||||||
m_ExcludeLayers:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 0
|
|
||||||
m_LayerOverridePriority: 0
|
|
||||||
m_IsTrigger: 0
|
|
||||||
m_ProvidesContacts: 0
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 3
|
|
||||||
m_Size: {x: 0.3088441, y: 0.051474422, z: 0.43081665}
|
|
||||||
m_Center: {x: 0, y: 0.003252551, z: 0}
|
|
@@ -1,7 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: dc2a5cfb98ac8c241be10b65fea1e72d
|
|
||||||
PrefabImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@@ -1,70 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!1 &9062941793741291263
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 277803484986371650}
|
|
||||||
- component: {fileID: 2998987062612580781}
|
|
||||||
- component: {fileID: 1849928976878551814}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: CombatTrigger
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!4 &277803484986371650
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 9062941793741291263}
|
|
||||||
serializedVersion: 2
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: 2.22201, y: 2.724243, z: -81.743225}
|
|
||||||
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!65 &2998987062612580781
|
|
||||||
BoxCollider:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 9062941793741291263}
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_IncludeLayers:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 0
|
|
||||||
m_ExcludeLayers:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 0
|
|
||||||
m_LayerOverridePriority: 0
|
|
||||||
m_IsTrigger: 1
|
|
||||||
m_ProvidesContacts: 0
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 3
|
|
||||||
m_Size: {x: 5, y: 5, z: 5}
|
|
||||||
m_Center: {x: 0, y: 0, z: 0}
|
|
||||||
--- !u!114 &1849928976878551814
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 9062941793741291263}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 2d9265c2645847c2b5197ed2ba181c98, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
combatManager: {fileID: 0}
|
|
||||||
disableAfterTrigger: 1
|
|
@@ -1,7 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 08dc103fc56f46345889fd4f2109149b
|
|
||||||
PrefabImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@@ -1,156 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!1 &440771197970748831
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 2899656235242765589}
|
|
||||||
- component: {fileID: 5289525519615997488}
|
|
||||||
- component: {fileID: 2216987987592960140}
|
|
||||||
- component: {fileID: 1689477996363267361}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Model
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!4 &2899656235242765589
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 440771197970748831}
|
|
||||||
serializedVersion: 2
|
|
||||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0, y: -0.23, z: 0}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_ConstrainProportionsScale: 0
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 798485138132604611}
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
--- !u!33 &5289525519615997488
|
|
||||||
MeshFilter:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 440771197970748831}
|
|
||||||
m_Mesh: {fileID: 10206, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
--- !u!23 &2216987987592960140
|
|
||||||
MeshRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 440771197970748831}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_CastShadows: 1
|
|
||||||
m_ReceiveShadows: 1
|
|
||||||
m_DynamicOccludee: 1
|
|
||||||
m_StaticShadowCaster: 0
|
|
||||||
m_MotionVectors: 1
|
|
||||||
m_LightProbeUsage: 1
|
|
||||||
m_ReflectionProbeUsage: 1
|
|
||||||
m_RayTracingMode: 2
|
|
||||||
m_RayTraceProcedural: 0
|
|
||||||
m_RenderingLayerMask: 1
|
|
||||||
m_RendererPriority: 0
|
|
||||||
m_Materials:
|
|
||||||
- {fileID: 2100000, guid: 31321ba15b8f8eb4c954353edc038b1d, type: 2}
|
|
||||||
m_StaticBatchInfo:
|
|
||||||
firstSubMesh: 0
|
|
||||||
subMeshCount: 0
|
|
||||||
m_StaticBatchRoot: {fileID: 0}
|
|
||||||
m_ProbeAnchor: {fileID: 0}
|
|
||||||
m_LightProbeVolumeOverride: {fileID: 0}
|
|
||||||
m_ScaleInLightmap: 1
|
|
||||||
m_ReceiveGI: 1
|
|
||||||
m_PreserveUVs: 0
|
|
||||||
m_IgnoreNormalsForChartDetection: 0
|
|
||||||
m_ImportantGI: 0
|
|
||||||
m_StitchLightmapSeams: 1
|
|
||||||
m_SelectedEditorRenderState: 3
|
|
||||||
m_MinimumChartSize: 4
|
|
||||||
m_AutoUVMaxDistance: 0.5
|
|
||||||
m_AutoUVMaxAngle: 89
|
|
||||||
m_LightmapParameters: {fileID: 0}
|
|
||||||
m_SortingLayerID: 0
|
|
||||||
m_SortingLayer: 0
|
|
||||||
m_SortingOrder: 0
|
|
||||||
m_AdditionalVertexStreams: {fileID: 0}
|
|
||||||
--- !u!136 &1689477996363267361
|
|
||||||
CapsuleCollider:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 440771197970748831}
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_IncludeLayers:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 0
|
|
||||||
m_ExcludeLayers:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 0
|
|
||||||
m_LayerOverridePriority: 0
|
|
||||||
m_IsTrigger: 0
|
|
||||||
m_ProvidesContacts: 0
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Radius: 0.5000001
|
|
||||||
m_Height: 2
|
|
||||||
m_Direction: 1
|
|
||||||
m_Center: {x: 0.000000059604645, y: 0, z: -0.00000008940697}
|
|
||||||
--- !u!1 &8667473653554082920
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 798485138132604611}
|
|
||||||
- component: {fileID: 1783783211067008165}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Enemy
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!4 &798485138132604611
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 8667473653554082920}
|
|
||||||
serializedVersion: 2
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0.97084504, y: 2.06, z: -80.739914}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_ConstrainProportionsScale: 0
|
|
||||||
m_Children:
|
|
||||||
- {fileID: 2899656235242765589}
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
--- !u!114 &1783783211067008165
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 8667473653554082920}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: b5a587a681ae48d6b3a5dcd5a723fd5a, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
enemyName:
|
|
||||||
maxHealth: 100
|
|
@@ -1,7 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 5cc5fd4f5a07afc4db2fa18398cd214d
|
|
||||||
PrefabImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 027aff250483ab048b82789dacea5f56
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@@ -1,72 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!1 &4085323846378366699
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 3017012476905176277}
|
|
||||||
- component: {fileID: 6899285342125436308}
|
|
||||||
- component: {fileID: 2906861983294161497}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: MapFlag
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!4 &3017012476905176277
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 4085323846378366699}
|
|
||||||
serializedVersion: 2
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: -13.6, y: 12.27, z: -72.7}
|
|
||||||
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!114 &6899285342125436308
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 4085323846378366699}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 2c3ea88c92cc4d0bb6098983903be7fb, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
FlagName: 1
|
|
||||||
Position: {x: 0, y: 0, z: 0}
|
|
||||||
LeftFlag: {fileID: 0}
|
|
||||||
RightFlag: {fileID: 0}
|
|
||||||
--- !u!135 &2906861983294161497
|
|
||||||
SphereCollider:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 4085323846378366699}
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_IncludeLayers:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 0
|
|
||||||
m_ExcludeLayers:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 0
|
|
||||||
m_LayerOverridePriority: 0
|
|
||||||
m_IsTrigger: 0
|
|
||||||
m_ProvidesContacts: 0
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 3
|
|
||||||
m_Radius: 1.5
|
|
||||||
m_Center: {x: 0, y: 0, z: 0}
|
|
@@ -1,7 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 1cb34f4568333424d8224ec49401b640
|
|
||||||
PrefabImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@@ -1,47 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!1 &5076912142391002860
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 8279917458776975425}
|
|
||||||
- component: {fileID: 3703449653124942192}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: MapFlagManager
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!4 &8279917458776975425
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 5076912142391002860}
|
|
||||||
serializedVersion: 2
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: -15.516351, y: 5.3981843, z: -73.74406}
|
|
||||||
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!114 &3703449653124942192
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 5076912142391002860}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: f13be1e244e84e3b93b0b3a4c054cb46, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
StartFlag: {fileID: 0}
|
|
@@ -1,7 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 8b70ed0baea90974b9bec4837fc6b03b
|
|
||||||
PrefabImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@@ -1,121 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!1 &8031699868756389050
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 151205406321954705}
|
|
||||||
- component: {fileID: 5690328992423205384}
|
|
||||||
- component: {fileID: 2534201213536568736}
|
|
||||||
- component: {fileID: 4332638092210716533}
|
|
||||||
- component: {fileID: 5079159534106663042}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: NormalCardBook
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!4 &151205406321954705
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 8031699868756389050}
|
|
||||||
serializedVersion: 2
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: -1.5440545, y: 0.5792608, z: 1.0709323}
|
|
||||||
m_LocalScale: {x: 1, y: 0.35446, z: 1.004}
|
|
||||||
m_ConstrainProportionsScale: 0
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
--- !u!33 &5690328992423205384
|
|
||||||
MeshFilter:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 8031699868756389050}
|
|
||||||
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
--- !u!23 &2534201213536568736
|
|
||||||
MeshRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 8031699868756389050}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_CastShadows: 1
|
|
||||||
m_ReceiveShadows: 1
|
|
||||||
m_DynamicOccludee: 1
|
|
||||||
m_StaticShadowCaster: 0
|
|
||||||
m_MotionVectors: 1
|
|
||||||
m_LightProbeUsage: 1
|
|
||||||
m_ReflectionProbeUsage: 1
|
|
||||||
m_RayTracingMode: 2
|
|
||||||
m_RayTraceProcedural: 0
|
|
||||||
m_RenderingLayerMask: 1
|
|
||||||
m_RendererPriority: 0
|
|
||||||
m_Materials:
|
|
||||||
- {fileID: 2100000, guid: 31321ba15b8f8eb4c954353edc038b1d, type: 2}
|
|
||||||
m_StaticBatchInfo:
|
|
||||||
firstSubMesh: 0
|
|
||||||
subMeshCount: 0
|
|
||||||
m_StaticBatchRoot: {fileID: 0}
|
|
||||||
m_ProbeAnchor: {fileID: 0}
|
|
||||||
m_LightProbeVolumeOverride: {fileID: 0}
|
|
||||||
m_ScaleInLightmap: 1
|
|
||||||
m_ReceiveGI: 1
|
|
||||||
m_PreserveUVs: 0
|
|
||||||
m_IgnoreNormalsForChartDetection: 0
|
|
||||||
m_ImportantGI: 0
|
|
||||||
m_StitchLightmapSeams: 1
|
|
||||||
m_SelectedEditorRenderState: 3
|
|
||||||
m_MinimumChartSize: 4
|
|
||||||
m_AutoUVMaxDistance: 0.5
|
|
||||||
m_AutoUVMaxAngle: 89
|
|
||||||
m_LightmapParameters: {fileID: 0}
|
|
||||||
m_SortingLayerID: 0
|
|
||||||
m_SortingLayer: 0
|
|
||||||
m_SortingOrder: 0
|
|
||||||
m_AdditionalVertexStreams: {fileID: 0}
|
|
||||||
--- !u!65 &4332638092210716533
|
|
||||||
BoxCollider:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 8031699868756389050}
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_IncludeLayers:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 0
|
|
||||||
m_ExcludeLayers:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 0
|
|
||||||
m_LayerOverridePriority: 0
|
|
||||||
m_IsTrigger: 0
|
|
||||||
m_ProvidesContacts: 0
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 3
|
|
||||||
m_Size: {x: 1, y: 1, z: 1}
|
|
||||||
m_Center: {x: 0, y: 0, z: 0}
|
|
||||||
--- !u!114 &5079159534106663042
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 8031699868756389050}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 68803a8f56734f22a3025f8028fc027f, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
LeftHandPoint: {fileID: 0}
|
|
@@ -1,7 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 396fdaee2868c534e927e0c2d4da65da
|
|
||||||
PrefabImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: b65b132ec0573cd41af0bda96f0ca026
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@@ -1,22 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!114 &11400000
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 0}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 7c9f5640c7fc55141af2931d0caed1e0, type: 3}
|
|
||||||
m_Name: DamageCard 1
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
CardID: 2
|
|
||||||
CardName: HealSelfCard
|
|
||||||
CardDescription: Heal Self 1
|
|
||||||
CardTexture: {fileID: 0}
|
|
||||||
Effects:
|
|
||||||
- type: 1
|
|
||||||
value: 1
|
|
||||||
target: 0
|
|
@@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: a32b3f751a8ff5c4892f97457f8c9b62
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 11400000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@@ -1,22 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!114 &11400000
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 0}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 7c9f5640c7fc55141af2931d0caed1e0, type: 3}
|
|
||||||
m_Name: DamageCard
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
CardID: 1
|
|
||||||
CardName: DamageCard
|
|
||||||
CardDescription: Damage Enemy 1
|
|
||||||
CardTexture: {fileID: 0}
|
|
||||||
Effects:
|
|
||||||
- type: 0
|
|
||||||
value: 1
|
|
||||||
target: 1
|
|
@@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 32b7a8321e7abc844b76ed3c5b8919c5
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 11400000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 6a24496b0a5ec3548a474be1fd42b6da
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@@ -1,17 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!114 &11400000
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 0}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 54f1f8ff48b84542962110e7a9851917, type: 3}
|
|
||||||
m_Name: NormalCardBook
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
SlotCount: 24
|
|
||||||
SpareCount: 6
|
|
||||||
MaxLoopCount: 1
|
|
@@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 6884501cc489c254aaf6836e84649588
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 11400000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@@ -998,98 +998,6 @@ MeshFilter:
|
|||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 1883037177}
|
m_GameObject: {fileID: 1883037177}
|
||||||
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
|
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
|
||||||
--- !u!114 &1919817224 stripped
|
|
||||||
MonoBehaviour:
|
|
||||||
m_CorrespondingSourceObject: {fileID: 1783783211067008165, guid: 5cc5fd4f5a07afc4db2fa18398cd214d,
|
|
||||||
type: 3}
|
|
||||||
m_PrefabInstance: {fileID: 8808393704070049945}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 0}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: b5a587a681ae48d6b3a5dcd5a723fd5a, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
--- !u!114 &1928491248 stripped
|
|
||||||
MonoBehaviour:
|
|
||||||
m_CorrespondingSourceObject: {fileID: 3697820982367928434, guid: 667aedb0d3f8c9d469819c9ff2b4472b,
|
|
||||||
type: 3}
|
|
||||||
m_PrefabInstance: {fileID: 7020889523296792185}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 0}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: d7071907d14f433789ea37a8367b584a, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
--- !u!1001 &1969328118
|
|
||||||
PrefabInstance:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Modification:
|
|
||||||
serializedVersion: 3
|
|
||||||
m_TransformParent: {fileID: 0}
|
|
||||||
m_Modifications:
|
|
||||||
- target: {fileID: 8257975731489021549, guid: dc2a5cfb98ac8c241be10b65fea1e72d,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_Name
|
|
||||||
value: Card
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 8288806321783590124, guid: dc2a5cfb98ac8c241be10b65fea1e72d,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalPosition.x
|
|
||||||
value: -6.374407
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 8288806321783590124, guid: dc2a5cfb98ac8c241be10b65fea1e72d,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalPosition.y
|
|
||||||
value: 0.18205953
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 8288806321783590124, guid: dc2a5cfb98ac8c241be10b65fea1e72d,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalPosition.z
|
|
||||||
value: -86.32
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 8288806321783590124, guid: dc2a5cfb98ac8c241be10b65fea1e72d,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalRotation.w
|
|
||||||
value: 1
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 8288806321783590124, guid: dc2a5cfb98ac8c241be10b65fea1e72d,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalRotation.x
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 8288806321783590124, guid: dc2a5cfb98ac8c241be10b65fea1e72d,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalRotation.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 8288806321783590124, guid: dc2a5cfb98ac8c241be10b65fea1e72d,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalRotation.z
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 8288806321783590124, guid: dc2a5cfb98ac8c241be10b65fea1e72d,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalEulerAnglesHint.x
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 8288806321783590124, guid: dc2a5cfb98ac8c241be10b65fea1e72d,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalEulerAnglesHint.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 8288806321783590124, guid: dc2a5cfb98ac8c241be10b65fea1e72d,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalEulerAnglesHint.z
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
m_RemovedComponents: []
|
|
||||||
m_RemovedGameObjects: []
|
|
||||||
m_AddedGameObjects: []
|
|
||||||
m_AddedComponents: []
|
|
||||||
m_SourcePrefab: {fileID: 100100000, guid: dc2a5cfb98ac8c241be10b65fea1e72d, type: 3}
|
|
||||||
--- !u!1 &2021089517
|
--- !u!1 &2021089517
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -1210,84 +1118,6 @@ PrefabInstance:
|
|||||||
insertIndex: -1
|
insertIndex: -1
|
||||||
addedObject: {fileID: 431100848}
|
addedObject: {fileID: 431100848}
|
||||||
m_SourcePrefab: {fileID: 100100000, guid: b3e24e2df98d14e4ebc08cc68c071afa, type: 3}
|
m_SourcePrefab: {fileID: 100100000, guid: b3e24e2df98d14e4ebc08cc68c071afa, type: 3}
|
||||||
--- !u!1001 &4976374363246253691
|
|
||||||
PrefabInstance:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Modification:
|
|
||||||
serializedVersion: 3
|
|
||||||
m_TransformParent: {fileID: 0}
|
|
||||||
m_Modifications:
|
|
||||||
- target: {fileID: 277803484986371650, guid: 08dc103fc56f46345889fd4f2109149b,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalPosition.x
|
|
||||||
value: 2.22201
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 277803484986371650, guid: 08dc103fc56f46345889fd4f2109149b,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalPosition.y
|
|
||||||
value: 2.724243
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 277803484986371650, guid: 08dc103fc56f46345889fd4f2109149b,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalPosition.z
|
|
||||||
value: -79.46
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 277803484986371650, guid: 08dc103fc56f46345889fd4f2109149b,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalRotation.w
|
|
||||||
value: 1
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 277803484986371650, guid: 08dc103fc56f46345889fd4f2109149b,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalRotation.x
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 277803484986371650, guid: 08dc103fc56f46345889fd4f2109149b,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalRotation.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 277803484986371650, guid: 08dc103fc56f46345889fd4f2109149b,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalRotation.z
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 277803484986371650, guid: 08dc103fc56f46345889fd4f2109149b,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalEulerAnglesHint.x
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 277803484986371650, guid: 08dc103fc56f46345889fd4f2109149b,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalEulerAnglesHint.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 277803484986371650, guid: 08dc103fc56f46345889fd4f2109149b,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalEulerAnglesHint.z
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 1849928976878551814, guid: 08dc103fc56f46345889fd4f2109149b,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: enemy
|
|
||||||
value:
|
|
||||||
objectReference: {fileID: 1919817224}
|
|
||||||
- target: {fileID: 1849928976878551814, guid: 08dc103fc56f46345889fd4f2109149b,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: player
|
|
||||||
value:
|
|
||||||
objectReference: {fileID: 1928491248}
|
|
||||||
- target: {fileID: 9062941793741291263, guid: 08dc103fc56f46345889fd4f2109149b,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_Name
|
|
||||||
value: CombatTrigger
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
m_RemovedComponents: []
|
|
||||||
m_RemovedGameObjects: []
|
|
||||||
m_AddedGameObjects: []
|
|
||||||
m_AddedComponents: []
|
|
||||||
m_SourcePrefab: {fileID: 100100000, guid: 08dc103fc56f46345889fd4f2109149b, type: 3}
|
|
||||||
--- !u!1001 &7020889523296792185
|
--- !u!1001 &7020889523296792185
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -1356,85 +1186,6 @@ PrefabInstance:
|
|||||||
m_AddedGameObjects: []
|
m_AddedGameObjects: []
|
||||||
m_AddedComponents: []
|
m_AddedComponents: []
|
||||||
m_SourcePrefab: {fileID: 100100000, guid: 667aedb0d3f8c9d469819c9ff2b4472b, type: 3}
|
m_SourcePrefab: {fileID: 100100000, guid: 667aedb0d3f8c9d469819c9ff2b4472b, type: 3}
|
||||||
--- !u!1001 &8808393704070049945
|
|
||||||
PrefabInstance:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Modification:
|
|
||||||
serializedVersion: 3
|
|
||||||
m_TransformParent: {fileID: 0}
|
|
||||||
m_Modifications:
|
|
||||||
- target: {fileID: 798485138132604611, guid: 5cc5fd4f5a07afc4db2fa18398cd214d,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalPosition.x
|
|
||||||
value: 1.22
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 798485138132604611, guid: 5cc5fd4f5a07afc4db2fa18398cd214d,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalPosition.y
|
|
||||||
value: 1.83
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 798485138132604611, guid: 5cc5fd4f5a07afc4db2fa18398cd214d,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalPosition.z
|
|
||||||
value: -76.89
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 798485138132604611, guid: 5cc5fd4f5a07afc4db2fa18398cd214d,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalRotation.w
|
|
||||||
value: 1
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 798485138132604611, guid: 5cc5fd4f5a07afc4db2fa18398cd214d,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalRotation.x
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 798485138132604611, guid: 5cc5fd4f5a07afc4db2fa18398cd214d,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalRotation.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 798485138132604611, guid: 5cc5fd4f5a07afc4db2fa18398cd214d,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalRotation.z
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 798485138132604611, guid: 5cc5fd4f5a07afc4db2fa18398cd214d,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalEulerAnglesHint.x
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 798485138132604611, guid: 5cc5fd4f5a07afc4db2fa18398cd214d,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalEulerAnglesHint.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 798485138132604611, guid: 5cc5fd4f5a07afc4db2fa18398cd214d,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalEulerAnglesHint.z
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 1783783211067008165, guid: 5cc5fd4f5a07afc4db2fa18398cd214d,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: enemyName
|
|
||||||
value: aaa
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 1783783211067008165, guid: 5cc5fd4f5a07afc4db2fa18398cd214d,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: cardBookData
|
|
||||||
value:
|
|
||||||
objectReference: {fileID: 11400000, guid: 6884501cc489c254aaf6836e84649588,
|
|
||||||
type: 2}
|
|
||||||
- target: {fileID: 8667473653554082920, guid: 5cc5fd4f5a07afc4db2fa18398cd214d,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_Name
|
|
||||||
value: Enemy
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
m_RemovedComponents: []
|
|
||||||
m_RemovedGameObjects: []
|
|
||||||
m_AddedGameObjects: []
|
|
||||||
m_AddedComponents: []
|
|
||||||
m_SourcePrefab: {fileID: 100100000, guid: 5cc5fd4f5a07afc4db2fa18398cd214d, type: 3}
|
|
||||||
--- !u!1660057539 &9223372036854775807
|
--- !u!1660057539 &9223372036854775807
|
||||||
SceneRoots:
|
SceneRoots:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -1443,7 +1194,4 @@ SceneRoots:
|
|||||||
- {fileID: 1274249804}
|
- {fileID: 1274249804}
|
||||||
- {fileID: 7020889523296792185}
|
- {fileID: 7020889523296792185}
|
||||||
- {fileID: 2021089518}
|
- {fileID: 2021089518}
|
||||||
- {fileID: 4976374363246253691}
|
|
||||||
- {fileID: 8808393704070049945}
|
|
||||||
- {fileID: 1969328118}
|
|
||||||
- {fileID: 2088331975902746738}
|
- {fileID: 2088331975902746738}
|
||||||
|
@@ -1,27 +0,0 @@
|
|||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace Gameplay
|
|
||||||
{
|
|
||||||
public class Card
|
|
||||||
{
|
|
||||||
private CardData _cardData;
|
|
||||||
public Texture FrontTexture => _cardData.FrontCardTexture;
|
|
||||||
public Texture BackTexture => _cardData.BackCardTexture;
|
|
||||||
public string CardName => _cardData.CardName;
|
|
||||||
public string CardDescription => _cardData.CardDescription;
|
|
||||||
public EffectData[] Effects => _cardData.Effects;
|
|
||||||
|
|
||||||
public Card(CardData cardData)
|
|
||||||
{
|
|
||||||
_cardData = cardData;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void PlayCard(CardContext context)
|
|
||||||
{
|
|
||||||
foreach (var effect in Effects)
|
|
||||||
{
|
|
||||||
EffectHandler.Execute(effect, context);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 1081ce761bc440e29a2f7b75915e5754
|
|
||||||
timeCreated: 1760361406
|
|
@@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 37e71088bd934b78aa07c7a76b7e5d07
|
|
||||||
timeCreated: 1760422523
|
|
@@ -1,48 +0,0 @@
|
|||||||
using System;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace Gameplay
|
|
||||||
{
|
|
||||||
public class CardBook
|
|
||||||
{
|
|
||||||
public CardBookData Data;
|
|
||||||
public CardSlot[] Slots;
|
|
||||||
public CardSlot[] Spares;
|
|
||||||
|
|
||||||
public CardBook(CardBookData data)
|
|
||||||
{
|
|
||||||
Data = data;
|
|
||||||
Slots = new CardSlot[Data.SlotCount];
|
|
||||||
Spares = new CardSlot[Data.SpareCount];
|
|
||||||
for (int i = 0; i < Slots.Length; i++)
|
|
||||||
{
|
|
||||||
Slots[i] = new CardSlot();
|
|
||||||
}
|
|
||||||
for (int i = 0; i < Spares.Length; i++)
|
|
||||||
{
|
|
||||||
Spares[i] = new CardSlot();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Get all cards in the card book,and not Spares
|
|
||||||
public Card[] GetCards()
|
|
||||||
{
|
|
||||||
var cards = new Card[Slots.Length + Spares.Length];
|
|
||||||
for (int i = 0; i < Slots.Length; i++)
|
|
||||||
{
|
|
||||||
cards[i] = Slots[i].StoredCard;
|
|
||||||
}
|
|
||||||
return cards;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Card[] GetSpareCards()
|
|
||||||
{
|
|
||||||
var cards = new Card[Spares.Length + Spares.Length];
|
|
||||||
for (int i = 0; i < Spares.Length; i++)
|
|
||||||
{
|
|
||||||
cards[i] = Spares[i].StoredCard;
|
|
||||||
}
|
|
||||||
return cards;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 4bb8bfb17c6a4eaa88954871942ee72d
|
|
||||||
timeCreated: 1760422530
|
|
@@ -1,12 +0,0 @@
|
|||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace Gameplay
|
|
||||||
{
|
|
||||||
[CreateAssetMenu(fileName = "CardBookData", menuName = "ScriptableObject/CardBookData", order = 1)]
|
|
||||||
public class CardBookData : ScriptableObject
|
|
||||||
{
|
|
||||||
public int SlotCount;
|
|
||||||
public int SpareCount;
|
|
||||||
public int MaxLoopCount;
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 54f1f8ff48b84542962110e7a9851917
|
|
||||||
timeCreated: 1760422573
|
|
@@ -1,12 +0,0 @@
|
|||||||
using UnityEngine;
|
|
||||||
|
|
||||||
|
|
||||||
namespace Gameplay
|
|
||||||
{
|
|
||||||
// 卡牌书的显示相关脚本
|
|
||||||
public class CardBookViewer : MonoBehaviour
|
|
||||||
{
|
|
||||||
[SerializeField] private Transform LeftHandPoint;
|
|
||||||
private CardBook CardBook;
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 68803a8f56734f22a3025f8028fc027f
|
|
||||||
timeCreated: 1760431288
|
|
@@ -1,23 +0,0 @@
|
|||||||
namespace Gameplay
|
|
||||||
{
|
|
||||||
public class CardSlot
|
|
||||||
{
|
|
||||||
public Card StoredCard;
|
|
||||||
public bool IsEmpty => StoredCard == null;
|
|
||||||
public int ActiveTimes = 0;
|
|
||||||
|
|
||||||
public void StoreCard(Card card)
|
|
||||||
{
|
|
||||||
StoredCard = card;
|
|
||||||
ActiveTimes = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Card RemoveCard()
|
|
||||||
{
|
|
||||||
var card = StoredCard;
|
|
||||||
StoredCard = null;
|
|
||||||
ActiveTimes = 0;
|
|
||||||
return card;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: e5f566603b3f4286965da48bb49c018a
|
|
||||||
timeCreated: 1760422548
|
|
@@ -1,18 +0,0 @@
|
|||||||
using System.Collections;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace Gameplay
|
|
||||||
{
|
|
||||||
[CreateAssetMenu(fileName = "CardData", menuName = "ScriptableObject/CardData")]
|
|
||||||
public class CardData : ScriptableObject
|
|
||||||
{
|
|
||||||
public int CardID;
|
|
||||||
public string CardName;
|
|
||||||
public string CardDescription;
|
|
||||||
public Texture FrontCardTexture;
|
|
||||||
public Texture BackCardTexture;
|
|
||||||
public EffectData[] Effects;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@@ -1,11 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 7c9f5640c7fc55141af2931d0caed1e0
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: ea39c6a061fd421988facd6fcb95c639
|
|
||||||
timeCreated: 1760405374
|
|
@@ -1,16 +0,0 @@
|
|||||||
using UnityEngine;
|
|
||||||
using Interface;
|
|
||||||
namespace Gameplay
|
|
||||||
{
|
|
||||||
public class CardContext
|
|
||||||
{
|
|
||||||
public ICharacter Owner;
|
|
||||||
public ICharacter Enemy;
|
|
||||||
|
|
||||||
public CardContext(ICharacter owner,ICharacter enemy)
|
|
||||||
{
|
|
||||||
Owner = owner;
|
|
||||||
Enemy = enemy;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 7279b5677f724ab4b93bd1028542d110
|
|
||||||
timeCreated: 1760420712
|
|
@@ -1,26 +0,0 @@
|
|||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace Gameplay
|
|
||||||
{
|
|
||||||
[System.Serializable]
|
|
||||||
public class EffectData
|
|
||||||
{
|
|
||||||
public EffectType type; // 效果类型,例如攻击、治疗、抽卡
|
|
||||||
public int value; // 参数值
|
|
||||||
public TargetType target; // 可选参数:目标类型("self", "enemy", "all")
|
|
||||||
}
|
|
||||||
|
|
||||||
public enum TargetType
|
|
||||||
{
|
|
||||||
Self,
|
|
||||||
Enemy,
|
|
||||||
All,
|
|
||||||
None
|
|
||||||
}
|
|
||||||
|
|
||||||
public enum EffectType
|
|
||||||
{
|
|
||||||
Damage,
|
|
||||||
Heal,
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 5790e0b2fbce41c99a775bbacca0e2bc
|
|
||||||
timeCreated: 1760420527
|
|
@@ -1,24 +0,0 @@
|
|||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace Gameplay
|
|
||||||
{
|
|
||||||
public static class EffectHandler
|
|
||||||
{
|
|
||||||
public static void Execute(EffectData effect, CardContext context)
|
|
||||||
{
|
|
||||||
switch (effect.type)
|
|
||||||
{
|
|
||||||
case EffectType.Damage:
|
|
||||||
context.Enemy.TakeDamage(effect.value);
|
|
||||||
break;
|
|
||||||
|
|
||||||
case EffectType.Heal:
|
|
||||||
context.Enemy.Heal(effect.value);
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
Debug.Log($"未知效果类型: {effect.type}");
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 032e368e3d5846d78caf5f3239de979f
|
|
||||||
timeCreated: 1760420695
|
|
@@ -1,62 +0,0 @@
|
|||||||
using System;
|
|
||||||
using UnityEngine;
|
|
||||||
using UnityEngine.UI;
|
|
||||||
using Interface;
|
|
||||||
using Core;
|
|
||||||
using Gameplay.Player;
|
|
||||||
|
|
||||||
namespace Gameplay
|
|
||||||
{
|
|
||||||
public class CardViewer : MonoBehaviour, IInteractable
|
|
||||||
{
|
|
||||||
public Card Card;
|
|
||||||
|
|
||||||
[SerializeField] private MeshRenderer frontMeshRenderer;
|
|
||||||
[SerializeField] private MeshRenderer backMeshRenderer;
|
|
||||||
[SerializeField] private Text cardNameText;
|
|
||||||
[SerializeField] private Text cardDescriptionText;
|
|
||||||
|
|
||||||
private PlayerController _playerController;
|
|
||||||
|
|
||||||
private void Start()
|
|
||||||
{
|
|
||||||
ControllerLocator.Instance.TryGet<PlayerController>(out _playerController);
|
|
||||||
}
|
|
||||||
|
|
||||||
public void SetCard(Card card)
|
|
||||||
{
|
|
||||||
Card = card;
|
|
||||||
if (frontMeshRenderer != null && card.FrontTexture != null)
|
|
||||||
{
|
|
||||||
frontMeshRenderer.material.mainTexture = card.FrontTexture;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (backMeshRenderer != null && card.BackTexture != null)
|
|
||||||
{
|
|
||||||
backMeshRenderer.material.mainTexture = card.BackTexture;
|
|
||||||
}
|
|
||||||
|
|
||||||
cardNameText.text = card.CardName;
|
|
||||||
cardDescriptionText.text = card.CardDescription;
|
|
||||||
}
|
|
||||||
|
|
||||||
public string GetInteractPrompt()
|
|
||||||
{
|
|
||||||
return "";
|
|
||||||
}
|
|
||||||
|
|
||||||
public void Interact(GameObject interactor)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
public void OnGazeEnter(GameObject editor)
|
|
||||||
{
|
|
||||||
if(_playerController != null) _playerController.playerCardsController.StopRotatingCards();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void OnGazeExit(GameObject editor)
|
|
||||||
{
|
|
||||||
if (_playerController != null) _playerController.playerCardsController.StartRotatingCards();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 84de392c49524b6d8da09ea51c4326c0
|
|
||||||
timeCreated: 1760361433
|
|
@@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 5db247b9fcb44b3f85bdcc7cdb634481
|
|
||||||
timeCreated: 1760575054
|
|
@@ -1,31 +0,0 @@
|
|||||||
using UnityEngine;
|
|
||||||
namespace Gameplay
|
|
||||||
{
|
|
||||||
// 用来加载卡牌数据的静态类
|
|
||||||
public static class CardLoader
|
|
||||||
{
|
|
||||||
public static CardData GetCardDataByID(int cardID)
|
|
||||||
{
|
|
||||||
CardData[] allCards = Resources.LoadAll<CardData>("Configs/Card");
|
|
||||||
foreach (var card in allCards)
|
|
||||||
{
|
|
||||||
if (card.CardID == cardID)
|
|
||||||
{
|
|
||||||
return card;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Debug.LogError($"Card with ID {cardID} not found!");
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static Card GetCardByID(int cardID)
|
|
||||||
{
|
|
||||||
CardData cardData = GetCardDataByID(cardID);
|
|
||||||
if (cardData != null)
|
|
||||||
{
|
|
||||||
return new Card(cardData);
|
|
||||||
}
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 447cd4a06d4a497cb301f68b51a4121a
|
|
||||||
timeCreated: 1760518833
|
|
@@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 649c2c30ae8a4f64ae00e35a3bf67479
|
|
||||||
timeCreated: 1760496426
|
|
@@ -1,176 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections;
|
|
||||||
using Core;
|
|
||||||
using Gameplay.Enemy;
|
|
||||||
using Gameplay.Player;
|
|
||||||
using Interface;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace Gameplay
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 战斗流程管理器(回合制、循环抽牌)
|
|
||||||
/// 使用方法:在场景中挂载一个空物体并配置 player 与 enemy 的 Combatant 引用。
|
|
||||||
/// 该管理器通过事件回调让 UI 或其它系统接入“双方牌都打空时”的选择(继续/逃跑)。
|
|
||||||
/// </summary>
|
|
||||||
public class CombatFlowManager : MonoSingleton<CombatFlowManager>
|
|
||||||
{
|
|
||||||
[Header("Participants")]
|
|
||||||
public PlayerController player;
|
|
||||||
public EnemyController enemy;
|
|
||||||
|
|
||||||
[Header("Flow Settings")]
|
|
||||||
[Tooltip("玩家是否先手(true=玩家先出一张)")]
|
|
||||||
public bool playerStarts = true;
|
|
||||||
[Tooltip("每出一张牌后的间隔(秒)")]
|
|
||||||
public float turnDelay = 0.8f;
|
|
||||||
|
|
||||||
// Events
|
|
||||||
public event Action OnCombatStarted;
|
|
||||||
public event Action<ICharacter, Card> OnCardPlayed;
|
|
||||||
public event Action<ICharacter> OnCombatEnded; // 参数为胜利方(null 表示平局或逃跑)
|
|
||||||
public event Action OnBothEmpty; // 当双方都没有卡可以出时触发,UI 需要通过 ContinueAfterBothEmpty 或 EscapeFromCombat 响应
|
|
||||||
|
|
||||||
// internal state
|
|
||||||
private Coroutine runningRoutine;
|
|
||||||
private bool waitingForDecision = false;
|
|
||||||
private bool decisionContinue = false;
|
|
||||||
private bool decisionEscape = false;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 启动战斗流程(也可以在 Inspector 中提前绑定 player/enemy,然后只调用 StartCombat())
|
|
||||||
/// </summary>
|
|
||||||
public void StartCombat(PlayerController playerController = null, EnemyController enemyController = null)
|
|
||||||
{
|
|
||||||
if (playerController != null) player = playerController;
|
|
||||||
if (enemyController != null) enemy = enemyController;
|
|
||||||
|
|
||||||
if (player == null || enemy == null)
|
|
||||||
{
|
|
||||||
Debug.LogError("CombatFlowManager: player 或 enemy 未设置。");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 初始化双方状态
|
|
||||||
player.StartCombat();
|
|
||||||
enemy.StartCombat();
|
|
||||||
player.InitializeDeckCycle();
|
|
||||||
enemy.InitializeDeckCycle();
|
|
||||||
|
|
||||||
|
|
||||||
runningRoutine = StartCoroutine(CombatRoutine());
|
|
||||||
OnCombatStarted?.Invoke();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void StopCombat()
|
|
||||||
{
|
|
||||||
if (runningRoutine != null) StopCoroutine(runningRoutine);
|
|
||||||
runningRoutine = null;
|
|
||||||
}
|
|
||||||
|
|
||||||
private IEnumerator CombatRoutine()
|
|
||||||
{
|
|
||||||
ICharacter current = playerStarts ? player : enemy;
|
|
||||||
|
|
||||||
while (true)
|
|
||||||
{
|
|
||||||
// 结束检查
|
|
||||||
if (player.IsDead || enemy.IsDead)
|
|
||||||
{
|
|
||||||
ICharacter winner = player.IsDead ? enemy : player;
|
|
||||||
OnCombatEnded?.Invoke(winner);
|
|
||||||
runningRoutine = null;
|
|
||||||
yield break;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool playerHas = player.HasCardsLeft();
|
|
||||||
bool enemyHas = enemy.HasCardsLeft();
|
|
||||||
|
|
||||||
if (!playerHas && !enemyHas)
|
|
||||||
{
|
|
||||||
// 双方都打空,等待玩家选择(由 UI 调用 ContinueAfterBothEmpty 或 EscapeFromCombat)
|
|
||||||
waitingForDecision = true;
|
|
||||||
decisionContinue = false;
|
|
||||||
decisionEscape = false;
|
|
||||||
OnBothEmpty?.Invoke();
|
|
||||||
|
|
||||||
// 等待选择
|
|
||||||
while (waitingForDecision)
|
|
||||||
yield return null;
|
|
||||||
|
|
||||||
if (decisionEscape)
|
|
||||||
{
|
|
||||||
// 玩家选择逃跑 -> 结束战斗,胜者设为 null(或按需要设成敌人/玩家)
|
|
||||||
OnCombatEnded?.Invoke(null);
|
|
||||||
runningRoutine = null;
|
|
||||||
yield break;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (decisionContinue)
|
|
||||||
{
|
|
||||||
// 重新从卡册读取(重置抽牌队列),保持生命与其它状态不变
|
|
||||||
player.InitializeDeckCycle();
|
|
||||||
enemy.InitializeDeckCycle();
|
|
||||||
// 继续循环(当前先手不变)
|
|
||||||
yield return null;
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// 当前回合:如果当前方没有牌则跳过(空过)
|
|
||||||
if (current.HasCardsLeft())
|
|
||||||
{
|
|
||||||
var card = current.GetNextCard();
|
|
||||||
ICharacter target;
|
|
||||||
if (current is PlayerController)
|
|
||||||
{
|
|
||||||
target = enemy;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
target = player;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// 触发卡牌效果(当前仅支持直接伤害)
|
|
||||||
if (card != null)
|
|
||||||
{
|
|
||||||
card.PlayCard(new CardContext(current, target));
|
|
||||||
OnCardPlayed?.Invoke(current, card);
|
|
||||||
}
|
|
||||||
|
|
||||||
// 检查死亡(将在下一循环顶部处理)
|
|
||||||
yield return new WaitForSeconds(turnDelay);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
// 跳过一轮,不延迟太久
|
|
||||||
yield return new WaitForSeconds(0.1f);
|
|
||||||
}
|
|
||||||
|
|
||||||
// 切换行动方
|
|
||||||
current = (current == player) ? enemy : player;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 当双方都打空时,UI 调用此方法选择继续下一轮(重新从卡册读取卡牌)
|
|
||||||
/// </summary>
|
|
||||||
public void ContinueAfterBothEmpty()
|
|
||||||
{
|
|
||||||
if (!waitingForDecision) return;
|
|
||||||
decisionContinue = true;
|
|
||||||
waitingForDecision = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 当双方都打空时,UI 调用此方法选择逃跑
|
|
||||||
/// </summary>
|
|
||||||
public void EscapeFromCombat()
|
|
||||||
{
|
|
||||||
if (!waitingForDecision) return;
|
|
||||||
decisionEscape = true;
|
|
||||||
waitingForDecision = false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 3e8e663fe8d349bea29b9887d29db187
|
|
||||||
timeCreated: 1760496426
|
|
@@ -1,49 +0,0 @@
|
|||||||
using System;
|
|
||||||
using UnityEngine;
|
|
||||||
using Gameplay;
|
|
||||||
using Interface;
|
|
||||||
using Gameplay.Enemy;
|
|
||||||
using Gameplay.Player;
|
|
||||||
|
|
||||||
namespace Gameplay.Combat
|
|
||||||
{
|
|
||||||
[RequireComponent(typeof(Collider))]
|
|
||||||
public class CombatTrigger : MonoBehaviour
|
|
||||||
{
|
|
||||||
//[Tooltip("战斗管理器引用(场景中单例/对象)")]
|
|
||||||
private CombatFlowManager combatManager;
|
|
||||||
|
|
||||||
[Tooltip("触发时指定的玩家 Combatant(可为空,manager 使用已配置的)")]
|
|
||||||
public PlayerController player;
|
|
||||||
|
|
||||||
[Tooltip("触发时指定的敌人 Combatant(可为空,manager 使用已配置的)")]
|
|
||||||
public EnemyController enemy;
|
|
||||||
|
|
||||||
[Tooltip("被触发后是否自动禁用触发器,避免重复触发")]
|
|
||||||
public bool disableAfterTrigger = true;
|
|
||||||
|
|
||||||
private void Start()
|
|
||||||
{
|
|
||||||
combatManager = CombatFlowManager.Instance;
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Reset()
|
|
||||||
{
|
|
||||||
// Collider 需要 isTrigger
|
|
||||||
var col = GetComponent<Collider>();
|
|
||||||
col.isTrigger = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
private void OnTriggerEnter(Collider other)
|
|
||||||
{
|
|
||||||
// 简单检测:玩家层或带有 "Player" 标签的物体
|
|
||||||
if (combatManager == null) return;
|
|
||||||
|
|
||||||
if (other.CompareTag("Player") || other.gameObject.layer == LayerMask.NameToLayer("Player"))
|
|
||||||
{
|
|
||||||
combatManager.StartCombat(player, enemy);
|
|
||||||
if (disableAfterTrigger) gameObject.SetActive(false);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 2d9265c2645847c2b5197ed2ba181c98
|
|
||||||
timeCreated: 1760496463
|
|
@@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 3b712b2fa4f743408e56868a21312535
|
|
||||||
timeCreated: 1760495486
|
|
@@ -1,77 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using Interface;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace Gameplay.Enemy
|
|
||||||
{
|
|
||||||
public class EnemyController : MonoBehaviour, ICharacter
|
|
||||||
{
|
|
||||||
[SerializeField] private string enemyName;
|
|
||||||
[SerializeField] private int maxHealth = 100;
|
|
||||||
public int MaxHealth => maxHealth;
|
|
||||||
public int CurrentHealth { get; set; }
|
|
||||||
|
|
||||||
[SerializeField] private CardBookData cardBookData;
|
|
||||||
private CardBook myCardBook;
|
|
||||||
private List<Card> cards;
|
|
||||||
private int currentCardIndex = 0;
|
|
||||||
|
|
||||||
public bool IsFlight { get; private set; }
|
|
||||||
public bool IsDead { get; private set; }
|
|
||||||
|
|
||||||
private void Awake()
|
|
||||||
{
|
|
||||||
CurrentHealth = MaxHealth;
|
|
||||||
myCardBook = new CardBook(cardBookData);
|
|
||||||
cards = new List<Card>();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void TakeDamage(int damage)
|
|
||||||
{
|
|
||||||
CurrentHealth -= damage;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void Heal(int heal)
|
|
||||||
{
|
|
||||||
CurrentHealth += heal;
|
|
||||||
if (CurrentHealth > MaxHealth)
|
|
||||||
{
|
|
||||||
CurrentHealth = MaxHealth;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public void StartCombat()
|
|
||||||
{
|
|
||||||
Debug.Log($"{name} Enemy Start Combat");
|
|
||||||
IsFlight = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void EndFlight()
|
|
||||||
{
|
|
||||||
Debug.Log($"{name} Enemy End Flight");
|
|
||||||
IsFlight = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
public bool HasCardsLeft()
|
|
||||||
{
|
|
||||||
return currentCardIndex < cards.Count;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Card GetNextCard()
|
|
||||||
{
|
|
||||||
if (!HasCardsLeft())
|
|
||||||
{
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
return cards[currentCardIndex++];
|
|
||||||
}
|
|
||||||
|
|
||||||
public void InitializeDeckCycle()
|
|
||||||
{
|
|
||||||
cards = myCardBook.GetCards().ToList();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: b5a587a681ae48d6b3a5dcd5a723fd5a
|
|
||||||
timeCreated: 1760512105
|
|
@@ -1,28 +0,0 @@
|
|||||||
using System;
|
|
||||||
using UnityEngine;
|
|
||||||
using Gameplay;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
namespace Interface
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 角色接口,可受伤害、治疗和添加Buff、发生战斗
|
|
||||||
/// 拥有卡牌书
|
|
||||||
/// </summary>
|
|
||||||
public interface ICharacter
|
|
||||||
{
|
|
||||||
// public int MaxHealth { get; }
|
|
||||||
// public int CurrentHealth { get; }
|
|
||||||
// public CardBook CardBook { get; }
|
|
||||||
// public List<Card> Cards { get; }
|
|
||||||
public bool IsFlight { get; }
|
|
||||||
public bool IsDead { get; }
|
|
||||||
public void TakeDamage(int damage);
|
|
||||||
public void Heal(int heal);
|
|
||||||
public void StartCombat();
|
|
||||||
public void EndFlight();
|
|
||||||
public bool HasCardsLeft();
|
|
||||||
public Card GetNextCard();
|
|
||||||
public void InitializeDeckCycle();
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: a0f41a6a18dd4801a9d6ba995cf09376
|
|
||||||
timeCreated: 1760420819
|
|
@@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 5e48e8b97eda4ce78cdf0df14fd37ec4
|
|
||||||
timeCreated: 1760362979
|
|
@@ -1,10 +0,0 @@
|
|||||||
using UnityEngine;
|
|
||||||
using Interface;
|
|
||||||
namespace Map
|
|
||||||
{
|
|
||||||
public class FlightTrigger : MonoBehaviour
|
|
||||||
{
|
|
||||||
[SerializeField] public ICharacter Player;
|
|
||||||
[SerializeField] public ICharacter Enemy;
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 5e697dc78ed84a3ab2e921a57c17be95
|
|
||||||
timeCreated: 1760495479
|
|
@@ -1,20 +0,0 @@
|
|||||||
using UnityEngine;
|
|
||||||
using System;
|
|
||||||
namespace Map
|
|
||||||
{
|
|
||||||
public class MapFlag : MonoBehaviour
|
|
||||||
{
|
|
||||||
public string FlagName;
|
|
||||||
public Vector3 Position;
|
|
||||||
public MapFlag ParentFlag;
|
|
||||||
public MapFlag LeftFlag;
|
|
||||||
public MapFlag RightFlag;
|
|
||||||
|
|
||||||
public event Action<MapFlag> OnPlayerEnter;
|
|
||||||
private void OnTriggerEnter(Collider other)
|
|
||||||
{
|
|
||||||
OnPlayerEnter?.Invoke(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 2c3ea88c92cc4d0bb6098983903be7fb
|
|
||||||
timeCreated: 1760444130
|
|
@@ -1,13 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using Core;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace Map
|
|
||||||
{
|
|
||||||
public class MapFlagManager : MonoSingleton<MapFlagManager>
|
|
||||||
{
|
|
||||||
public MapFlag StartFlag;
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: f13be1e244e84e3b93b0b3a4c054cb46
|
|
||||||
timeCreated: 1760424376
|
|
@@ -1,114 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Numerics;
|
|
||||||
using UnityEngine;
|
|
||||||
using Quaternion = UnityEngine.Quaternion;
|
|
||||||
using Vector3 = UnityEngine.Vector3;
|
|
||||||
|
|
||||||
namespace Gameplay.Player
|
|
||||||
{
|
|
||||||
public class PlayerCardsController : MonoBehaviour
|
|
||||||
{
|
|
||||||
[SerializeField] private float radius = 2f; // 卡牌围绕玩家旋转的半径
|
|
||||||
[SerializeField] private float rotationSpeed = 50f; // 卡牌旋转
|
|
||||||
[SerializeField] private float highOffset = 1f; // 卡牌高度偏移
|
|
||||||
public bool IsRotating = true; // 是否旋转卡牌
|
|
||||||
[SerializeField] private GameObject cardPrefab; // 卡牌预制体
|
|
||||||
|
|
||||||
public List<CardViewer> Cards;
|
|
||||||
private Transform playerTransform;
|
|
||||||
|
|
||||||
private void Update()
|
|
||||||
{
|
|
||||||
if (Cards != null)
|
|
||||||
{
|
|
||||||
//RotateCards();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// 生成卡牌实体
|
|
||||||
// 生成的卡牌实体围绕着玩家旋转
|
|
||||||
public void GenerateCards(List<Card> cards)
|
|
||||||
{
|
|
||||||
playerTransform = this.transform;
|
|
||||||
Cards = new List<CardViewer>();
|
|
||||||
for (int i = 0; i < cards.Count; i++)
|
|
||||||
{
|
|
||||||
float angle = i * (360f / cards.Count);
|
|
||||||
float rad = angle * Mathf.Deg2Rad;
|
|
||||||
Vector3 cardPosition = new Vector3(
|
|
||||||
playerTransform.position.x + radius * Mathf.Cos(rad),
|
|
||||||
playerTransform.position.y + highOffset,
|
|
||||||
playerTransform.position.z + radius * Mathf.Sin(rad)
|
|
||||||
);
|
|
||||||
|
|
||||||
GameObject cardObject = Instantiate(cardPrefab, cardPosition, Quaternion.identity);
|
|
||||||
|
|
||||||
Vector3 playerPosition = new Vector3(
|
|
||||||
playerTransform.position.x,
|
|
||||||
playerTransform.position.y + highOffset,
|
|
||||||
playerTransform.position.z
|
|
||||||
);
|
|
||||||
Cards[i].transform.LookAt(playerPosition);
|
|
||||||
|
|
||||||
CardViewer cardViewer = cardObject.GetComponent<CardViewer>();
|
|
||||||
cardViewer.SetCard(cards[i]);
|
|
||||||
Cards.Add(cardViewer);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// 旋转已经生成的卡牌实体
|
|
||||||
public void RotateCards()
|
|
||||||
{
|
|
||||||
if (!IsRotating) return;
|
|
||||||
for (int i = 0; i < Cards.Count; i++)
|
|
||||||
{
|
|
||||||
float angle = i * (360f / Cards.Count) + Time.time * rotationSpeed;
|
|
||||||
float rad = angle * Mathf.Deg2Rad;
|
|
||||||
Vector3 cardPosition = new Vector3(
|
|
||||||
playerTransform.position.x + radius * Mathf.Cos(rad),
|
|
||||||
playerTransform.position.y + highOffset,
|
|
||||||
playerTransform.position.z + radius * Mathf.Sin(rad)
|
|
||||||
);
|
|
||||||
Cards[i].transform.position = cardPosition;
|
|
||||||
|
|
||||||
Vector3 playerPosition = new Vector3(
|
|
||||||
playerTransform.position.x,
|
|
||||||
playerTransform.position.y + highOffset,
|
|
||||||
playerTransform.position.z
|
|
||||||
);
|
|
||||||
|
|
||||||
Cards[i].transform.LookAt(playerPosition);
|
|
||||||
// 卡牌绕着y轴旋转180度,从而让卡牌正面朝向玩家
|
|
||||||
Cards[i].transform.Rotate(0, 180, 0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public void StopRotatingCards()
|
|
||||||
{
|
|
||||||
IsRotating = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void StartRotatingCards()
|
|
||||||
{
|
|
||||||
IsRotating = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 删除卡牌实体
|
|
||||||
public void DeleteCards(CardViewer card)
|
|
||||||
{
|
|
||||||
Cards.Remove(card);
|
|
||||||
Destroy(card.gameObject);
|
|
||||||
}
|
|
||||||
|
|
||||||
public void ClearCards()
|
|
||||||
{
|
|
||||||
foreach (var card in Cards)
|
|
||||||
{
|
|
||||||
Destroy(card.gameObject);
|
|
||||||
}
|
|
||||||
|
|
||||||
Cards.Clear();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: cb0c79a8230343c29d902ad22e044d2b
|
|
||||||
timeCreated: 1760574485
|
|
@@ -8,14 +8,11 @@ using Core;
|
|||||||
|
|
||||||
namespace Gameplay.Player
|
namespace Gameplay.Player
|
||||||
{
|
{
|
||||||
public class PlayerController : MonoBehaviour, ICharacter
|
public class PlayerController : MonoBehaviour
|
||||||
{
|
{
|
||||||
public int MaxHealth { get; set; } = 100;
|
public int MaxHealth { get; set; } = 100;
|
||||||
public int CurrentHealth { get; private set; }
|
public int CurrentHealth { get; private set; }
|
||||||
|
|
||||||
[SerializeField] private CardBookData cardBookData;
|
|
||||||
public CardBook MyCardBook { get; private set; }
|
|
||||||
public List<Card> Cards { get; private set; }
|
|
||||||
private int currentCardIndex = 0;
|
private int currentCardIndex = 0;
|
||||||
|
|
||||||
public bool IsFlight { get; private set; }
|
public bool IsFlight { get; private set; }
|
||||||
@@ -23,25 +20,22 @@ namespace Gameplay.Player
|
|||||||
|
|
||||||
private PlayerMoveController playerMoveController;
|
private PlayerMoveController playerMoveController;
|
||||||
private PlayerCameraController playerCameraController;
|
private PlayerCameraController playerCameraController;
|
||||||
public PlayerCardsController playerCardsController;
|
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
playerMoveController = GetComponent<PlayerMoveController>();
|
playerMoveController = GetComponent<PlayerMoveController>();
|
||||||
playerCameraController = GetComponent<PlayerCameraController>();
|
playerCameraController = GetComponent<PlayerCameraController>();
|
||||||
playerCardsController = GetComponent<PlayerCardsController>();
|
|
||||||
|
|
||||||
CurrentHealth = MaxHealth;
|
CurrentHealth = MaxHealth;
|
||||||
MyCardBook = new CardBook(cardBookData);
|
|
||||||
Cards = new List<Card>();
|
|
||||||
|
|
||||||
ControllerLocator.Instance.Register(this);
|
ControllerLocator.Instance.Register(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Start()
|
private void Start()
|
||||||
{
|
{
|
||||||
Cards.Add(CardLoader.GetCardByID(1));
|
|
||||||
Cards.Add(CardLoader.GetCardByID(2));
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -58,43 +52,5 @@ namespace Gameplay.Player
|
|||||||
CurrentHealth = MaxHealth;
|
CurrentHealth = MaxHealth;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void StartCombat()
|
|
||||||
{
|
|
||||||
Debug.Log("Player StartCombat");
|
|
||||||
IsFlight = true;
|
|
||||||
playerMoveController.SetSpeed(0.5f);
|
|
||||||
|
|
||||||
playerCardsController.GenerateCards(Cards);
|
|
||||||
}
|
|
||||||
|
|
||||||
public void EndFlight()
|
|
||||||
{
|
|
||||||
Debug.Log("Player EndFlight");
|
|
||||||
IsFlight = false;
|
|
||||||
playerMoveController.ResetSpeed();
|
|
||||||
|
|
||||||
playerCardsController.ClearCards();
|
|
||||||
}
|
|
||||||
|
|
||||||
public bool HasCardsLeft()
|
|
||||||
{
|
|
||||||
return currentCardIndex < Cards.Count;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Card GetNextCard()
|
|
||||||
{
|
|
||||||
if (!HasCardsLeft())
|
|
||||||
{
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
return Cards[currentCardIndex++];
|
|
||||||
}
|
|
||||||
|
|
||||||
public void InitializeDeckCycle()
|
|
||||||
{
|
|
||||||
Cards = MyCardBook.GetCards().ToList();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -1,7 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using Core;
|
using Core;
|
||||||
using Script.Gameplay.Input;
|
using Script.Gameplay.Input;
|
||||||
using Map;
|
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace Gameplay.Player
|
namespace Gameplay.Player
|
||||||
|
Reference in New Issue
Block a user