Merge branch 'main' of https://burning.i234.me/fgb_ino/nightward
|
|
@ -15,7 +15,7 @@ MonoBehaviour:
|
|||
m_DefaultGroup: 965ebc3298ffc3f429a28032069aceb5
|
||||
m_currentHash:
|
||||
serializedVersion: 2
|
||||
Hash: 3b631a7a6ed9c42702ef1cce21efd474
|
||||
Hash: 00000000000000000000000000000000
|
||||
m_OptimizeCatalogSize: 0
|
||||
m_BuildRemoteCatalog: 0
|
||||
m_CatalogRequestsTimeout: 0
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 41 KiB |
|
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 41 KiB |
|
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 53 KiB |
|
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 41 KiB |
|
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
|
|
@ -1,6 +1,7 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using GUPS.AntiCheat.Protected;
|
||||
using Newtonsoft.Json;
|
||||
using System.Collections.Generic;
|
||||
|
||||
public enum eCollectionMethod { Default, Normal, Gacha, FullCollection, Mission }
|
||||
|
||||
|
|
@ -18,6 +19,11 @@ public class table_album : table_base
|
|||
|
||||
List<albumtabledata> tableDatas;
|
||||
Dictionary<int, List<albumtabledata>> dic_datas = new Dictionary<int, List<albumtabledata>>();
|
||||
Dictionary<eCollectionMethod, List<albumtabledata>> dic_Methods = new Dictionary<eCollectionMethod, List<albumtabledata>>
|
||||
{
|
||||
{ eCollectionMethod.Default, new List<albumtabledata>() },
|
||||
{ eCollectionMethod.FullCollection, new List<albumtabledata>() },
|
||||
};
|
||||
|
||||
protected override void Awake()
|
||||
{
|
||||
|
|
@ -34,12 +40,16 @@ public class table_album : table_base
|
|||
if (!dic_datas.ContainsKey(temp.n_GirlID))
|
||||
dic_datas.Add(temp.n_GirlID, new List<albumtabledata>());
|
||||
dic_datas[temp.n_GirlID].Add(temp);
|
||||
|
||||
if (dic_Methods.ContainsKey(temp.e_CollectionMethod))
|
||||
dic_Methods[temp.e_CollectionMethod].Add(temp);
|
||||
}
|
||||
base.Start();
|
||||
}
|
||||
|
||||
public List<albumtabledata> Get_DataList() { return tableDatas; }
|
||||
public List<albumtabledata> Get_DataList(int girl) { return dic_datas[girl]; }
|
||||
public List<albumtabledata> Get_DataList(eCollectionMethod method) { return dic_Methods[method]; }
|
||||
public List<albumtabledata> Get_AlbumDataList(int girl)
|
||||
{
|
||||
return Get_DataList(girl).FindAll(f => f.e_CollectionMethod == eCollectionMethod.Normal);
|
||||
|
|
@ -48,22 +58,15 @@ public class table_album : table_base
|
|||
{
|
||||
return Get_DataList(girl).Find(f => f.e_CollectionMethod == method);
|
||||
}
|
||||
public albumtabledata Get_PreData_orNull(albumtabledata data)
|
||||
public List<albumtabledata> Get_PreDatas(albumtabledata data)
|
||||
{
|
||||
for (int i = 0; i < tableDatas.Count; i++)
|
||||
{
|
||||
if (tableDatas[i].n_Index == data.n_Index)
|
||||
{
|
||||
for (int j = 0; j < 5; j++)
|
||||
{
|
||||
var pre = i - 1;
|
||||
if (pre < 0) return null;
|
||||
var temp = tableDatas[pre];
|
||||
if (temp.e_CollectionMethod == eCollectionMethod.Normal)
|
||||
return temp;
|
||||
}
|
||||
}
|
||||
}
|
||||
return null;
|
||||
int index = tableDatas.FindIndex(t => t.n_Index == data.n_Index);
|
||||
if (index <= 0) return null;
|
||||
|
||||
return tableDatas
|
||||
.GetRange(0, index)
|
||||
.AsEnumerable()
|
||||
.Reverse()
|
||||
.ToList();
|
||||
}
|
||||
}
|
||||
|
|
@ -8,7 +8,7 @@ AnimationClip:
|
|||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: Gacha_LuckyPoint
|
||||
serializedVersion: 7
|
||||
m_Legacy: 1
|
||||
m_Legacy: 0
|
||||
m_Compressed: 0
|
||||
m_UseHighQualityCurve: 1
|
||||
m_RotationCurves: []
|
||||
|
|
@ -127,7 +127,34 @@ AnimationClip:
|
|||
m_Center: {x: 0, y: 0, z: 0}
|
||||
m_Extent: {x: 0, y: 0, z: 0}
|
||||
m_ClipBindingConstant:
|
||||
genericBindings: []
|
||||
genericBindings:
|
||||
- serializedVersion: 2
|
||||
path: 0
|
||||
attribute: 3
|
||||
script: {fileID: 0}
|
||||
typeID: 4
|
||||
customType: 0
|
||||
isPPtrCurve: 0
|
||||
isIntCurve: 0
|
||||
isSerializeReferenceCurve: 0
|
||||
- serializedVersion: 2
|
||||
path: 0
|
||||
attribute: 538195251
|
||||
script: {fileID: 0}
|
||||
typeID: 224
|
||||
customType: 28
|
||||
isPPtrCurve: 0
|
||||
isIntCurve: 0
|
||||
isSerializeReferenceCurve: 0
|
||||
- serializedVersion: 2
|
||||
path: 0
|
||||
attribute: 4185109675
|
||||
script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
|
||||
typeID: 114
|
||||
customType: 0
|
||||
isPPtrCurve: 0
|
||||
isIntCurve: 0
|
||||
isSerializeReferenceCurve: 0
|
||||
pptrCurveMapping: []
|
||||
m_AnimationClipSettings:
|
||||
serializedVersion: 2
|
||||
|
|
@ -139,7 +166,7 @@ AnimationClip:
|
|||
m_Level: 0
|
||||
m_CycleOffset: 0
|
||||
m_HasAdditiveReferencePose: 0
|
||||
m_LoopTime: 1
|
||||
m_LoopTime: 0
|
||||
m_LoopBlend: 0
|
||||
m_LoopBlendOrientation: 0
|
||||
m_LoopBlendPositionY: 0
|
||||
|
|
|
|||
|
|
@ -0,0 +1,72 @@
|
|||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!91 &9100000
|
||||
AnimatorController:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: LuckyPointCard
|
||||
serializedVersion: 5
|
||||
m_AnimatorParameters: []
|
||||
m_AnimatorLayers:
|
||||
- serializedVersion: 5
|
||||
m_Name: Base Layer
|
||||
m_StateMachine: {fileID: 4767797584741138550}
|
||||
m_Mask: {fileID: 0}
|
||||
m_Motions: []
|
||||
m_Behaviours: []
|
||||
m_BlendingMode: 0
|
||||
m_SyncedLayerIndex: -1
|
||||
m_DefaultWeight: 0
|
||||
m_IKPass: 0
|
||||
m_SyncedLayerAffectsTiming: 0
|
||||
m_Controller: {fileID: 9100000}
|
||||
--- !u!1107 &4767797584741138550
|
||||
AnimatorStateMachine:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 1
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: Base Layer
|
||||
m_ChildStates:
|
||||
- serializedVersion: 1
|
||||
m_State: {fileID: 8446897555024683593}
|
||||
m_Position: {x: 240, y: 70, z: 0}
|
||||
m_ChildStateMachines: []
|
||||
m_AnyStateTransitions: []
|
||||
m_EntryTransitions: []
|
||||
m_StateMachineTransitions: {}
|
||||
m_StateMachineBehaviours: []
|
||||
m_AnyStatePosition: {x: 50, y: 20, z: 0}
|
||||
m_EntryPosition: {x: 50, y: 120, z: 0}
|
||||
m_ExitPosition: {x: 800, y: 120, z: 0}
|
||||
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
|
||||
m_DefaultState: {fileID: 8446897555024683593}
|
||||
--- !u!1102 &8446897555024683593
|
||||
AnimatorState:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 1
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: Gacha_LuckyPoint
|
||||
m_Speed: 1
|
||||
m_CycleOffset: 0
|
||||
m_Transitions: []
|
||||
m_StateMachineBehaviours: []
|
||||
m_Position: {x: 50, y: 50, z: 0}
|
||||
m_IKOnFeet: 0
|
||||
m_WriteDefaultValues: 1
|
||||
m_Mirror: 0
|
||||
m_SpeedParameterActive: 0
|
||||
m_MirrorParameterActive: 0
|
||||
m_CycleOffsetParameterActive: 0
|
||||
m_TimeParameterActive: 0
|
||||
m_Motion: {fileID: 7400000, guid: c54a608985440d140b98eb5ebc99441b, type: 2}
|
||||
m_Tag:
|
||||
m_SpeedParameter:
|
||||
m_MirrorParameter:
|
||||
m_CycleOffsetParameter:
|
||||
m_TimeParameter:
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: f2e6fe5a9d0121f418f79d48813dc345
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 9100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
After Width: | Height: | Size: 1.0 KiB |
|
|
@ -0,0 +1,156 @@
|
|||
fileFormatVersion: 2
|
||||
guid: fb60bdd37f084614aaa0f8b981f71e43
|
||||
TextureImporter:
|
||||
internalIDToNameTable:
|
||||
- first:
|
||||
213: 2597099524350813476
|
||||
second: ui_line_0
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 1
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 27, y: 27, z: 27, w: 27}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 4
|
||||
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: 4
|
||||
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: 4
|
||||
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:
|
||||
- serializedVersion: 2
|
||||
name: ui_line_0
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 64
|
||||
height: 64
|
||||
alignment: 0
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
customData:
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: -1
|
||||
bones: []
|
||||
spriteID: 4252443e140ca0420800000000000000
|
||||
internalID: 2597099524350813476
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 1537655665
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable:
|
||||
ui_line_0: 2597099524350813476
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
After Width: | Height: | Size: 1.4 KiB |
|
|
@ -0,0 +1,156 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 0a247a7aedde2e34dbce9f06fbd9bcfc
|
||||
TextureImporter:
|
||||
internalIDToNameTable:
|
||||
- first:
|
||||
213: -2018056470637628874
|
||||
second: whitebg_round3_0
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 1
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 51, y: 35, z: 32, w: 15}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 4
|
||||
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: 4
|
||||
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: 4
|
||||
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:
|
||||
- serializedVersion: 2
|
||||
name: whitebg_round3_0
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 91
|
||||
height: 59
|
||||
alignment: 0
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
customData:
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: -1
|
||||
bones: []
|
||||
spriteID: 63237f2055c6ef3e0800000000000000
|
||||
internalID: -2018056470637628874
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 1537655665
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable:
|
||||
whitebg_round3_0: -2018056470637628874
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
|
@ -67,7 +67,7 @@ MonoBehaviour:
|
|||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_Sprite: {fileID: 21300000, guid: dc2a5fd3e955ded4f93b068c225c420e, type: 3}
|
||||
m_Sprite: {fileID: 0}
|
||||
m_Type: 0
|
||||
m_PreserveAspect: 1
|
||||
m_FillCenter: 1
|
||||
|
|
@ -225,7 +225,7 @@ MonoBehaviour:
|
|||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 0, g: 0, b: 0, a: 1}
|
||||
m_Color: {r: 0.28862587, g: 0.36129406, b: 0.4339623, a: 1}
|
||||
m_RaycastTarget: 0
|
||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_Maskable: 1
|
||||
|
|
@ -242,6 +242,142 @@ MonoBehaviour:
|
|||
m_FillOrigin: 0
|
||||
m_UseSpriteMesh: 0
|
||||
m_PixelsPerUnitMultiplier: 1
|
||||
--- !u!1 &5227396241920543951
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 825892932387435295}
|
||||
- component: {fileID: 1937806880169876016}
|
||||
- component: {fileID: 1571951041209947402}
|
||||
m_Layer: 5
|
||||
m_Name: t_price
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &825892932387435295
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5227396241920543951}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 8199163299422104171}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0.0000019073486, y: 0}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &1937806880169876016
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5227396241920543951}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &1571951041209947402
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5227396241920543951}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_RaycastTarget: 0
|
||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_Maskable: 1
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_text: "\uC989\uC2DC \uAC1C\uBC29"
|
||||
m_isRightToLeft: 0
|
||||
m_fontAsset: {fileID: 11400000, guid: 3055b5c28f94e6c4ea6b9a379bb315a5, type: 2}
|
||||
m_sharedMaterial: {fileID: -3574565475228871172, guid: 3055b5c28f94e6c4ea6b9a379bb315a5, type: 2}
|
||||
m_fontSharedMaterials: []
|
||||
m_fontMaterial: {fileID: 0}
|
||||
m_fontMaterials: []
|
||||
m_fontColor32:
|
||||
serializedVersion: 2
|
||||
rgba: 4282723336
|
||||
m_fontColor: {r: 0.03137255, g: 0.17254902, b: 0.27058825, a: 1}
|
||||
m_enableVertexGradient: 0
|
||||
m_colorMode: 3
|
||||
m_fontColorGradient:
|
||||
topLeft: {r: 1, g: 1, b: 1, a: 1}
|
||||
topRight: {r: 1, g: 1, b: 1, a: 1}
|
||||
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
|
||||
bottomRight: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_fontColorGradientPreset: {fileID: 0}
|
||||
m_spriteAsset: {fileID: 0}
|
||||
m_tintAllSprites: 0
|
||||
m_StyleSheet: {fileID: 0}
|
||||
m_TextStyleHashCode: -1183493901
|
||||
m_overrideHtmlColors: 0
|
||||
m_faceColor:
|
||||
serializedVersion: 2
|
||||
rgba: 4294967295
|
||||
m_fontSize: 30
|
||||
m_fontSizeBase: 30
|
||||
m_fontWeight: 400
|
||||
m_enableAutoSizing: 0
|
||||
m_fontSizeMin: 25
|
||||
m_fontSizeMax: 100
|
||||
m_fontStyle: 0
|
||||
m_HorizontalAlignment: 2
|
||||
m_VerticalAlignment: 4096
|
||||
m_textAlignment: 65535
|
||||
m_characterSpacing: 0
|
||||
m_wordSpacing: 0
|
||||
m_lineSpacing: 0
|
||||
m_lineSpacingMax: 0
|
||||
m_paragraphSpacing: 0
|
||||
m_charWidthMaxAdj: 0
|
||||
m_TextWrappingMode: 1
|
||||
m_wordWrappingRatios: 0.4
|
||||
m_overflowMode: 0
|
||||
m_linkedTextComponent: {fileID: 0}
|
||||
parentLinkedComponent: {fileID: 0}
|
||||
m_enableKerning: 0
|
||||
m_ActiveFontFeatures: 6e72656b
|
||||
m_enableExtraPadding: 0
|
||||
checkPaddingRequired: 0
|
||||
m_isRichText: 1
|
||||
m_EmojiFallbackSupport: 1
|
||||
m_parseCtrlCharacters: 1
|
||||
m_isOrthographic: 1
|
||||
m_isCullingEnabled: 0
|
||||
m_horizontalMapping: 0
|
||||
m_verticalMapping: 0
|
||||
m_uvLineOffset: 0
|
||||
m_geometrySortingOrder: 0
|
||||
m_IsTextObjectScaleStatic: 0
|
||||
m_VertexBufferAutoSizeReduction: 0
|
||||
m_useMaxVisibleDescender: 1
|
||||
m_pageToDisplay: 1
|
||||
m_margin: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_isUsingLegacyAnimationComponent: 0
|
||||
m_isVolumetricText: 0
|
||||
m_hasFontAssetChanged: 0
|
||||
m_baseMaterial: {fileID: 0}
|
||||
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
|
||||
--- !u!1 &5676652756216956804
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -276,7 +412,7 @@ RectTransform:
|
|||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: 28.776619, y: 5.3621}
|
||||
m_AnchoredPosition: {x: 28.776619, y: 5.3621006}
|
||||
m_SizeDelta: {x: -57.5532, y: -10.724}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &100661785928780051
|
||||
|
|
@ -484,6 +620,7 @@ RectTransform:
|
|||
m_Children:
|
||||
- {fileID: 6569661889772096336}
|
||||
- {fileID: 2161759319219929201}
|
||||
- {fileID: 8199163299422104171}
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
|
|
@ -508,6 +645,7 @@ MonoBehaviour:
|
|||
gos:
|
||||
- {fileID: 8113042082887579480}
|
||||
- {fileID: 4334567281100443090}
|
||||
- {fileID: 7865686170266762980}
|
||||
--- !u!1 &7577317983603397655
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -569,15 +707,15 @@ MonoBehaviour:
|
|||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 0}
|
||||
m_Color: {r: 0.4431373, g: 0.5568628, b: 0.67058825, a: 0}
|
||||
m_RaycastTarget: 1
|
||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_Maskable: 1
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_Sprite: {fileID: 21300000, guid: 7f86f171e2d96b34cbd3ce44675ba66a, type: 3}
|
||||
m_Type: 1
|
||||
m_Sprite: {fileID: 21300000, guid: b0a7567624709ee45872c0e655845f2d, type: 3}
|
||||
m_Type: 0
|
||||
m_PreserveAspect: 0
|
||||
m_FillCenter: 1
|
||||
m_FillMethod: 4
|
||||
|
|
@ -655,6 +793,153 @@ MonoBehaviour:
|
|||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Sound: 0
|
||||
--- !u!1 &7865686170266762980
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 8199163299422104171}
|
||||
- component: {fileID: 4920146919282543932}
|
||||
- component: {fileID: 3305533949338685567}
|
||||
- component: {fileID: 8183749935228788311}
|
||||
- component: {fileID: 4220512496799574660}
|
||||
m_Layer: 5
|
||||
m_Name: btn_open (1)
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &8199163299422104171
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7865686170266762980}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 825892932387435295}
|
||||
m_Father: {fileID: 1784483653465108159}
|
||||
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, y: 41.300003}
|
||||
m_SizeDelta: {x: 200, y: 70}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &4920146919282543932
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7865686170266762980}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &3305533949338685567
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7865686170266762980}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_RaycastTarget: 1
|
||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_Maskable: 1
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_Sprite: {fileID: 21300000, guid: ea31c492fafdaff4ab85cf2a8c268b99, type: 3}
|
||||
m_Type: 1
|
||||
m_PreserveAspect: 0
|
||||
m_FillCenter: 1
|
||||
m_FillMethod: 4
|
||||
m_FillAmount: 1
|
||||
m_FillClockwise: 1
|
||||
m_FillOrigin: 0
|
||||
m_UseSpriteMesh: 0
|
||||
m_PixelsPerUnitMultiplier: 1
|
||||
--- !u!114 &8183749935228788311
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7865686170266762980}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Navigation:
|
||||
m_Mode: 3
|
||||
m_WrapAround: 0
|
||||
m_SelectOnUp: {fileID: 0}
|
||||
m_SelectOnDown: {fileID: 0}
|
||||
m_SelectOnLeft: {fileID: 0}
|
||||
m_SelectOnRight: {fileID: 0}
|
||||
m_Transition: 1
|
||||
m_Colors:
|
||||
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
|
||||
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
|
||||
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
|
||||
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
|
||||
m_ColorMultiplier: 1
|
||||
m_FadeDuration: 0.1
|
||||
m_SpriteState:
|
||||
m_HighlightedSprite: {fileID: 0}
|
||||
m_PressedSprite: {fileID: 0}
|
||||
m_SelectedSprite: {fileID: 0}
|
||||
m_DisabledSprite: {fileID: 0}
|
||||
m_AnimationTriggers:
|
||||
m_NormalTrigger: Normal
|
||||
m_HighlightedTrigger: Highlighted
|
||||
m_PressedTrigger: Pressed
|
||||
m_SelectedTrigger: Selected
|
||||
m_DisabledTrigger: Disabled
|
||||
m_Interactable: 1
|
||||
m_TargetGraphic: {fileID: 3305533949338685567}
|
||||
m_OnClick:
|
||||
m_PersistentCalls:
|
||||
m_Calls:
|
||||
- m_Target: {fileID: 3717553095776443215}
|
||||
m_TargetAssemblyTypeName: AlbumCard, Assembly-CSharp
|
||||
m_MethodName: OnClick_Buy
|
||||
m_Mode: 1
|
||||
m_Arguments:
|
||||
m_ObjectArgument: {fileID: 0}
|
||||
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
|
||||
m_IntArgument: 0
|
||||
m_FloatArgument: 0
|
||||
m_StringArgument:
|
||||
m_BoolArgument: 0
|
||||
m_CallState: 2
|
||||
--- !u!114 &4220512496799574660
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7865686170266762980}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 4848326f7db925d4fbcdb35f789b75f5, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Sound: 0
|
||||
--- !u!1 &8113042082887579480
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -693,8 +978,8 @@ RectTransform:
|
|||
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, y: 52}
|
||||
m_SizeDelta: {x: 200, y: 79}
|
||||
m_AnchoredPosition: {x: 0, y: 41.300003}
|
||||
m_SizeDelta: {x: 200, y: 70}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &9053791354744707679
|
||||
CanvasRenderer:
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ GameObject:
|
|||
- component: {fileID: 1513009740226389320}
|
||||
- component: {fileID: 2252371788284656643}
|
||||
- component: {fileID: 6346176042650486547}
|
||||
- component: {fileID: 5749544827683741712}
|
||||
- component: {fileID: 4945616956776543947}
|
||||
m_Layer: 5
|
||||
m_Name: LuckyPointCard
|
||||
m_TagString: Untagged
|
||||
|
|
@ -66,7 +66,7 @@ MonoBehaviour:
|
|||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_text: 000
|
||||
m_text:
|
||||
m_isRightToLeft: 0
|
||||
m_fontAsset: {fileID: 11400000, guid: 3055b5c28f94e6c4ea6b9a379bb315a5, type: 2}
|
||||
m_sharedMaterial: {fileID: 2100000, guid: 8ffa725990f335d489bf5cbd72b04e51, type: 2}
|
||||
|
|
@ -137,20 +137,25 @@ MonoBehaviour:
|
|||
m_hasFontAssetChanged: 0
|
||||
m_baseMaterial: {fileID: 0}
|
||||
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
|
||||
--- !u!111 &5749544827683741712
|
||||
Animation:
|
||||
--- !u!95 &4945616956776543947
|
||||
Animator:
|
||||
serializedVersion: 7
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 691197990866929027}
|
||||
m_Enabled: 1
|
||||
serializedVersion: 4
|
||||
m_Animation: {fileID: 7400000, guid: c54a608985440d140b98eb5ebc99441b, type: 2}
|
||||
m_Animations:
|
||||
- {fileID: 7400000, guid: c54a608985440d140b98eb5ebc99441b, type: 2}
|
||||
m_WrapMode: 0
|
||||
m_PlayAutomatically: 1
|
||||
m_Avatar: {fileID: 0}
|
||||
m_Controller: {fileID: 9100000, guid: f2e6fe5a9d0121f418f79d48813dc345, type: 2}
|
||||
m_CullingMode: 0
|
||||
m_UpdateMode: 2
|
||||
m_ApplyRootMotion: 0
|
||||
m_LinearVelocityBlending: 0
|
||||
m_StabilizeFeet: 0
|
||||
m_AnimatePhysics: 0
|
||||
m_UpdateMode: 0
|
||||
m_CullingType: 0
|
||||
m_WarningMessage:
|
||||
m_HasTransformHierarchy: 1
|
||||
m_AllowConstantClipSamplingOptimization: 1
|
||||
m_KeepAnimatorStateOnDisable: 0
|
||||
m_WriteDefaultValuesOnDisable: 0
|
||||
|
|
|
|||
|
|
@ -0,0 +1,544 @@
|
|||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1 &2776988587117708669
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 2634587889572366321}
|
||||
- component: {fileID: 9161192392734259589}
|
||||
- component: {fileID: 3802861065803505371}
|
||||
m_Layer: 5
|
||||
m_Name: lock
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &2634587889572366321
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2776988587117708669}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 4922276276996009152}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 0}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &9161192392734259589
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2776988587117708669}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &3802861065803505371
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2776988587117708669}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 0, g: 0, b: 0, a: 0.98039216}
|
||||
m_RaycastTarget: 1
|
||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_Maskable: 1
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_Sprite: {fileID: 21300000, guid: b0a7567624709ee45872c0e655845f2d, type: 3}
|
||||
m_Type: 0
|
||||
m_PreserveAspect: 0
|
||||
m_FillCenter: 1
|
||||
m_FillMethod: 4
|
||||
m_FillAmount: 1
|
||||
m_FillClockwise: 1
|
||||
m_FillOrigin: 0
|
||||
m_UseSpriteMesh: 0
|
||||
m_PixelsPerUnitMultiplier: 1
|
||||
--- !u!1 &3088983562306159951
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 2110473591468544536}
|
||||
- component: {fileID: 8062734038843594925}
|
||||
- component: {fileID: 1001635708106491496}
|
||||
m_Layer: 5
|
||||
m_Name: New Image
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &2110473591468544536
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3088983562306159951}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 410278250123219646}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||
m_AnchoredPosition: {x: 4.5, y: -35.27}
|
||||
m_SizeDelta: {x: 73.07, y: 58.99}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &8062734038843594925
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3088983562306159951}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &1001635708106491496
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3088983562306159951}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_RaycastTarget: 0
|
||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_Maskable: 1
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_Sprite: {fileID: 21300000, guid: b9f1f1573e042254d90ec8378838c6d6, type: 3}
|
||||
m_Type: 0
|
||||
m_PreserveAspect: 0
|
||||
m_FillCenter: 1
|
||||
m_FillMethod: 4
|
||||
m_FillAmount: 1
|
||||
m_FillClockwise: 1
|
||||
m_FillOrigin: 0
|
||||
m_UseSpriteMesh: 0
|
||||
m_PixelsPerUnitMultiplier: 1
|
||||
--- !u!1 &3443157994152794936
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 410278250123219646}
|
||||
- component: {fileID: 7414440032841333202}
|
||||
- component: {fileID: 2631988087088589108}
|
||||
m_Layer: 5
|
||||
m_Name: Select
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &410278250123219646
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3443157994152794936}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 2110473591468544536}
|
||||
m_Father: {fileID: 4922276276996009152}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 182.4, y: 279.19}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &7414440032841333202
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3443157994152794936}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &2631988087088589108
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3443157994152794936}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 0.03137255, g: 0.7686275, b: 0.86274517, a: 1}
|
||||
m_RaycastTarget: 0
|
||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_Maskable: 1
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_Sprite: {fileID: 21300000, guid: fb60bdd37f084614aaa0f8b981f71e43, type: 3}
|
||||
m_Type: 1
|
||||
m_PreserveAspect: 0
|
||||
m_FillCenter: 1
|
||||
m_FillMethod: 4
|
||||
m_FillAmount: 1
|
||||
m_FillClockwise: 1
|
||||
m_FillOrigin: 0
|
||||
m_UseSpriteMesh: 0
|
||||
m_PixelsPerUnitMultiplier: 1
|
||||
--- !u!1 &5658196371306525782
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 7202506127855867970}
|
||||
- component: {fileID: 5337996718570160427}
|
||||
- component: {fileID: 1021785955856153382}
|
||||
m_Layer: 5
|
||||
m_Name: i_girl
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &7202506127855867970
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5658196371306525782}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 4922276276996009152}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 182.57, y: 278.77}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &5337996718570160427
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5658196371306525782}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &1021785955856153382
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5658196371306525782}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_RaycastTarget: 0
|
||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_Maskable: 1
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_Sprite: {fileID: 21300000, guid: dc2a5fd3e955ded4f93b068c225c420e, type: 3}
|
||||
m_Type: 0
|
||||
m_PreserveAspect: 0
|
||||
m_FillCenter: 1
|
||||
m_FillMethod: 4
|
||||
m_FillAmount: 1
|
||||
m_FillClockwise: 1
|
||||
m_FillOrigin: 0
|
||||
m_UseSpriteMesh: 0
|
||||
m_PixelsPerUnitMultiplier: 1
|
||||
--- !u!1 &6443146011679167995
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 4922276276996009152}
|
||||
- component: {fileID: 6697497042235404091}
|
||||
- component: {fileID: 710054882034231600}
|
||||
- component: {fileID: 8665733979061319008}
|
||||
m_Layer: 5
|
||||
m_Name: MiniGameAlbumSelectCard
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &4922276276996009152
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6443146011679167995}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 8354647114390830827}
|
||||
- {fileID: 7202506127855867970}
|
||||
- {fileID: 410278250123219646}
|
||||
- {fileID: 2634587889572366321}
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 182.57, y: 278.77}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &6697497042235404091
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6443146011679167995}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 8c253c2ae4bf00840b50cc15c4736271, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
i_girl: {fileID: 1021785955856153382}
|
||||
go_select: {fileID: 3443157994152794936}
|
||||
go_lock: {fileID: 2776988587117708669}
|
||||
--- !u!222 &710054882034231600
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6443146011679167995}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &8665733979061319008
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6443146011679167995}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 0.57254905, g: 0.6431373, b: 0.7058824, a: 1}
|
||||
m_RaycastTarget: 0
|
||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_Maskable: 1
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_Sprite: {fileID: 21300000, guid: b0a7567624709ee45872c0e655845f2d, type: 3}
|
||||
m_Type: 0
|
||||
m_PreserveAspect: 0
|
||||
m_FillCenter: 1
|
||||
m_FillMethod: 4
|
||||
m_FillAmount: 1
|
||||
m_FillClockwise: 1
|
||||
m_FillOrigin: 0
|
||||
m_UseSpriteMesh: 0
|
||||
m_PixelsPerUnitMultiplier: 1
|
||||
--- !u!1 &7757166461313602615
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 8354647114390830827}
|
||||
- component: {fileID: 8760960441944888947}
|
||||
- component: {fileID: 5155084399935930702}
|
||||
- component: {fileID: 4461886363729427329}
|
||||
- component: {fileID: 7572442280478464255}
|
||||
m_Layer: 5
|
||||
m_Name: btn_
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &8354647114390830827
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7757166461313602615}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 4922276276996009152}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 0}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &8760960441944888947
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7757166461313602615}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &5155084399935930702
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7757166461313602615}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 0}
|
||||
m_RaycastTarget: 1
|
||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_Maskable: 1
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_Sprite: {fileID: 21300000, guid: b0a7567624709ee45872c0e655845f2d, type: 3}
|
||||
m_Type: 0
|
||||
m_PreserveAspect: 0
|
||||
m_FillCenter: 1
|
||||
m_FillMethod: 4
|
||||
m_FillAmount: 1
|
||||
m_FillClockwise: 1
|
||||
m_FillOrigin: 0
|
||||
m_UseSpriteMesh: 0
|
||||
m_PixelsPerUnitMultiplier: 1
|
||||
--- !u!114 &4461886363729427329
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7757166461313602615}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Navigation:
|
||||
m_Mode: 3
|
||||
m_WrapAround: 0
|
||||
m_SelectOnUp: {fileID: 0}
|
||||
m_SelectOnDown: {fileID: 0}
|
||||
m_SelectOnLeft: {fileID: 0}
|
||||
m_SelectOnRight: {fileID: 0}
|
||||
m_Transition: 1
|
||||
m_Colors:
|
||||
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
|
||||
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
|
||||
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
|
||||
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
|
||||
m_ColorMultiplier: 1
|
||||
m_FadeDuration: 0.1
|
||||
m_SpriteState:
|
||||
m_HighlightedSprite: {fileID: 0}
|
||||
m_PressedSprite: {fileID: 0}
|
||||
m_SelectedSprite: {fileID: 0}
|
||||
m_DisabledSprite: {fileID: 0}
|
||||
m_AnimationTriggers:
|
||||
m_NormalTrigger: Normal
|
||||
m_HighlightedTrigger: Highlighted
|
||||
m_PressedTrigger: Pressed
|
||||
m_SelectedTrigger: Selected
|
||||
m_DisabledTrigger: Disabled
|
||||
m_Interactable: 1
|
||||
m_TargetGraphic: {fileID: 5155084399935930702}
|
||||
m_OnClick:
|
||||
m_PersistentCalls:
|
||||
m_Calls:
|
||||
- m_Target: {fileID: 6697497042235404091}
|
||||
m_TargetAssemblyTypeName: MiniGameAlbumSelectCard, Assembly-CSharp
|
||||
m_MethodName: OnClick_Card
|
||||
m_Mode: 1
|
||||
m_Arguments:
|
||||
m_ObjectArgument: {fileID: 0}
|
||||
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
|
||||
m_IntArgument: 0
|
||||
m_FloatArgument: 0
|
||||
m_StringArgument:
|
||||
m_BoolArgument: 0
|
||||
m_CallState: 2
|
||||
--- !u!114 &7572442280478464255
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7757166461313602615}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 4848326f7db925d4fbcdb35f789b75f5, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Sound: 0
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 17a6e222ffff0344793eec2430f0412d
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
|
@ -964,6 +964,153 @@ MonoBehaviour:
|
|||
m_hasFontAssetChanged: 0
|
||||
m_baseMaterial: {fileID: 0}
|
||||
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
|
||||
--- !u!1 &2159384124248817042
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1039647742852014620}
|
||||
- component: {fileID: 328558281622597738}
|
||||
- component: {fileID: 5962538349329240704}
|
||||
- component: {fileID: 5883985966762182576}
|
||||
- component: {fileID: 5738172272841995233}
|
||||
m_Layer: 5
|
||||
m_Name: btn_change
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
--- !u!224 &1039647742852014620
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2159384124248817042}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 8517990798108389276}
|
||||
m_Father: {fileID: 2198343314357404905}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||
m_AnchoredPosition: {x: -304, y: 416}
|
||||
m_SizeDelta: {x: 60.71, y: 60.71}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &328558281622597738
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2159384124248817042}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &5962538349329240704
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2159384124248817042}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 0.57254905, g: 0.6431373, b: 0.7058824, a: 1}
|
||||
m_RaycastTarget: 0
|
||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_Maskable: 1
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_Sprite: {fileID: 21300000, guid: 511a3d63bb91c5147a49d252b69daf99, type: 3}
|
||||
m_Type: 0
|
||||
m_PreserveAspect: 0
|
||||
m_FillCenter: 1
|
||||
m_FillMethod: 4
|
||||
m_FillAmount: 1
|
||||
m_FillClockwise: 1
|
||||
m_FillOrigin: 0
|
||||
m_UseSpriteMesh: 0
|
||||
m_PixelsPerUnitMultiplier: 1
|
||||
--- !u!114 &5883985966762182576
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2159384124248817042}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Navigation:
|
||||
m_Mode: 3
|
||||
m_WrapAround: 0
|
||||
m_SelectOnUp: {fileID: 0}
|
||||
m_SelectOnDown: {fileID: 0}
|
||||
m_SelectOnLeft: {fileID: 0}
|
||||
m_SelectOnRight: {fileID: 0}
|
||||
m_Transition: 1
|
||||
m_Colors:
|
||||
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
|
||||
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
|
||||
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
|
||||
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
|
||||
m_ColorMultiplier: 1
|
||||
m_FadeDuration: 0.1
|
||||
m_SpriteState:
|
||||
m_HighlightedSprite: {fileID: 0}
|
||||
m_PressedSprite: {fileID: 0}
|
||||
m_SelectedSprite: {fileID: 0}
|
||||
m_DisabledSprite: {fileID: 0}
|
||||
m_AnimationTriggers:
|
||||
m_NormalTrigger: Normal
|
||||
m_HighlightedTrigger: Highlighted
|
||||
m_PressedTrigger: Pressed
|
||||
m_SelectedTrigger: Selected
|
||||
m_DisabledTrigger: Disabled
|
||||
m_Interactable: 1
|
||||
m_TargetGraphic: {fileID: 3453230938032574967}
|
||||
m_OnClick:
|
||||
m_PersistentCalls:
|
||||
m_Calls:
|
||||
- m_Target: {fileID: 8261734003590410589}
|
||||
m_TargetAssemblyTypeName:
|
||||
m_MethodName:
|
||||
m_Mode: 1
|
||||
m_Arguments:
|
||||
m_ObjectArgument: {fileID: 0}
|
||||
m_ObjectArgumentAssemblyTypeName:
|
||||
m_IntArgument: 0
|
||||
m_FloatArgument: 0
|
||||
m_StringArgument:
|
||||
m_BoolArgument: 0
|
||||
m_CallState: 2
|
||||
--- !u!114 &5738172272841995233
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2159384124248817042}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 4848326f7db925d4fbcdb35f789b75f5, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Sound: 0
|
||||
--- !u!1 &2471925338338434829
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -1337,6 +1484,81 @@ MonoBehaviour:
|
|||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Sound: 0
|
||||
--- !u!1 &4573150743613332422
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 8517990798108389276}
|
||||
- component: {fileID: 3348917850046397928}
|
||||
- component: {fileID: 5245283632251915302}
|
||||
m_Layer: 5
|
||||
m_Name: New Image
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &8517990798108389276
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4573150743613332422}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 1039647742852014620}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||
m_AnchoredPosition: {x: 0.2, y: -0.7}
|
||||
m_SizeDelta: {x: 43.3, y: 44.16}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &3348917850046397928
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4573150743613332422}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &5245283632251915302
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4573150743613332422}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_RaycastTarget: 0
|
||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_Maskable: 1
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_Sprite: {fileID: 21300000, guid: b2b4d3a9b1dd53f4d977a1a1247037da, type: 3}
|
||||
m_Type: 0
|
||||
m_PreserveAspect: 0
|
||||
m_FillCenter: 1
|
||||
m_FillMethod: 4
|
||||
m_FillAmount: 1
|
||||
m_FillClockwise: 1
|
||||
m_FillOrigin: 0
|
||||
m_UseSpriteMesh: 0
|
||||
m_PixelsPerUnitMultiplier: 1
|
||||
--- !u!1 &5762353980434385379
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -2093,6 +2315,7 @@ RectTransform:
|
|||
m_Children:
|
||||
- {fileID: 2818588515836731281}
|
||||
- {fileID: 1039204968577201673}
|
||||
- {fileID: 1039647742852014620}
|
||||
- {fileID: 3180898226814736061}
|
||||
- {fileID: 8841014955698521924}
|
||||
- {fileID: 6865647023647736279}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: e9a597ffa49c67046b7da1932f84b9ab
|
||||
guid: ef2ee50191fff0745810242e77b61bd2
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
|
|
@ -0,0 +1,290 @@
|
|||
using UnityEngine;
|
||||
using UnityEditor;
|
||||
/**
|
||||
* Free body 설정,
|
||||
* 각각의 Radius는 값이 크면, 묵직하고 관성이 강해짐, 외부 힘에 덜 민감하고, 흔들리더라도 천천히 크게 출렁이며 진동이 오래 남아. 가슴의 중심부에 배치해서 무거운 느낌을 줄 때 사용.
|
||||
* 값이 작으면, 매우 가볍고 외부 힘에 민감하지만 관성이 없어 금방 제자리로 돌아오려고 함. Kinematic 바디는 아니지만, 고정된 경계 근처에 배치해서 그 부분의 움직임을 최소화하고 싶을 때 사용.
|
||||
*
|
||||
*/
|
||||
|
||||
[ExecuteInEditMode]
|
||||
[RequireComponent(typeof(JellySprite))]
|
||||
public class BreastJigglePhysics : MonoBehaviour
|
||||
{
|
||||
[Header("=== JellySprite 물리 설정 ===")]
|
||||
[Tooltip("JellySprite 물리 속성을 이 스크립트 값으로 자동 적용. (기본: True)")]
|
||||
public bool autoConfigureJellySprite = true;
|
||||
|
||||
[Header("JellySprite 강성/감쇠 설정")]
|
||||
[Tooltip("스프링 강성. 높을수록 단단하고 빠르게 진동. 낮을수록 물렁하고 느림.")]
|
||||
//높게 (3.0 이상): 단단하고 탄력 있는(Firm) 느낌. 진동 주기가 빠르고 출렁임이 작음.
|
||||
//낮게(1.5 이하) : 물렁하고 부드러운(Soft/Jelly) 느낌.출렁임이 느리고 크게 늘어남.
|
||||
[Range(0.5f, 5f)] public float stiffness = 2.2f;
|
||||
|
||||
[Tooltip("감쇠 계수. 높을수록 흔들림이 빨리 멈춤. 낮을수록 오래 지속.")]
|
||||
//높게 (0.5 이상): 흔들림이 빨리 멈추고 잔진동이 적어 깔끔함.
|
||||
//낮게 (0.3 이하): 흔들림이 오래 지속되고 잔진동이 많아 물컹거리는 느낌이 강함.
|
||||
[Range(0f, 1f)] public float dampingRatio = 0.4f;
|
||||
|
||||
[Header("JellySprite 질량/중력/드래그")]
|
||||
[Tooltip("전체 질량. 높을수록 둔하고, 낮을수록 민감하게 반응.(높을스록 흔들림 주기가 길어짐)")]
|
||||
//높게 (1.0 이상): 관성이 커져 외부 힘에 둔하게 반응하며, 흔들림 주기가 길어짐.
|
||||
//낮게 (0.5 이하): 외부 힘에 민감하게 반응하고, 가벼워 보임.
|
||||
[Range(0.1f, 2f)] public float mass = 0.8f;
|
||||
|
||||
[Tooltip("중력 배율. 높을수록 아래로 처지는(Sag) 느낌이 강해짐.")]
|
||||
//높게 (0.5 이상): 아래로 처지는(Sag) 효과가 강해져 더 육중한 느낌을 줌.
|
||||
//0에 가깝게: 처짐 효과가 거의 없어 매우 가볍게 출렁거림.
|
||||
[Range(0f, 2f)] public float gravityScale = 0f; //0.25f;
|
||||
|
||||
[Tooltip("이동 시 공기 저항(선형 드래그). 움직임 전반을 둔화시킴.")]
|
||||
//높게: 움직임이 전반적으로 둔화되고 속도가 느려짐. 물리 폭주를 막는 보조 수단으로도 활용.
|
||||
[Range(0f, 2f)] public float drag = 0f; //0.35f;
|
||||
|
||||
[Tooltip("회전 저항(Angular Drag). 회전 움직임을 둔화시킴.")]
|
||||
//높게: 움직임이 전반적으로 둔화되고 속도가 느려짐. 물리 폭주를 막는 보조 수단으로도 활용.
|
||||
[Range(0f, 2f)] public float angularDrag = 0.6f;
|
||||
|
||||
[Header("=== Player(Blade) 흔들림 설정 ===")]
|
||||
[Tooltip("Player(터치) 충돌 시 가슴에 가해지는 힘의 강도. 높을수록 크게 출렁임.")]
|
||||
//높게: 외부 터치에 가슴이 더 크게 밀려나고 출렁이게 한다. (강한 상호작용)
|
||||
[Range(1f, 30f)] public float playerJiggleStrength = 26f;
|
||||
|
||||
[Tooltip("Player 흔들림 힘에 적용되는 랜덤 변동 비율. (0.3 이상 권장)")]
|
||||
//높게 (0.3 이상): 충돌마다 가해지는 힘의 크기가 불규칙해져 매번 다른 흔들림을 연출하여 자연스러움을 높인다.
|
||||
[Range(0f, 1f)] public float randomVariation = 0.5f;
|
||||
|
||||
[Header("흔들림 방향 설정")]
|
||||
[Tooltip("흔들림 발생 시 좌우로 퍼지는 범위. 0이면 수직으로만 흔들림. (0.2~0.5 권장)")]
|
||||
//적절한 양수 (0.2~0.5): 힘이 좌우로도 퍼져서 흔들림이 수직을 넘어 옆으로도 퍼지게 하여 더 풍부한 움직임을 만든다.
|
||||
[Range(-1f, 1f)] public float horizontalSpread = 0.5f;
|
||||
|
||||
[Tooltip("위아래 편향. 높을수록 아래로 힘이 쏠려 처짐/출렁임을 강조. (1.0 이상 권장)")]
|
||||
//높게 (1.0 이상): 힘의 방향이 아래쪽으로 강하게 쏠려 중력에 의한 처짐과 아래 방향 출렁임을 강조한다. (자연스러운 처짐 연출)
|
||||
[Range(0f, 3f)] public float verticalBias = 0.8f;
|
||||
|
||||
[Header("=== Ball 흔들림 설정 (물리엔진 사용) ===")]
|
||||
[Tooltip("Ball 충돌 시 기본 물리 반응에 더해지는 추가 힘.")]
|
||||
//0 이상: Ball 충돌 시 기본 물리 반응에 이 추가 힘을 더해 더욱 강력한 충격 반응을 줄 수 있다.
|
||||
[Range(0f, 30f)] public float ballJiggleStrength = 26f;
|
||||
|
||||
[Tooltip("충돌 지점 반발력이 전체 힘에 미치는 영향도. 높을수록 밀리는 느낌이 강해짐.")]
|
||||
//높게 (1.5 이상): 충돌한 지점의 반발력이 전체 힘 방향에 강하게 반영되도록 하여, verticalBias보다 국소적인 반응을 강조한다.
|
||||
[Range(0f, 5f)] public float contactPointInfluence = 3f;
|
||||
|
||||
[Header("=== 힘 제한 ===")]
|
||||
[Tooltip("JellySprite에 가할 수 있는 최대 힘 제한. 물리 폭주 방지용. (10.0~20.0 권장)")]
|
||||
//양수 (10.0~20.0): 값이 너무 크면 물리 폭주로 가슴 메쉬가 과도하게 늘어나거나 튕겨 나갈 수 있으므로, 안정적인 값으로 제한한다.
|
||||
public float maxJellyForce = 26f;
|
||||
|
||||
[Header("=== 충돌 위치 기반 반응 ===")]
|
||||
[Tooltip("충돌 지점 기반의 반발력 방향 사용 여부. (가장 현실적인 반응, 권장: True)")]
|
||||
public bool useContactPointPhysics = true;
|
||||
|
||||
[Header("=== 디버그 옵션 ===")]
|
||||
[Tooltip("충돌/힘 적용 방향을 Scene 뷰에 시각화")]
|
||||
public bool showDebugGizmos = false;
|
||||
|
||||
[Tooltip("충돌 및 힘 적용 로그를 콘솔에 표시")]
|
||||
public bool showDebugLog = false;
|
||||
|
||||
// 연속 충돌 무시 시간
|
||||
private float minCollisionInterval = 0.18f;// 0.08f;//0.2f;
|
||||
private float lastCollisionTime = -999f;
|
||||
|
||||
private JellySprite jelly;
|
||||
private Vector2 lastContactPoint;
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
jelly = GetComponent<JellySprite>();
|
||||
if (jelly == null)
|
||||
{
|
||||
Debug.LogError("JellySprite 컴포넌트를 찾을 수 없습니다!");
|
||||
return;
|
||||
}
|
||||
|
||||
if (autoConfigureJellySprite)
|
||||
ApplyJellySpriteSettings();
|
||||
}
|
||||
|
||||
/// <summary>JellySprite 물리 속성 적용</summary>
|
||||
private void ApplyJellySpriteSettings()
|
||||
{
|
||||
jelly.m_Stiffness = stiffness;
|
||||
jelly.m_DampingRatio = dampingRatio;
|
||||
jelly.m_Mass = mass;
|
||||
jelly.m_GravityScale = gravityScale;
|
||||
jelly.m_Drag = drag;
|
||||
jelly.m_AngularDrag = angularDrag;
|
||||
|
||||
if (Application.isPlaying)
|
||||
{
|
||||
jelly.InitMass();
|
||||
jelly.UpdateJoints();
|
||||
jelly.WakeUp();
|
||||
}
|
||||
|
||||
jelly.m_UseGravity = true;
|
||||
|
||||
/*
|
||||
#if UNITY_EDITOR
|
||||
SerializedObject so = new SerializedObject(jelly);
|
||||
so.Update();
|
||||
so.ApplyModifiedProperties();
|
||||
#endif
|
||||
*/
|
||||
|
||||
if (showDebugLog)
|
||||
Debug.Log($"[BreastJiggle] JellySprite 설정 적용 - Stiffness: {stiffness}, Damping: {dampingRatio}");
|
||||
}
|
||||
|
||||
private void OnValidate()
|
||||
{
|
||||
if (jelly != null && autoConfigureJellySprite && Application.isPlaying)
|
||||
ApplyJellySpriteSettings();
|
||||
}
|
||||
|
||||
private void Update()
|
||||
{
|
||||
if (Input.GetKeyDown(KeyCode.Space))
|
||||
{
|
||||
if (Time.time - lastCollisionTime < minCollisionInterval)
|
||||
{
|
||||
if (showDebugLog)
|
||||
Debug.Log("[BreastJiggle] 충돌 간격이 너무 짧아서 무시됨");
|
||||
return;
|
||||
}
|
||||
|
||||
lastCollisionTime = Time.time;
|
||||
|
||||
//jelly.m_Stiffness = 2.6f;
|
||||
ApplyJellyForceForPlayer(DSUtil.RandomVector(0.01f, 0.1f), playerJiggleStrength);
|
||||
}
|
||||
|
||||
// 멈추기 실패
|
||||
//if (Time.time - lastCollisionTime > 1f)
|
||||
//{
|
||||
// lastCollisionTime = Time.time;
|
||||
// jelly.m_Stiffness = 0f;
|
||||
//}
|
||||
}
|
||||
|
||||
private void HandleCollision(Collider2D other)
|
||||
{
|
||||
//if (!other.CompareTag("Player") && !other.CompareTag("Ball")) return;
|
||||
if (!other.CompareTag("Player")) return;
|
||||
|
||||
if (Time.time - lastCollisionTime < minCollisionInterval)
|
||||
{
|
||||
if (showDebugLog)
|
||||
Debug.Log("[BreastJiggle] 충돌 간격이 너무 짧아서 무시됨");
|
||||
return;
|
||||
}
|
||||
|
||||
lastCollisionTime = Time.time;
|
||||
|
||||
Vector2 contactPoint = other.ClosestPoint(transform.position);
|
||||
lastContactPoint = contactPoint;
|
||||
|
||||
if (showDebugLog)
|
||||
Debug.Log($"[BreastJiggle] 충돌 감지: {other.name} (Tag: {other.tag})");
|
||||
|
||||
// Player 터치일 경우 AddForce로 흔들림 적용
|
||||
if (other.CompareTag("Player"))
|
||||
{
|
||||
ApplyJellyForceForPlayer(contactPoint, playerJiggleStrength);
|
||||
//GameManager.Instance.StartRandomReaction();
|
||||
}
|
||||
|
||||
/*
|
||||
// Ball일 경우 물리엔진 적용 + Ball용 힘 추가
|
||||
if (other.CompareTag("Ball"))
|
||||
{
|
||||
ApplyJellyForceForBall(contactPoint, ballJiggleStrength);
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
/// <summary>Player/Blade 전용 힘 적용</summary>
|
||||
private void ApplyJellyForceForPlayer(Vector2 contactPoint, float strength)
|
||||
{
|
||||
Vector2 direction = CalculateJiggleDirection(contactPoint);
|
||||
float force = strength;
|
||||
if (maxJellyForce > 0) force = Mathf.Min(force, maxJellyForce);
|
||||
jelly.AddForce(direction * force);
|
||||
|
||||
if (showDebugLog)
|
||||
Debug.Log($"[BreastJiggle] Player 힘 적용: {force:F2} (방향: {direction})");
|
||||
|
||||
if (showDebugGizmos)
|
||||
Debug.DrawRay(transform.position, direction * force * 0.5f, Color.yellow, 1f);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Ball이 닿았을 때 AddForce로 가슴에 가해지는 힘, 기본 물리엔진에+Add
|
||||
/// </summary>
|
||||
/// <param name="contactPoint"></param>
|
||||
/// <param name="strength"></param>
|
||||
private void ApplyJellyForceForBall(Vector2 contactPoint, float strength)
|
||||
{
|
||||
if (strength <= 0.0f) return;
|
||||
|
||||
Vector2 direction = CalculateJiggleDirection(contactPoint);
|
||||
float force = strength; // Ball은 랜덤 variation 없이 일정 힘
|
||||
if (maxJellyForce > 0) force = Mathf.Min(force, maxJellyForce);
|
||||
jelly.AddForce(direction * force);
|
||||
|
||||
if (showDebugLog)
|
||||
Debug.Log($"[BreastJiggle] Ball 힘 적용: {force:F2} (방향: {direction})");
|
||||
|
||||
if (showDebugGizmos)
|
||||
Debug.DrawRay(transform.position, direction * force * 0.5f, Color.green, 1f);
|
||||
}
|
||||
|
||||
/// <summary>충돌 지점 기반 힘 방향 계산</summary>
|
||||
private Vector2 CalculateJiggleDirection(Vector2 contactPoint)
|
||||
{
|
||||
if (useContactPointPhysics)
|
||||
{
|
||||
Vector2 offset = contactPoint - (Vector2)transform.position;
|
||||
Vector2 pushDir = -offset.normalized;
|
||||
Vector2 gravityBiasVec = Vector2.down * verticalBias;
|
||||
float horizWave = Random.Range(-horizontalSpread, horizontalSpread);
|
||||
Vector2 lateralMove = Vector2.right * horizWave;
|
||||
|
||||
return (pushDir * contactPointInfluence + gravityBiasVec + lateralMove).normalized;
|
||||
}
|
||||
else
|
||||
{
|
||||
return new Vector2(Random.Range(-horizontalSpread, horizontalSpread),
|
||||
-verticalBias + Random.Range(-0.3f, 0.2f)).normalized;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Player(Blade)와 충돌시 이벤트 발생
|
||||
/// </summary>
|
||||
/// <param name="trigger"></param>
|
||||
void OnJellyTriggerEnter2D(JellySprite.JellyCollider2D trigger) => HandleCollision(trigger.Collider2D);
|
||||
|
||||
/// <summary>
|
||||
/// Ball과 충돌시 이벤트 발생
|
||||
/// </summary>
|
||||
/// <param name="collision"></param>
|
||||
void OnJellyCollisionEnter2D(JellySprite.JellyCollision2D collision) => HandleCollision(collision.Collision2D.collider);
|
||||
|
||||
private void OnDrawGizmos()
|
||||
{
|
||||
if (!showDebugGizmos || !Application.isPlaying) return;
|
||||
|
||||
Gizmos.color = Color.red;
|
||||
Gizmos.DrawWireSphere(lastContactPoint, 0.15f);
|
||||
|
||||
Gizmos.color = Color.blue;
|
||||
Gizmos.DrawWireSphere(transform.position, 0.1f);
|
||||
|
||||
Gizmos.color = Color.cyan;
|
||||
Gizmos.DrawLine(transform.position, lastContactPoint);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
fileFormatVersion: 2
|
||||
guid: f56d5d40f20d68640a98b91f9b8dd88f
|
||||
|
After Width: | Height: | Size: 991 KiB |
|
|
@ -0,0 +1,130 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 6ad179b7cd6faa54da6c26a8f7027bd6
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 4
|
||||
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: 4
|
||||
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: 4
|
||||
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: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
After Width: | Height: | Size: 64 KiB |
|
|
@ -0,0 +1,130 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 8b44fc46f4ba4004dba5c9b6db77d727
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 4
|
||||
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: 4
|
||||
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: 4
|
||||
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: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
After Width: | Height: | Size: 62 KiB |
|
|
@ -0,0 +1,130 @@
|
|||
fileFormatVersion: 2
|
||||
guid: b3c8eaf1d9755174bb903dd3e40aca6c
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 4
|
||||
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: 4
|
||||
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: 4
|
||||
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: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
After Width: | Height: | Size: 230 KiB |
|
|
@ -0,0 +1,130 @@
|
|||
fileFormatVersion: 2
|
||||
guid: e8f0ced2a590e9548a05b46247d45deb
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 4
|
||||
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: 4
|
||||
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: 4
|
||||
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: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
After Width: | Height: | Size: 226 KiB |
|
|
@ -0,0 +1,130 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 393475737ca7fa0448eb2e8cd4eed02a
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 4
|
||||
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: 4
|
||||
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: 4
|
||||
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: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
|
@ -0,0 +1,521 @@
|
|||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1 &3574105332676644573
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 3350574782794326732}
|
||||
- component: {fileID: 3935848134669709998}
|
||||
- component: {fileID: 6333177682449739710}
|
||||
m_Layer: 0
|
||||
m_Name: Girl1
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
--- !u!4 &3350574782794326732
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3574105332676644573}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 0.8333333, y: 0.8333333, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 6426129326276498135}
|
||||
- {fileID: 2687445817536164929}
|
||||
m_Father: {fileID: 2923904872549073819}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!212 &3935848134669709998
|
||||
SpriteRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3574105332676644573}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_DynamicOccludee: 1
|
||||
m_StaticShadowCaster: 0
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 1
|
||||
m_ReflectionProbeUsage: 1
|
||||
m_RayTracingMode: 0
|
||||
m_RayTraceProcedural: 0
|
||||
m_RayTracingAccelStructBuildFlagsOverride: 0
|
||||
m_RayTracingAccelStructBuildFlags: 1
|
||||
m_SmallMeshCulling: 1
|
||||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 2100000, guid: a97c105638bdf8b4a8650670310a4cd3, 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: 0
|
||||
m_MinimumChartSize: 4
|
||||
m_AutoUVMaxDistance: 0.5
|
||||
m_AutoUVMaxAngle: 89
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 2
|
||||
m_Sprite: {fileID: 21300000, guid: 6ad179b7cd6faa54da6c26a8f7027bd6, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
m_FlipY: 0
|
||||
m_DrawMode: 0
|
||||
m_Size: {x: 8, y: 12}
|
||||
m_AdaptiveModeThreshold: 0.5
|
||||
m_SpriteTileMode: 0
|
||||
m_WasSpriteAssigned: 1
|
||||
m_MaskInteraction: 0
|
||||
m_SpriteSortPoint: 0
|
||||
--- !u!114 &6333177682449739710
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3574105332676644573}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 03994709fdcb0024daf0094fc2640046, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
SetFit: 0
|
||||
--- !u!1 &5075662245161426955
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 2923904872549073819}
|
||||
m_Layer: 0
|
||||
m_Name: GameBG_Girls
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &2923904872549073819
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5075662245161426955}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 3350574782794326732}
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &6490517267236978573
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 2687445817536164929}
|
||||
- component: {fileID: 3935515269710912896}
|
||||
- component: {fileID: 2540154696796119336}
|
||||
- component: {fileID: 5856269175289868540}
|
||||
- component: {fileID: 6796406411234791068}
|
||||
m_Layer: 0
|
||||
m_Name: right
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &2687445817536164929
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6490517267236978573}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 1.188, y: -0.096, z: 90}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 1
|
||||
m_Children: []
|
||||
m_Father: {fileID: 3350574782794326732}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!33 &3935515269710912896
|
||||
MeshFilter:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6490517267236978573}
|
||||
m_Mesh: {fileID: 0}
|
||||
--- !u!23 &2540154696796119336
|
||||
MeshRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6490517267236978573}
|
||||
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_RayTracingAccelStructBuildFlagsOverride: 0
|
||||
m_RayTracingAccelStructBuildFlags: 1
|
||||
m_SmallMeshCulling: 1
|
||||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 0}
|
||||
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: 4
|
||||
m_AdditionalVertexStreams: {fileID: 0}
|
||||
--- !u!114 &5856269175289868540
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6490517267236978573}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: f56d5d40f20d68640a98b91f9b8dd88f, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
autoConfigureJellySprite: 1
|
||||
stiffness: 2.6
|
||||
dampingRatio: 0.4
|
||||
mass: 0.6
|
||||
gravityScale: 0
|
||||
drag: 0
|
||||
angularDrag: 0.6
|
||||
playerJiggleStrength: 26
|
||||
randomVariation: 0.5
|
||||
horizontalSpread: 0.5
|
||||
verticalBias: 2.5
|
||||
ballJiggleStrength: 26
|
||||
contactPointInfluence: 3
|
||||
maxJellyForce: 26
|
||||
useContactPointPhysics: 1
|
||||
showDebugGizmos: 0
|
||||
showDebugLog: 0
|
||||
--- !u!114 &6796406411234791068
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6490517267236978573}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 87f1fa7a810d84c4f8ed2cfed9eec8f4, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Style: 4
|
||||
m_FreeModeBodyPositions:
|
||||
- {x: 0.6082516, y: 0.36182773, z: 0}
|
||||
- {x: 0.39577544, y: -0.38162583, z: 0}
|
||||
- {x: -0.11267599, y: -0.029338935, z: 0}
|
||||
- {x: -0.45166928, y: 0.38054734, z: 0}
|
||||
- {x: -0.049742743, y: 1.1079566, z: 0}
|
||||
- {x: -1.0923802, y: -0.022991307, z: 0}
|
||||
- {x: -0.6404312, y: -0.7940869, z: 0}
|
||||
- {x: 0.20554411, y: -1.0841298, z: 0}
|
||||
- {x: 0.7366493, y: -0.8923086, z: 0}
|
||||
- {x: 0.7687665, y: 0.8506411, z: 0}
|
||||
m_FreeModeBodyRadii:
|
||||
- 0
|
||||
- 0
|
||||
- 0
|
||||
- 0
|
||||
- 0
|
||||
- 0
|
||||
- 0
|
||||
- 0
|
||||
- 0
|
||||
- 0
|
||||
m_FreeModeBodyKinematic: 00000000010101010101
|
||||
m_MassStyle: 1
|
||||
m_PhysicsMaterial: {fileID: 0}
|
||||
m_PhysicsMaterial2D: {fileID: 0}
|
||||
m_Interpolation: 0
|
||||
m_Interpolation2D: 0
|
||||
m_CollisionDetectionMode: 0
|
||||
m_CollisionDetectionMode2D: 0
|
||||
m_ManualPositioning: 0
|
||||
m_VertexDensity: 10
|
||||
m_SphereRadius: 0.25
|
||||
m_DistanceExponent: 2
|
||||
m_Stiffness: 2.6
|
||||
m_Mass: 0.6
|
||||
m_LockRotation: 1
|
||||
m_GravityScale: 0
|
||||
m_UseGravity: 1
|
||||
m_CollideConnected: 0
|
||||
m_CentralBodyKinematic: 0
|
||||
m_Drag: 0
|
||||
m_AngularDrag: 0.6
|
||||
m_RadiusPoints: 8
|
||||
m_GridColumns: 4
|
||||
m_GridRows: 4
|
||||
m_DampingRatio: 0.4
|
||||
m_SoftBodyScale: {x: 1, y: 1}
|
||||
m_SoftBodyRotation: 0
|
||||
m_SoftBodyOffset: {x: -0, y: -0}
|
||||
m_CentralBodyOffset: {x: -0, y: -0}
|
||||
m_SpriteScale: {x: 1, y: 1}
|
||||
m_2DMode: 1
|
||||
m_AttachNeighbors: 0
|
||||
m_FlipX: 0
|
||||
m_FlipY: 0
|
||||
m_SpriteRotation: 0
|
||||
m_NumAttachPoints: 0
|
||||
m_AttachPoints: []
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_ReferencePointParent: {fileID: 0}
|
||||
m_Sprite: {fileID: 21300000, guid: b3c8eaf1d9755174bb903dd3e40aca6c, type: 3}
|
||||
--- !u!1 &7822468612752013503
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 6426129326276498135}
|
||||
- component: {fileID: 2744337411708788776}
|
||||
- component: {fileID: 5811243339312445230}
|
||||
- component: {fileID: 1679020131063060424}
|
||||
- component: {fileID: 3395158930714754565}
|
||||
m_Layer: 0
|
||||
m_Name: left
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &6426129326276498135
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7822468612752013503}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: -1.114, y: -0.423, z: 90}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 1
|
||||
m_Children: []
|
||||
m_Father: {fileID: 3350574782794326732}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!33 &2744337411708788776
|
||||
MeshFilter:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7822468612752013503}
|
||||
m_Mesh: {fileID: 0}
|
||||
--- !u!23 &5811243339312445230
|
||||
MeshRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7822468612752013503}
|
||||
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_RayTracingAccelStructBuildFlagsOverride: 0
|
||||
m_RayTracingAccelStructBuildFlags: 1
|
||||
m_SmallMeshCulling: 1
|
||||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 0}
|
||||
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: 3
|
||||
m_AdditionalVertexStreams: {fileID: 0}
|
||||
--- !u!114 &1679020131063060424
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7822468612752013503}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: f56d5d40f20d68640a98b91f9b8dd88f, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
autoConfigureJellySprite: 1
|
||||
stiffness: 2.6
|
||||
dampingRatio: 0.4
|
||||
mass: 0.6
|
||||
gravityScale: 0
|
||||
drag: 0
|
||||
angularDrag: 0.6
|
||||
playerJiggleStrength: 26
|
||||
randomVariation: 0.5
|
||||
horizontalSpread: 0.5
|
||||
verticalBias: 2.5
|
||||
ballJiggleStrength: 26
|
||||
contactPointInfluence: 3
|
||||
maxJellyForce: 26
|
||||
useContactPointPhysics: 1
|
||||
showDebugGizmos: 0
|
||||
showDebugLog: 0
|
||||
--- !u!114 &3395158930714754565
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7822468612752013503}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 87f1fa7a810d84c4f8ed2cfed9eec8f4, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Style: 4
|
||||
m_FreeModeBodyPositions:
|
||||
- {x: -1.1498797, y: -0.11766222, z: 0}
|
||||
- {x: -0.30570126, y: -0.5325765, z: 0}
|
||||
- {x: -0.11267599, y: -0.029338935, z: 0}
|
||||
- {x: 0.2942046, y: 0.62917155, z: 0}
|
||||
- {x: -0.049742743, y: 1.1079566, z: 0}
|
||||
- {x: -0.45305955, y: 0.9537485, z: 0}
|
||||
- {x: -0.3118915, y: -1.1581447, z: 0}
|
||||
- {x: 0.2588205, y: -0.93317896, z: 0}
|
||||
- {x: 0.71889013, y: -0.5726484, z: 0}
|
||||
- {x: 1.1417036, y: 0.5753781, z: 0}
|
||||
m_FreeModeBodyRadii:
|
||||
- 0
|
||||
- 0
|
||||
- 0
|
||||
- 0
|
||||
- 0
|
||||
- 0
|
||||
- 0
|
||||
- 0
|
||||
- 0
|
||||
- 0
|
||||
m_FreeModeBodyKinematic: 00000000010101010101
|
||||
m_MassStyle: 1
|
||||
m_PhysicsMaterial: {fileID: 0}
|
||||
m_PhysicsMaterial2D: {fileID: 0}
|
||||
m_Interpolation: 0
|
||||
m_Interpolation2D: 0
|
||||
m_CollisionDetectionMode: 0
|
||||
m_CollisionDetectionMode2D: 0
|
||||
m_ManualPositioning: 0
|
||||
m_VertexDensity: 10
|
||||
m_SphereRadius: 0.25
|
||||
m_DistanceExponent: 2
|
||||
m_Stiffness: 2.6
|
||||
m_Mass: 0.6
|
||||
m_LockRotation: 1
|
||||
m_GravityScale: 0
|
||||
m_UseGravity: 1
|
||||
m_CollideConnected: 0
|
||||
m_CentralBodyKinematic: 0
|
||||
m_Drag: 0
|
||||
m_AngularDrag: 0.6
|
||||
m_RadiusPoints: 8
|
||||
m_GridColumns: 4
|
||||
m_GridRows: 4
|
||||
m_DampingRatio: 0.4
|
||||
m_SoftBodyScale: {x: 1, y: 1}
|
||||
m_SoftBodyRotation: 0
|
||||
m_SoftBodyOffset: {x: 0, y: 0}
|
||||
m_CentralBodyOffset: {x: -0, y: -0}
|
||||
m_SpriteScale: {x: 1, y: 1}
|
||||
m_2DMode: 1
|
||||
m_AttachNeighbors: 0
|
||||
m_FlipX: 0
|
||||
m_FlipY: 0
|
||||
m_SpriteRotation: 0
|
||||
m_NumAttachPoints: 0
|
||||
m_AttachPoints: []
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_ReferencePointParent: {fileID: 0}
|
||||
m_Sprite: {fileID: 21300000, guid: 8b44fc46f4ba4004dba5c9b6db77d727, type: 3}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: b92c7bec9741ee44b897051958ae6f1b
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
Before Width: | Height: | Size: 68 KiB After Width: | Height: | Size: 47 KiB |
|
|
@ -5,6 +5,7 @@ using UnityEngine;
|
|||
public class HorseRushManager : MonoBehaviour
|
||||
{
|
||||
[SerializeField] HorseRushPanel _horseRushPanel;
|
||||
public MiniGameResult m_MiniGameResult;
|
||||
|
||||
int _horseRushEntryCount;
|
||||
public int HorseRushEntryCount => _horseRushEntryCount;
|
||||
|
|
@ -101,7 +102,7 @@ public class HorseRushManager : MonoBehaviour
|
|||
_horseRushPanel.GameStart(isFreeSweep);
|
||||
}
|
||||
|
||||
public void GameOver(bool isFreeSweep, long score, int normalDoubleScoreCount, int maxFeverStreak, int missionSuccessPhotoID)
|
||||
public void GameOver(bool isFreeSweep, long score, int normalDoubleScoreCount, int maxCombo, int maxFeverStreak, int missionSuccessPhotoID)
|
||||
{
|
||||
if (isFreeSweep)
|
||||
{
|
||||
|
|
@ -118,10 +119,10 @@ public class HorseRushManager : MonoBehaviour
|
|||
}
|
||||
|
||||
// _horseRushPanel.gameObject.SetActive(false);
|
||||
GetReward(score, normalDoubleScoreCount, maxFeverStreak, missionSuccessPhotoID);
|
||||
GetReward(score, normalDoubleScoreCount, maxCombo, maxFeverStreak, missionSuccessPhotoID);
|
||||
}
|
||||
|
||||
public void GetReward(long coinAmount, int rubyAmount, int maxFeverStreak, int missionSuccessPhotoID)
|
||||
public void GetReward(long coinAmount, int rubyAmount, int maxCombo, int maxFeverStreak, int missionSuccessPhotoID)
|
||||
{
|
||||
// 갑자기 하트 관련 보상 기획이 변경되어서 임시 주석 언제 다시 추가할지 모르겠음
|
||||
// int heartAmount = GetHeartAmount(maxFeverStreak);
|
||||
|
|
@ -129,23 +130,36 @@ public class HorseRushManager : MonoBehaviour
|
|||
_playCount++;
|
||||
_maxFever = maxFeverStreak > _maxFever ? maxFeverStreak : _maxFever;
|
||||
_maxScore = coinAmount > _maxScore ? coinAmount : _maxScore;
|
||||
var addcoinrate = maxCombo / 1000f;
|
||||
var bonuscoin = 0;
|
||||
if (addcoinrate > 0f)
|
||||
{
|
||||
bonuscoin = (int)(coinAmount * addcoinrate);
|
||||
coinAmount += bonuscoin;
|
||||
}
|
||||
|
||||
//bool isPackage = GameManager.Instance.IsPackageBPurchased();
|
||||
|
||||
//CurrencyManager.Instance.AddGoods(101, coinAmount * (isPackage ? 2 : 1));
|
||||
//CurrencyManager.Instance.AddGoods(102, rubyAmount);
|
||||
//// CurrencyManager.Instance.AddGoods(103, heartAmount);
|
||||
// CurrencyManager.Instance.AddGoods(103, heartAmount);
|
||||
|
||||
//if (maxFeverStreak >= _missionFeverCount && missionSuccessPhotoID != -1)
|
||||
SaveMgr.Ins.Add_Money(eMoney.Gacha, (int)coinAmount);
|
||||
SaveMgr.Ins.Add_Money(eMoney.Chat, rubyAmount);
|
||||
SaveMgr.Ins.Save();
|
||||
m_MiniGameResult.Set(coinAmount, bonuscoin, rubyAmount, maxCombo, maxFeverStreak, missionSuccessPhotoID,
|
||||
() => { _horseRushPanel.gameObject.SetActive(false); });
|
||||
|
||||
if (maxFeverStreak >= _missionFeverCount && missionSuccessPhotoID != -1)
|
||||
{
|
||||
//DataManager.Instance.PhotoBoost.IncreaseQuantity(missionSuccessPhotoID, 1);
|
||||
|
||||
//int albumID = DataManager.Instance.GetPhotoData(missionSuccessPhotoID).AlbumID;
|
||||
//bool isFullCollection = true;
|
||||
//int fullCollectionPhotoId = -1;
|
||||
//var photos = DataManager.Instance.GetPhotoDatasByAlbumID(albumID);
|
||||
//foreach (var photo in photos.Values)
|
||||
//{
|
||||
// DataManager.Instance.PhotoBoost.IncreaseQuantity(missionSuccessPhotoID, 1);
|
||||
|
||||
// int albumID = DataManager.Instance.GetPhotoData(missionSuccessPhotoID).AlbumID;
|
||||
// bool isFullCollection = true;
|
||||
// int fullCollectionPhotoId = -1;
|
||||
// var photos = DataManager.Instance.GetPhotoDatasByAlbumID(albumID);
|
||||
// foreach (var photo in photos.Values)
|
||||
// {
|
||||
// if (photo.CollectionMethod == CollectionMethod.FullCollection)
|
||||
// {
|
||||
// fullCollectionPhotoId = photo.ID;
|
||||
|
|
@ -156,14 +170,14 @@ public class HorseRushManager : MonoBehaviour
|
|||
// {
|
||||
// isFullCollection = false;
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
|
||||
// if (isFullCollection && DataManager.Instance.PhotoBoost.GetLevel(fullCollectionPhotoId) == 0)
|
||||
// {
|
||||
//if (isFullCollection && DataManager.Instance.PhotoBoost.GetLevel(fullCollectionPhotoId) == 0)
|
||||
//{
|
||||
// DataManager.Instance.PhotoBoost.IncreaseQuantity(fullCollectionPhotoId, 1);
|
||||
// UIEvents.ShowToast(Local.GetLocalizedUIString("COLLECTION_REWARD_RECEIVED"));
|
||||
// }
|
||||
//}
|
||||
}
|
||||
|
||||
//GameManager.Instance.Save();
|
||||
//UIEvents.OnOpenMiniGameResultModal(coinAmount, rubyAmount, maxFeverStreak, missionSuccessPhotoID);
|
||||
|
|
|
|||
|
|
@ -1,6 +1,8 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using DG.Tweening;
|
||||
using GUPS.AntiCheat.Protected;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
|
|
@ -14,6 +16,7 @@ public class HorseRushPanel : MonoBehaviour
|
|||
[SerializeField] Button _rightButton;
|
||||
[SerializeField] GameObject _leftEffect;
|
||||
[SerializeField] GameObject _rightEffect;
|
||||
public TextMeshProUGUI[] texts_money; // 0 채팅 코인, 1 골드
|
||||
|
||||
#region TEST
|
||||
|
||||
|
|
@ -41,7 +44,7 @@ public class HorseRushPanel : MonoBehaviour
|
|||
float RUSH_LIMIT_TIME;
|
||||
float FEVER_TIME;
|
||||
float BONUS_TIME;
|
||||
int DEFAULT_FEVER_COUNT;
|
||||
ProtectedInt32 DEFAULT_FEVER_COUNT;
|
||||
int FEVER_INCREASE_MIN;
|
||||
int FEVER_INCREASE_MAX;
|
||||
int FEVER_INCREASE_LIMIT;
|
||||
|
|
@ -70,6 +73,7 @@ public class HorseRushPanel : MonoBehaviour
|
|||
int _totalComboCount = 0;
|
||||
int _comboCount = 0;
|
||||
int _levelComboCount = 0;
|
||||
ProtectedInt32 _maxcombo;
|
||||
|
||||
int _feverLevel = 0;
|
||||
long _score = 0;
|
||||
|
|
@ -87,6 +91,7 @@ public class HorseRushPanel : MonoBehaviour
|
|||
private int _normalDoubleScoreCount = 0; // 일반 상태에서의 더블 스코어 성공 횟수
|
||||
public int NormalDoubleScoreCount => _normalDoubleScoreCount;
|
||||
|
||||
ProtectedInt32 m_GachaCoint, m_ChatCoint;
|
||||
#endregion
|
||||
|
||||
|
||||
|
|
@ -125,11 +130,6 @@ public class HorseRushPanel : MonoBehaviour
|
|||
RUSH_LIMIT_TIME = 2f;
|
||||
FEVER_TIME = 8f;
|
||||
BONUS_TIME = 0.4f;
|
||||
#if UNITY_EDITOR
|
||||
DEFAULT_FEVER_COUNT = 20;
|
||||
#else
|
||||
DEFAULT_FEVER_COUNT = 100;
|
||||
#endif
|
||||
FEVER_INCREASE_MIN = 5;
|
||||
FEVER_INCREASE_MAX = 15;
|
||||
FEVER_INCREASE_LIMIT = 10;
|
||||
|
|
@ -181,9 +181,9 @@ public class HorseRushPanel : MonoBehaviour
|
|||
{
|
||||
_isGameStart = false;
|
||||
_isGameOver = true;
|
||||
_horseRushManager.GameOver(_isFree, _score, _normalDoubleScoreCount, _maxFeverStreak, _missionSuccessPhotoID);
|
||||
_horseRushManager.GameOver(_isFree, _score, _normalDoubleScoreCount, _maxcombo, _maxFeverStreak, _missionSuccessPhotoID);
|
||||
|
||||
gameObject.SetActive(false);
|
||||
//gameObject.SetActive(false);
|
||||
}
|
||||
|
||||
_timer.value = _limitTime / DEFAULT_LIMIT_TIME;
|
||||
|
|
@ -316,10 +316,14 @@ public class HorseRushPanel : MonoBehaviour
|
|||
_stunTime = 0;
|
||||
_feverTime = 0;
|
||||
_totalComboCount = 0;
|
||||
_maxcombo = 0; _maxcombo.Obfuscate();
|
||||
_comboCount = 0;
|
||||
_levelComboCount = 0;
|
||||
_feverLevel = 0;
|
||||
_score = 0;
|
||||
m_GachaCoint = 0; m_GachaCoint.Obfuscate();
|
||||
m_ChatCoint = 0; m_ChatCoint.Obfuscate();
|
||||
DEFAULT_FEVER_COUNT = 100; DEFAULT_FEVER_COUNT.Obfuscate();
|
||||
|
||||
// UI 초기화
|
||||
_combo.SetActive(false);
|
||||
|
|
@ -329,6 +333,8 @@ public class HorseRushPanel : MonoBehaviour
|
|||
_loveEffectImage.fillAmount = 1;
|
||||
_timer.value = 1;
|
||||
_bottomSlider.value = 1;
|
||||
texts_money[0].text = SaveMgr.Ins.Get_Money(eMoney.Chat).ToString();
|
||||
texts_money[1].text = SaveMgr.Ins.Get_Money(eMoney.Gacha).ToString();
|
||||
|
||||
// 시간 텍스트 초기화
|
||||
TimeSpan timeSpan = TimeSpan.FromSeconds(_limitTime);
|
||||
|
|
@ -399,6 +405,12 @@ public class HorseRushPanel : MonoBehaviour
|
|||
lastBubbleCard.transform.SetAsFirstSibling();
|
||||
|
||||
_rushTime = Mathf.Min(RUSH_LIMIT_TIME, _rushTime + _addRushTimeValue);
|
||||
|
||||
if (!IsFever)
|
||||
{
|
||||
m_ChatCoint += lastBubbleCard.IsGoldCarrot ? 1 : 0;
|
||||
m_ChatCoint.Obfuscate();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -408,12 +420,16 @@ public class HorseRushPanel : MonoBehaviour
|
|||
|
||||
// 콤보가 끊길 때 피버 스트릭도 초기화
|
||||
_currentFeverStreak = 0;
|
||||
--DEFAULT_FEVER_COUNT;
|
||||
if (DEFAULT_FEVER_COUNT < table_GlobalValue.Ins.Get_Int("FEVER_CONDITION_MIN_COUNT"))
|
||||
DEFAULT_FEVER_COUNT = table_GlobalValue.Ins.Get_Int("FEVER_CONDITION_MIN_COUNT");
|
||||
DEFAULT_FEVER_COUNT.Obfuscate();
|
||||
|
||||
if (lastBubbleCard.IsSkullStone)
|
||||
{
|
||||
_isGameStart = false;
|
||||
_isGameOver = true;
|
||||
_horseRushManager.GameOver(_isFree, _score, _normalDoubleScoreCount, _maxFeverStreak, _missionSuccessPhotoID);
|
||||
_horseRushManager.GameOver(_isFree, _score, _normalDoubleScoreCount, _maxcombo, _maxFeverStreak, _missionSuccessPhotoID);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -496,6 +512,11 @@ public class HorseRushPanel : MonoBehaviour
|
|||
{
|
||||
_totalComboCount++;
|
||||
_comboCount++;
|
||||
if (_maxcombo < _comboCount)
|
||||
{
|
||||
_maxcombo = _comboCount;
|
||||
_maxcombo.Obfuscate();
|
||||
}
|
||||
|
||||
BubbleCard lastBubbleCard = _bubbleCardList[^1];
|
||||
if (!lastBubbleCard.IsFever && isDoubleScore)
|
||||
|
|
@ -617,4 +638,9 @@ public class HorseRushPanel : MonoBehaviour
|
|||
sequence.Append(_comboText.transform.DOScale(targetScale, bounceDuration / 2).SetEase(Ease.OutQuad))
|
||||
.Append(_comboText.transform.DOScale(originalScale, bounceDuration / 2).SetEase(Ease.InQuad));
|
||||
}
|
||||
|
||||
public void OnClick_GameLeave()
|
||||
{
|
||||
gameObject.SetActive(false);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,56 @@
|
|||
using UnityEngine;
|
||||
|
||||
[RequireComponent(typeof(SpriteRenderer))]
|
||||
[ExecuteInEditMode]
|
||||
public class BackgroundFitter : MonoBehaviour
|
||||
{
|
||||
#if UNITY_EDITOR
|
||||
public bool SetFit = false;
|
||||
|
||||
private void Update()
|
||||
{
|
||||
if (SetFit)
|
||||
{
|
||||
SetFit = false;
|
||||
Set();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
public void Set()
|
||||
{
|
||||
//SpriteRenderer sr = GetComponent<SpriteRenderer>();
|
||||
//if (sr.sprite == null) return;
|
||||
|
||||
//// 스프라이트의 원래 크기(픽셀 단위)
|
||||
//float spriteWidth = sr.sprite.bounds.size.x;
|
||||
//float spriteHeight = sr.sprite.bounds.size.y;
|
||||
|
||||
//// 카메라
|
||||
//Camera cam = Camera.main;
|
||||
//float worldScreenHeight = cam.orthographicSize * 2f; // 세로 크기(월드 단위)
|
||||
//float worldScreenWidth = worldScreenHeight * cam.aspect; // 가로 크기(월드 단위)
|
||||
|
||||
//// 배경 스케일 계산
|
||||
//transform.localScale = new Vector3(
|
||||
// worldScreenWidth / spriteWidth,
|
||||
// worldScreenHeight / spriteHeight,
|
||||
// 1f
|
||||
//);
|
||||
|
||||
var sr = GetComponent<SpriteRenderer>();
|
||||
if (sr == null) return;
|
||||
|
||||
// 스프라이트 크기
|
||||
float width = sr.sprite.bounds.size.x;
|
||||
float height = sr.sprite.bounds.size.y;
|
||||
|
||||
// 화면 비율
|
||||
float worldScreenHeight = Camera.main.orthographicSize * 2f;
|
||||
float worldScreenWidth = worldScreenHeight * Screen.width / Screen.height;
|
||||
|
||||
// 꽉 차게 하기 (잘림 허용)
|
||||
float scale = Mathf.Max(worldScreenWidth / width, worldScreenHeight / height);
|
||||
transform.localScale = new Vector3(scale, scale, 1);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 03994709fdcb0024daf0094fc2640046
|
||||
|
|
@ -1,6 +1,7 @@
|
|||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using GUPS.AntiCheat.Protected;
|
||||
using Newtonsoft.Json;
|
||||
using UnityEngine;
|
||||
|
|
@ -215,6 +216,44 @@ public class SaveMgr : MonoBehaviourSingletonTemplate<SaveMgr>
|
|||
Save();
|
||||
}
|
||||
|
||||
public albumtabledata Get_RandomAlbum()
|
||||
{
|
||||
var girllst = table_girl.Ins.Get_DataList();
|
||||
|
||||
for (int i = 0; i < girllst.Count; i++)
|
||||
{
|
||||
int girl = girllst[i].n_GirlID;
|
||||
|
||||
if (!IsObtainGirl(girl))
|
||||
continue;
|
||||
|
||||
var albums = table_album.Ins.Get_AlbumDataList(girl);
|
||||
|
||||
if (!m_SaveData.dic_albumOpen.TryGetValue(girl, out var openedAlbums))
|
||||
openedAlbums = new List<AlbumSaveData>();
|
||||
|
||||
if (openedAlbums.Count >= albums.Count)
|
||||
continue; // 전부 획득함
|
||||
|
||||
// 이미 획득한 앨범 ID
|
||||
HashSet<int> openedSet = new HashSet<int>(
|
||||
openedAlbums.Select(x => x.ID)
|
||||
);
|
||||
|
||||
// 미획득 앨범
|
||||
var noobtainalbums = albums
|
||||
.Where(a => !openedSet.Contains(a.n_Index))
|
||||
.ToList();
|
||||
|
||||
if (noobtainalbums.Count > 0)
|
||||
{
|
||||
// 여기서 랜덤 1개 리턴
|
||||
return noobtainalbums[UnityEngine.Random.Range(0, noobtainalbums.Count)];
|
||||
}
|
||||
}
|
||||
|
||||
return null; // 전부 획득 → 글로벌 밸류 하트 지급
|
||||
}
|
||||
public void Open_Album(albumtabledata data)
|
||||
{
|
||||
if (!m_SaveData.dic_albumOpen.ContainsKey(data.n_GirlID))
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
using TMPro;
|
||||
using TreeEditor;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
|
|
@ -6,7 +7,7 @@ public class AlbumCard : CardBase
|
|||
{
|
||||
public Image i_girl;
|
||||
public TextMeshProUGUI t_price;
|
||||
public GameObject[] gos; // 0 열기 버튼, 1 잠금 버튼
|
||||
public GameObject[] gos; // 0 열기 버튼, 1 잠금 버튼, 2 스페셜 앨범 즉시개방 버튼
|
||||
|
||||
albumtabledata m_Data;
|
||||
|
||||
|
|
@ -20,9 +21,26 @@ public class AlbumCard : CardBase
|
|||
|
||||
public override void Set_UI()
|
||||
{
|
||||
var preData = table_album.Ins.Get_PreData_orNull(m_Data);
|
||||
gos[0].SetActive(SaveMgr.Ins.IsObtainGirl(m_Data.n_GirlID) &&!SaveMgr.Ins.IsOpenAlbum(m_Data) &&
|
||||
(preData == null || SaveMgr.Ins.IsOpenAlbum(preData)));
|
||||
if (m_Data.e_CollectionMethod == eCollectionMethod.Normal)
|
||||
{
|
||||
var preDatas = table_album.Ins.Get_PreDatas(m_Data);
|
||||
var existnotopen = false;
|
||||
for (int i = 0; i < preDatas.Count; i++)
|
||||
{
|
||||
if (!SaveMgr.Ins.IsOpenAlbum(preDatas[i]))
|
||||
{
|
||||
existnotopen = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
gos[0].SetActive(SaveMgr.Ins.IsObtainGirl(m_Data.n_GirlID) && !SaveMgr.Ins.IsOpenAlbum(m_Data) && !existnotopen);
|
||||
gos[2].SetActive(false);
|
||||
}
|
||||
else
|
||||
{
|
||||
gos[0].SetActive(false);
|
||||
gos[2].SetActive(SaveMgr.Ins.IsObtainGirl(m_Data.n_GirlID) && !SaveMgr.Ins.IsOpenAlbum(m_Data));
|
||||
}
|
||||
t_price.text = m_Data.n_Price.ToString();
|
||||
gos[1].SetActive(!IsObtain());
|
||||
}
|
||||
|
|
@ -30,6 +48,8 @@ public class AlbumCard : CardBase
|
|||
public bool IsObtain() { return SaveMgr.Ins.IsOpenAlbum(m_Data); }
|
||||
|
||||
public void OnClick_Buy()
|
||||
{
|
||||
if (m_Data.e_CollectionMethod == eCollectionMethod.Normal)
|
||||
{
|
||||
if (SaveMgr.Ins.Check_Money(eMoney.AlbumOpen, m_Data.n_Price))
|
||||
{
|
||||
|
|
@ -44,6 +64,11 @@ public class AlbumCard : CardBase
|
|||
else
|
||||
LobbyUI.Ins.m_ToastUI.Set("재화가 부족합니다.");
|
||||
}
|
||||
else
|
||||
{
|
||||
LobbyUI.Ins.m_AlbumUI.m_SpecialAlbumOpen.Set(m_Data);
|
||||
}
|
||||
}
|
||||
|
||||
public void OnClick_Show()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,6 +5,8 @@ public class AlbumUI : uScrollViewMgr
|
|||
{
|
||||
public TextMeshProUGUI[] texts; // 0 이름, 1 카운팅, 2 보유 하트
|
||||
public GameObject[] gos_onoff;
|
||||
public AlbumCard[] specialCards;
|
||||
public SpecialAlbumOpen m_SpecialAlbumOpen;
|
||||
|
||||
int curGirl = 1;
|
||||
|
||||
|
|
@ -43,6 +45,11 @@ public class AlbumUI : uScrollViewMgr
|
|||
texts[2].text = SaveMgr.Ins.Get_Money(eMoney.AlbumOpen).ToString();
|
||||
|
||||
list_CardBase.ForEach(f => f.Set_UI());
|
||||
|
||||
specialCards[0].Set(table_album.Ins.Get_SpecialAlbum(curGirl, eCollectionMethod.Default));
|
||||
specialCards[1].Set(table_album.Ins.Get_SpecialAlbum(curGirl, eCollectionMethod.Gacha));
|
||||
specialCards[2].Set(table_album.Ins.Get_SpecialAlbum(curGirl, eCollectionMethod.FullCollection));
|
||||
specialCards[3].Set(table_album.Ins.Get_SpecialAlbum(curGirl, eCollectionMethod.Mission));
|
||||
}
|
||||
|
||||
public void OnClick_Arrow(int add)
|
||||
|
|
|
|||
|
|
@ -0,0 +1,31 @@
|
|||
using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
public class GachaLuckyResult : AddrHandleBase
|
||||
{
|
||||
public Image i_girl;
|
||||
public GameObject go_reward;
|
||||
public TextMeshProUGUI t_heartamount;
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
t_heartamount.text = table_GlobalValue.Ins.Get_Int("LuckyGachaMaxHeart_Amount").ToString();
|
||||
}
|
||||
|
||||
public void Set(albumtabledata data)
|
||||
{
|
||||
gameObject.SetActive(true);
|
||||
|
||||
if (data != null)
|
||||
{
|
||||
Load_Image(i_girl, data.s_Image);
|
||||
go_reward.SetActive(false);
|
||||
}
|
||||
else
|
||||
{
|
||||
i_girl.enabled = false;
|
||||
go_reward.SetActive(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
fileFormatVersion: 2
|
||||
guid: f2e438ad40ab15e42affa2b84a4562c0
|
||||
|
|
@ -19,6 +19,7 @@ public class GachaUI : uScrollViewMgr
|
|||
public GameObject go_CanEnterLuckyGame, go_autocharge;
|
||||
public Image i_Chest, i_GachaReward;
|
||||
public Slider slider_charge;
|
||||
public GachaLuckyResult m_GachaLuckyResult;
|
||||
|
||||
DateTime GachaAutoRefillTime;
|
||||
float fRefillTime, ToastY = -400f;
|
||||
|
|
@ -161,9 +162,17 @@ public class GachaUI : uScrollViewMgr
|
|||
{
|
||||
Init_GachaAnim();
|
||||
SaveMgr.Ins.Add_Money(eMoney.Lucky, -table_GlobalValue.Ins.Get_Int("LuckyPoint"));
|
||||
var randomalbum = SaveMgr.Ins.Get_RandomAlbum();
|
||||
if (randomalbum != null) SaveMgr.Ins.Open_Album(randomalbum);
|
||||
else SaveMgr.Ins.Add_Money(eMoney.AlbumOpen, table_GlobalValue.Ins.Get_Int("LuckyGachaMaxHeart_Amount"));
|
||||
SaveMgr.Ins.Save();
|
||||
LobbyUI.Ins.m_Game_Lucky.Set();
|
||||
Set_UI(false);
|
||||
|
||||
// 럭키가챠 UI 노출 (new)
|
||||
m_GachaLuckyResult.Set(randomalbum);
|
||||
|
||||
// 기존 럭키 게임 (old)
|
||||
//LobbyUI.Ins.m_Game_Lucky.Set();
|
||||
//Set_UI(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -232,7 +241,10 @@ public class GachaUI : uScrollViewMgr
|
|||
IEnumerator GachaReward()
|
||||
{
|
||||
yield return new WaitForSeconds(4f);
|
||||
|
||||
yield return GachaReward2();
|
||||
}
|
||||
IEnumerator GachaReward2()
|
||||
{
|
||||
SaveMgr.Ins.Add_Money(eMoney.Gacha, -table_GlobalValue.Ins.Get_Int("GachaAmount"));
|
||||
var gradedata = table_gacharateconfig.Ins.Get_RadomData();
|
||||
var reward = table_gachareward.Ins.Get_Reward(gradedata.n_GachaGrade);
|
||||
|
|
@ -261,7 +273,7 @@ public class GachaUI : uScrollViewMgr
|
|||
if (texts_luckypoint[i].alpha <= 0f)
|
||||
{
|
||||
texts_luckypoint[i].text = $"+{reward.Item3}";
|
||||
texts_luckypoint[i].GetComponent<Animation>().Play();
|
||||
texts_luckypoint[i].GetComponent<Animator>().Play("Gacha_LuckyPoint");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
@ -306,7 +318,9 @@ public class GachaUI : uScrollViewMgr
|
|||
//m_GachaAnim.Sample(); // 즉시 반영
|
||||
|
||||
Init_GachaAnim();
|
||||
StartCoroutine(GachaReward());
|
||||
StartCoroutine(GachaReward2());
|
||||
ulong lastFrame = videoPlayer.frameCount - 1;
|
||||
videoPlayer.frame = (long)lastFrame;
|
||||
}
|
||||
|
||||
public void OnClick_GachaRate()
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ public class LobbyUI : MonoBehaviourSingletonTemplate<LobbyUI>
|
|||
public Game_Mini m_Game_Mini;
|
||||
public HorseRushPanel m_MiniGame;
|
||||
[SerializeField] GameObject go_shop;
|
||||
public MiniGameAlbumSelect m_MiniGameAlbumSelect;
|
||||
|
||||
public Image[] images_botbtn; // 0 앨범, 1 상점
|
||||
int CurMenu = 2;
|
||||
|
|
@ -164,12 +165,14 @@ public class LobbyUI : MonoBehaviourSingletonTemplate<LobbyUI>
|
|||
case "btn_minigame":
|
||||
if (SaveMgr.Ins.IsInfinityMiniGame())
|
||||
{
|
||||
m_MiniGame.GameStart(true);
|
||||
//m_MiniGame.GameStart(true);
|
||||
m_MiniGameAlbumSelect.Set();
|
||||
return;
|
||||
}
|
||||
|
||||
if (SaveMgr.Ins.Check_Money(eMoney.MiniGameHP, 1, true))
|
||||
m_MiniGame.GameStart(false);
|
||||
m_MiniGameAlbumSelect.Set();
|
||||
//m_MiniGame.GameStart(false);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,75 @@
|
|||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
public class MiniGameAlbumSelect : uScrollViewMgr
|
||||
{
|
||||
public Image[] images_btn;
|
||||
public Image image_gogame;
|
||||
|
||||
List<Color32> list_btnColor = new List<Color32>
|
||||
{
|
||||
new Color32(146,164,180,255), // šĚźąĹĂ
|
||||
new Color32(0,163,206,255) // źąĹĂ
|
||||
};
|
||||
|
||||
int CurTab = 0;
|
||||
|
||||
public void Set()
|
||||
{
|
||||
gameObject.SetActive(true);
|
||||
Set_UI();
|
||||
}
|
||||
|
||||
void Set_UI()
|
||||
{
|
||||
images_btn[0].color = list_btnColor[CurTab == 0 ? 1 : 0];
|
||||
images_btn[1].color = list_btnColor[CurTab == 1 ? 1 : 0];
|
||||
|
||||
var lst = table_album.Ins.Get_DataList(CurTab == 0 ? eCollectionMethod.Default : eCollectionMethod.FullCollection);
|
||||
Set_ScrollView(lst, SaveMgr.Ins.Get_SelectGirlID());
|
||||
}
|
||||
|
||||
public void Select_Card(MiniGameAlbumSelectCard card)
|
||||
{
|
||||
if (m_SelectCard) m_SelectCard.Set_Selected(false);
|
||||
m_SelectCard = card;
|
||||
if (m_SelectCard)
|
||||
{
|
||||
m_SelectCard.Set_Selected(true);
|
||||
image_gogame.sprite = UIAtlasMgr.Ins.Get_Sprite("red_btn");
|
||||
}
|
||||
else
|
||||
{
|
||||
image_gogame.sprite = UIAtlasMgr.Ins.Get_Sprite("btn_gray");
|
||||
}
|
||||
}
|
||||
|
||||
public int Get_CurTab() { return CurTab; }
|
||||
|
||||
public void OnClick_Btn(int index)
|
||||
{
|
||||
CurTab = index;
|
||||
Set_UI();
|
||||
}
|
||||
|
||||
public void OnClick_GoMiniGame()
|
||||
{
|
||||
if (m_SelectCard)
|
||||
{
|
||||
bool gogame = false;
|
||||
if (SaveMgr.Ins.IsInfinityMiniGame())
|
||||
{
|
||||
gogame = true;
|
||||
}
|
||||
else if (SaveMgr.Ins.Check_Money(eMoney.MiniGameHP, 1, true))
|
||||
{
|
||||
SaveMgr.Ins.Add_Money(eMoney.MiniGameHP, -1);
|
||||
SaveMgr.Ins.Save();
|
||||
gogame = true;
|
||||
}
|
||||
|
||||
if (gogame) LobbyUI.Ins.m_MiniGame.GameStart(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 667c125dc9b8c204cb436229565f576f
|
||||
|
|
@ -0,0 +1,40 @@
|
|||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
public class MiniGameAlbumSelectCard : CardBase
|
||||
{
|
||||
public Image i_girl;
|
||||
public GameObject go_select, go_lock;
|
||||
|
||||
albumtabledata m_Data;
|
||||
|
||||
public override void Set<T>(T _base, int iLoop = -1, int idata = -1)
|
||||
{
|
||||
base.Set(_base, iLoop, idata);
|
||||
m_Data = _base as albumtabledata;
|
||||
|
||||
Load_Image(i_girl, m_Data.s_Image);
|
||||
|
||||
if (LobbyUI.Ins.m_MiniGameAlbumSelect.Get_CurTab() == 0)
|
||||
go_lock.SetActive(!SaveMgr.Ins.IsObtainGirl(m_Data.n_GirlID));
|
||||
else
|
||||
go_lock.SetActive(!SaveMgr.Ins.IsOpenAlbum(m_Data));
|
||||
|
||||
if (idata == Get_IntData())
|
||||
OnClick_Card();
|
||||
else
|
||||
Set_Selected(false);
|
||||
}
|
||||
|
||||
public override void Set_Selected(bool active)
|
||||
{
|
||||
go_select.SetActive(active);
|
||||
}
|
||||
|
||||
public override int Get_IntData() { return m_Data.n_GirlID; }
|
||||
|
||||
public void OnClick_Card()
|
||||
{
|
||||
LobbyUI.Ins.m_MiniGameAlbumSelect.Select_Card(go_lock.activeSelf ? null : this);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 8c253c2ae4bf00840b50cc15c4736271
|
||||
|
|
@ -0,0 +1,48 @@
|
|||
using System;
|
||||
using GUPS.AntiCheat.Protected;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
|
||||
public class MiniGameResult : MonoBehaviour
|
||||
{
|
||||
public TextMeshProUGUI[] texts; // 0 최대 콤보, 1 콤보 보너스, 2 획득 채팅 코인, 3 획득 가챠 코인, 4 추가 획득량
|
||||
|
||||
ProtectedInt32 m_coinAmount, m_rubyAmount;
|
||||
Action act_off;
|
||||
|
||||
public void Set(long coinAmount, int bonuscoin, int rubyAmount, int maxCombo, int maxFeverStreak,
|
||||
int missionSuccessPhotoID, Action _off)
|
||||
{
|
||||
gameObject.SetActive(true);
|
||||
act_off = _off;
|
||||
|
||||
m_coinAmount = (int)coinAmount;
|
||||
m_coinAmount.Obfuscate();
|
||||
m_rubyAmount = rubyAmount;
|
||||
m_rubyAmount.Obfuscate();
|
||||
|
||||
texts[0].text = maxCombo.ToString();
|
||||
texts[1].text = ((int)(maxCombo / 10f)).ToString() + "%";
|
||||
texts[2].text = rubyAmount.ToString();
|
||||
texts[3].text = coinAmount.ToString();
|
||||
texts[4].text = $"+{bonuscoin}";
|
||||
}
|
||||
|
||||
public void OnClick_AD()
|
||||
{
|
||||
ADInfo.Ins.Show_AD(false, () =>
|
||||
{
|
||||
SaveMgr.Ins.Add_Money(eMoney.Gacha, m_coinAmount);
|
||||
SaveMgr.Ins.Add_Money(eMoney.Chat, m_rubyAmount);
|
||||
SaveMgr.Ins.Save();
|
||||
|
||||
gameObject.SetActive(false);
|
||||
act_off();
|
||||
});
|
||||
}
|
||||
public void OnClick_Close()
|
||||
{
|
||||
gameObject.SetActive(false);
|
||||
act_off();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 4349858a82180e646b2c70b5cc690276
|
||||
|
|
@ -90,6 +90,10 @@ public class ProfileCard : MonoBehaviour
|
|||
{
|
||||
if (CanOpen())
|
||||
{ // 열 수 있음
|
||||
// 최초 한 장 공짜 지급
|
||||
SaveMgr.Ins.Open_Album(table_album.Ins.Get_SpecialAlbum(m_Data.n_GirlID, eCollectionMethod.Default));
|
||||
SaveMgr.Ins.Save();
|
||||
|
||||
Set_UI();
|
||||
}
|
||||
else
|
||||
|
|
|
|||
|
|
@ -0,0 +1,57 @@
|
|||
using TMPro;
|
||||
using UnityEngine.UI;
|
||||
|
||||
public class SpecialAlbumOpen : AddrHandleBase
|
||||
{
|
||||
public Image i_girl;
|
||||
public TextMeshProUGUI[] texts; // 0 보유 하트, 1 필요 하트, 2 조건
|
||||
|
||||
albumtabledata m_Data;
|
||||
|
||||
public void Set(albumtabledata data)
|
||||
{
|
||||
gameObject.SetActive(true);
|
||||
|
||||
m_Data = data;
|
||||
|
||||
Load_Image(i_girl, m_Data.s_Image);
|
||||
|
||||
texts[0].text = SaveMgr.Ins.Get_Money(eMoney.AlbumOpen).ToString();
|
||||
texts[1].text = m_Data.n_Price.ToString();
|
||||
|
||||
var girlname = table_girl.Ins.Get_Data(m_Data.n_GirlID).s_Name;
|
||||
switch (data.e_CollectionMethod)
|
||||
{
|
||||
case eCollectionMethod.Default:
|
||||
texts[2].text = $"[{girlname}]캐릭터 열기 시 개방";
|
||||
break;
|
||||
case eCollectionMethod.Gacha:
|
||||
texts[2].text = $"[{girlname}]가챠 등급9 발생 시 개방";
|
||||
break;
|
||||
case eCollectionMethod.FullCollection:
|
||||
texts[2].text = $"[{girlname}]스페셜을 제외한 모든 앨범 획득 시 개방";
|
||||
break;
|
||||
case eCollectionMethod.Mission:
|
||||
texts[2].text = $"[{girlname}]피버 3회 달성 시 개방";
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
public void OnClick_Buy()
|
||||
{
|
||||
if (SaveMgr.Ins.Check_Money(eMoney.AlbumOpen, m_Data.n_Price))
|
||||
{
|
||||
SaveMgr.Ins.Add_Money(eMoney.AlbumOpen, -m_Data.n_Price);
|
||||
SaveMgr.Ins.Open_Album(m_Data);
|
||||
SaveMgr.Ins.Save();
|
||||
|
||||
LobbyUI.Ins.m_LobbyCenterProfileUI.Set(false);
|
||||
LobbyUI.Ins.m_AlbumUI.Set_UI();
|
||||
LobbyUI.Ins.m_ToastUI.Set("열린 앨범을 감상해 보세요.");
|
||||
|
||||
gameObject.SetActive(false);
|
||||
}
|
||||
else
|
||||
LobbyUI.Ins.m_ToastUI.Set("재화가 부족합니다.");
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
fileFormatVersion: 2
|
||||
guid: b3932cd46ced7454cbbab8ff299617e8
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 7366629bcadbb4146ae586fc6a64f73f
|
||||
guid: f5b308dd1ef3f554881327cdacbc10e1
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: fb21b2a17a17b43a9a94efcac6880353
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
userData:
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
{\rtf1\ansi\ansicpg1252\cocoartf1265
|
||||
{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
|
||||
{\colortbl;\red255\green255\blue255;}
|
||||
\paperw11900\paperh16840\margl1440\margr1440\vieww10800\viewh8400\viewkind0
|
||||
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural
|
||||
|
||||
\f0\fs24 \cf0 Important! Please only extract this package if you own the 2D Toolkit asset and wish to enable Jelly Sprite support for it! Extracting this package will cause compile errors if you do not own 2D Toolkit.}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 1956ce22386624496855baf53035640d
|
||||
DefaultImporter:
|
||||
userData:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 13327
|
||||
packageName: Jelly Sprites
|
||||
packageVersion: 1.41
|
||||
assetPath: Assets/JellySprites/2D Toolkit/Important.rtf
|
||||
uploadId: 554010
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 81eef36e04eac2b4aa4fcb0e2bee4e97
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
userData:
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 829e7d8e9c21bf84ea644ee78893fa76
|
||||
DefaultImporter:
|
||||
userData:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 13327
|
||||
packageName: Jelly Sprites
|
||||
packageVersion: 1.41
|
||||
assetPath: Assets/JellySprites/Demo/Jelly Sprite Demo Scene.unity
|
||||
uploadId: 554010
|
||||