Compare commits
10 commits
9e622d31c9
...
8c123d3edb
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8c123d3edb | ||
|
|
57c99b681a | ||
|
|
20822f1e58 | ||
| d29e4f9577 | |||
|
|
ab67ca045d | ||
|
|
65423358fd | ||
|
|
fe06ed5f96 | ||
|
|
d2c23b13cf | ||
|
|
466c6004a5 | ||
|
|
4f2f5d4112 |
62 changed files with 119000 additions and 153704 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -15,13 +15,13 @@ MonoBehaviour:
|
||||||
active: 1
|
active: 1
|
||||||
mode:
|
mode:
|
||||||
m_OverrideState: 1
|
m_OverrideState: 1
|
||||||
m_Value: 1
|
m_Value: 0
|
||||||
quality:
|
quality:
|
||||||
m_OverrideState: 1
|
m_OverrideState: 1
|
||||||
m_Value: 2
|
m_Value: 2
|
||||||
intensity:
|
intensity:
|
||||||
m_OverrideState: 1
|
m_OverrideState: 1
|
||||||
m_Value: 1
|
m_Value: 0.364
|
||||||
clamp:
|
clamp:
|
||||||
m_OverrideState: 0
|
m_OverrideState: 0
|
||||||
m_Value: 0.05
|
m_Value: 0.05
|
||||||
|
|
@ -40,13 +40,13 @@ MonoBehaviour:
|
||||||
active: 1
|
active: 1
|
||||||
type:
|
type:
|
||||||
m_OverrideState: 1
|
m_OverrideState: 1
|
||||||
m_Value: 0
|
m_Value: 9
|
||||||
intensity:
|
intensity:
|
||||||
m_OverrideState: 1
|
m_OverrideState: 1
|
||||||
m_Value: 1
|
m_Value: 1
|
||||||
response:
|
response:
|
||||||
m_OverrideState: 1
|
m_OverrideState: 1
|
||||||
m_Value: 0
|
m_Value: 1
|
||||||
texture:
|
texture:
|
||||||
m_OverrideState: 0
|
m_OverrideState: 0
|
||||||
m_Value: {fileID: 0}
|
m_Value: {fileID: 0}
|
||||||
|
|
@ -113,22 +113,22 @@ MonoBehaviour:
|
||||||
m_Value: 1
|
m_Value: 1
|
||||||
threshold:
|
threshold:
|
||||||
m_OverrideState: 1
|
m_OverrideState: 1
|
||||||
m_Value: 0
|
m_Value: 0.3
|
||||||
intensity:
|
intensity:
|
||||||
m_OverrideState: 1
|
m_OverrideState: 1
|
||||||
m_Value: 1
|
m_Value: 1
|
||||||
scatter:
|
scatter:
|
||||||
m_OverrideState: 0
|
m_OverrideState: 0
|
||||||
m_Value: 0.7
|
m_Value: 0
|
||||||
clamp:
|
clamp:
|
||||||
m_OverrideState: 0
|
m_OverrideState: 0
|
||||||
m_Value: 65472
|
m_Value: 1
|
||||||
tint:
|
tint:
|
||||||
m_OverrideState: 0
|
m_OverrideState: 0
|
||||||
m_Value: {r: 1, g: 1, b: 1, a: 1}
|
m_Value: {r: 0, g: 0, b: 0, a: 1}
|
||||||
highQualityFiltering:
|
highQualityFiltering:
|
||||||
m_OverrideState: 0
|
m_OverrideState: 0
|
||||||
m_Value: 0
|
m_Value: 1
|
||||||
downscale:
|
downscale:
|
||||||
m_OverrideState: 0
|
m_OverrideState: 0
|
||||||
m_Value: 0
|
m_Value: 0
|
||||||
|
|
@ -137,8 +137,8 @@ MonoBehaviour:
|
||||||
m_Value: 6
|
m_Value: 6
|
||||||
dirtTexture:
|
dirtTexture:
|
||||||
m_OverrideState: 0
|
m_OverrideState: 0
|
||||||
m_Value: {fileID: 0}
|
m_Value: {fileID: 8400000, guid: b1cd15e52e623714b8923607fff80958, type: 2}
|
||||||
dimension: 1
|
dimension: 1
|
||||||
dirtIntensity:
|
dirtIntensity:
|
||||||
m_OverrideState: 0
|
m_OverrideState: 0
|
||||||
m_Value: 0
|
m_Value: 4.61
|
||||||
|
|
|
||||||
|
|
@ -60,6 +60,11 @@ public static class EditorCustom
|
||||||
|
|
||||||
GameManager gm = (GameManager)target;
|
GameManager gm = (GameManager)target;
|
||||||
|
|
||||||
|
if (GUILayout.Button("Execute Turn") && gm.actions.Count > 0)
|
||||||
|
{
|
||||||
|
gm.ExecuteTurn();
|
||||||
|
}
|
||||||
|
|
||||||
GUILayout.Label("Generation Parameters", EditorStyles.boldLabel);
|
GUILayout.Label("Generation Parameters", EditorStyles.boldLabel);
|
||||||
|
|
||||||
EditorGUI.BeginChangeCheck();
|
EditorGUI.BeginChangeCheck();
|
||||||
|
|
@ -168,6 +173,9 @@ public static class EditorCustom
|
||||||
// Custom Scene Interaction while GameManager selected
|
// Custom Scene Interaction while GameManager selected
|
||||||
private void OnSceneGUI()
|
private void OnSceneGUI()
|
||||||
{
|
{
|
||||||
|
if (Application.isPlaying)
|
||||||
|
return;
|
||||||
|
|
||||||
Handles.zTest = UnityEngine.Rendering.CompareFunction.LessEqual;
|
Handles.zTest = UnityEngine.Rendering.CompareFunction.LessEqual;
|
||||||
|
|
||||||
GameManager gm = FindFirstObjectByType<GameManager>();
|
GameManager gm = FindFirstObjectByType<GameManager>();
|
||||||
|
|
|
||||||
8
Assets/Materials.meta
Normal file
8
Assets/Materials.meta
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 8971a44a4aaac7b49a534db88abf84cf
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
58
Assets/Materials/ConnectionMat.mat
Normal file
58
Assets/Materials/ConnectionMat.mat
Normal file
|
|
@ -0,0 +1,58 @@
|
||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!114 &-1631915010790965816
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 11
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
version: 9
|
||||||
|
--- !u!21 &2100000
|
||||||
|
Material:
|
||||||
|
serializedVersion: 8
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: ConnectionMat
|
||||||
|
m_Shader: {fileID: -6465566751694194690, guid: 25af256918353c441930eca1eb4529ea, type: 3}
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords: []
|
||||||
|
m_InvalidKeywords: []
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses:
|
||||||
|
- MOTIONVECTORS
|
||||||
|
m_LockedProperties:
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- unity_Lightmaps:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- unity_LightmapsInd:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- unity_ShadowMasks:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
m_Ints: []
|
||||||
|
m_Floats:
|
||||||
|
- _QueueControl: 0
|
||||||
|
- _QueueOffset: 0
|
||||||
|
m_Colors: []
|
||||||
|
m_BuildTextureStacks: []
|
||||||
|
m_AllowLocking: 1
|
||||||
8
Assets/Materials/ConnectionMat.mat.meta
Normal file
8
Assets/Materials/ConnectionMat.mat.meta
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 8713994215cc94d4d984b809c4c18206
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
137
Assets/Materials/Nacho.mat
Normal file
137
Assets/Materials/Nacho.mat
Normal file
|
|
@ -0,0 +1,137 @@
|
||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!114 &-7787773669764108828
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 11
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
version: 9
|
||||||
|
--- !u!21 &2100000
|
||||||
|
Material:
|
||||||
|
serializedVersion: 8
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: Nacho
|
||||||
|
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords:
|
||||||
|
- _EMISSION
|
||||||
|
m_InvalidKeywords: []
|
||||||
|
m_LightmapFlags: 1
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap:
|
||||||
|
RenderType: Opaque
|
||||||
|
disabledShaderPasses:
|
||||||
|
- MOTIONVECTORS
|
||||||
|
m_LockedProperties:
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _BaseMap:
|
||||||
|
m_Texture: {fileID: 10300, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _BumpMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailAlbedoMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailMask:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailNormalMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _EmissionMap:
|
||||||
|
m_Texture: {fileID: 10300, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MainTex:
|
||||||
|
m_Texture: {fileID: 10300, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MetallicGlossMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _OcclusionMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _ParallaxMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _SpecGlossMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- unity_Lightmaps:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- unity_LightmapsInd:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- unity_ShadowMasks:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
m_Ints: []
|
||||||
|
m_Floats:
|
||||||
|
- _AddPrecomputedVelocity: 0
|
||||||
|
- _AlphaClip: 0
|
||||||
|
- _AlphaToMask: 0
|
||||||
|
- _Blend: 0
|
||||||
|
- _BlendModePreserveSpecular: 1
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _ClearCoatMask: 0
|
||||||
|
- _ClearCoatSmoothness: 0
|
||||||
|
- _Cull: 2
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailAlbedoMapScale: 1
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _DstBlendAlpha: 0
|
||||||
|
- _EnvironmentReflections: 1
|
||||||
|
- _GlossMapScale: 0
|
||||||
|
- _Glossiness: 0
|
||||||
|
- _GlossyReflections: 0
|
||||||
|
- _Metallic: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.005
|
||||||
|
- _QueueOffset: 0
|
||||||
|
- _ReceiveShadows: 1
|
||||||
|
- _Smoothness: 0.5
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _SrcBlendAlpha: 1
|
||||||
|
- _Surface: 0
|
||||||
|
- _WorkflowMode: 1
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _BaseColor: {r: 1, g: 0.8652551, b: 0.36470592, a: 1}
|
||||||
|
- _Color: {r: 1, g: 0.8652551, b: 0.3647059, a: 1}
|
||||||
|
- _EmissionColor: {r: 0.6589518, g: 1, b: 0.109803915, a: 1}
|
||||||
|
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
|
m_AllowLocking: 1
|
||||||
8
Assets/Materials/Nacho.mat.meta
Normal file
8
Assets/Materials/Nacho.mat.meta
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 5e30203f65fbb1c438cadd2e60d47e68
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
137
Assets/Materials/NachoOther.mat
Normal file
137
Assets/Materials/NachoOther.mat
Normal file
|
|
@ -0,0 +1,137 @@
|
||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!114 &-7787773669764108828
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 11
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
version: 9
|
||||||
|
--- !u!21 &2100000
|
||||||
|
Material:
|
||||||
|
serializedVersion: 8
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: NachoOther
|
||||||
|
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords:
|
||||||
|
- _EMISSION
|
||||||
|
m_InvalidKeywords: []
|
||||||
|
m_LightmapFlags: 1
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap:
|
||||||
|
RenderType: Opaque
|
||||||
|
disabledShaderPasses:
|
||||||
|
- MOTIONVECTORS
|
||||||
|
m_LockedProperties:
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _BaseMap:
|
||||||
|
m_Texture: {fileID: 10300, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _BumpMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailAlbedoMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailMask:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailNormalMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _EmissionMap:
|
||||||
|
m_Texture: {fileID: 10300, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MainTex:
|
||||||
|
m_Texture: {fileID: 10300, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MetallicGlossMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _OcclusionMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _ParallaxMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _SpecGlossMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- unity_Lightmaps:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- unity_LightmapsInd:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- unity_ShadowMasks:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
m_Ints: []
|
||||||
|
m_Floats:
|
||||||
|
- _AddPrecomputedVelocity: 0
|
||||||
|
- _AlphaClip: 0
|
||||||
|
- _AlphaToMask: 0
|
||||||
|
- _Blend: 0
|
||||||
|
- _BlendModePreserveSpecular: 1
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _ClearCoatMask: 0
|
||||||
|
- _ClearCoatSmoothness: 0
|
||||||
|
- _Cull: 2
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailAlbedoMapScale: 1
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _DstBlendAlpha: 0
|
||||||
|
- _EnvironmentReflections: 1
|
||||||
|
- _GlossMapScale: 0
|
||||||
|
- _Glossiness: 0
|
||||||
|
- _GlossyReflections: 0
|
||||||
|
- _Metallic: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.005
|
||||||
|
- _QueueOffset: 0
|
||||||
|
- _ReceiveShadows: 1
|
||||||
|
- _Smoothness: 0.5
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _SrcBlendAlpha: 1
|
||||||
|
- _Surface: 0
|
||||||
|
- _WorkflowMode: 1
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _BaseColor: {r: 0.96363, g: 0.36470592, b: 1, a: 1}
|
||||||
|
- _Color: {r: 0.96363, g: 0.3647059, b: 1, a: 1}
|
||||||
|
- _EmissionColor: {r: 0.92158204, g: 0.10946172, b: 1, a: 1}
|
||||||
|
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
|
m_AllowLocking: 1
|
||||||
8
Assets/Materials/NachoOther.mat.meta
Normal file
8
Assets/Materials/NachoOther.mat.meta
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 58c34887c0bf8504480059d08d6ebcba
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
355
Assets/Materials/New Shader Graph.shadergraph
Normal file
355
Assets/Materials/New Shader Graph.shadergraph
Normal file
|
|
@ -0,0 +1,355 @@
|
||||||
|
{
|
||||||
|
"m_SGVersion": 3,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.GraphData",
|
||||||
|
"m_ObjectId": "7ee5c38b8d78438fae1745cb44ac2bee",
|
||||||
|
"m_Properties": [],
|
||||||
|
"m_Keywords": [],
|
||||||
|
"m_Dropdowns": [],
|
||||||
|
"m_CategoryData": [
|
||||||
|
{
|
||||||
|
"m_Id": "dce6d9cc34664a72b53f74a09fde5e3b"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_Nodes": [
|
||||||
|
{
|
||||||
|
"m_Id": "bddff64838a142efa3ed93c7f31aadd2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "7ffda6aed198409498e3ac6518172cc0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "286cc4a1e91448ebade45bd591f8efc2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "3b0732ff019a4c9e809e5af50239a3b0"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"m_GroupDatas": [],
|
||||||
|
"m_StickyNoteDatas": [],
|
||||||
|
"m_Edges": [],
|
||||||
|
"m_VertexContext": {
|
||||||
|
"m_Position": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0
|
||||||
|
},
|
||||||
|
"m_Blocks": [
|
||||||
|
{
|
||||||
|
"m_Id": "bddff64838a142efa3ed93c7f31aadd2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "7ffda6aed198409498e3ac6518172cc0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"m_Id": "286cc4a1e91448ebade45bd591f8efc2"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"m_FragmentContext": {
|
||||||
|
"m_Position": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 200.0
|
||||||
|
},
|
||||||
|
"m_Blocks": [
|
||||||
|
{
|
||||||
|
"m_Id": "3b0732ff019a4c9e809e5af50239a3b0"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"m_PreviewData": {
|
||||||
|
"serializedMesh": {
|
||||||
|
"m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
|
||||||
|
"m_Guid": ""
|
||||||
|
},
|
||||||
|
"preventRotation": false
|
||||||
|
},
|
||||||
|
"m_Path": "Shader Graphs",
|
||||||
|
"m_GraphPrecision": 1,
|
||||||
|
"m_PreviewMode": 2,
|
||||||
|
"m_OutputNode": {
|
||||||
|
"m_Id": ""
|
||||||
|
},
|
||||||
|
"m_SubDatas": [],
|
||||||
|
"m_ActiveTargets": [
|
||||||
|
{
|
||||||
|
"m_Id": "587d1d3a6752457fb5245728575ee5a7"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
|
||||||
|
"m_ObjectId": "286cc4a1e91448ebade45bd591f8efc2",
|
||||||
|
"m_Group": {
|
||||||
|
"m_Id": ""
|
||||||
|
},
|
||||||
|
"m_Name": "VertexDescription.Tangent",
|
||||||
|
"m_DrawState": {
|
||||||
|
"m_Expanded": true,
|
||||||
|
"m_Position": {
|
||||||
|
"serializedVersion": "2",
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"width": 0.0,
|
||||||
|
"height": 0.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"m_Slots": [
|
||||||
|
{
|
||||||
|
"m_Id": "6953ed4ba5aa488cbb697350091476a0"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"synonyms": [],
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_PreviewExpanded": true,
|
||||||
|
"m_DismissedVersion": 0,
|
||||||
|
"m_PreviewMode": 0,
|
||||||
|
"m_CustomColors": {
|
||||||
|
"m_SerializableColors": []
|
||||||
|
},
|
||||||
|
"m_SerializedDescriptor": "VertexDescription.Tangent"
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
|
||||||
|
"m_ObjectId": "3b0732ff019a4c9e809e5af50239a3b0",
|
||||||
|
"m_Group": {
|
||||||
|
"m_Id": ""
|
||||||
|
},
|
||||||
|
"m_Name": "SurfaceDescription.BaseColor",
|
||||||
|
"m_DrawState": {
|
||||||
|
"m_Expanded": true,
|
||||||
|
"m_Position": {
|
||||||
|
"serializedVersion": "2",
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"width": 0.0,
|
||||||
|
"height": 0.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"m_Slots": [
|
||||||
|
{
|
||||||
|
"m_Id": "bb9d8971835a49ad84441dcbcea61b34"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"synonyms": [],
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_PreviewExpanded": true,
|
||||||
|
"m_DismissedVersion": 0,
|
||||||
|
"m_PreviewMode": 0,
|
||||||
|
"m_CustomColors": {
|
||||||
|
"m_SerializableColors": []
|
||||||
|
},
|
||||||
|
"m_SerializedDescriptor": "SurfaceDescription.BaseColor"
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 2,
|
||||||
|
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget",
|
||||||
|
"m_ObjectId": "415efa02aa2b469d8639ba895c8526bf"
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 1,
|
||||||
|
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
|
||||||
|
"m_ObjectId": "587d1d3a6752457fb5245728575ee5a7",
|
||||||
|
"m_Datas": [],
|
||||||
|
"m_ActiveSubTarget": {
|
||||||
|
"m_Id": "415efa02aa2b469d8639ba895c8526bf"
|
||||||
|
},
|
||||||
|
"m_AllowMaterialOverride": false,
|
||||||
|
"m_SurfaceType": 0,
|
||||||
|
"m_ZTestMode": 4,
|
||||||
|
"m_ZWriteControl": 0,
|
||||||
|
"m_AlphaMode": 0,
|
||||||
|
"m_RenderFace": 2,
|
||||||
|
"m_AlphaClip": false,
|
||||||
|
"m_CastShadows": true,
|
||||||
|
"m_ReceiveShadows": true,
|
||||||
|
"m_DisableTint": false,
|
||||||
|
"m_AdditionalMotionVectorMode": 0,
|
||||||
|
"m_AlembicMotionVectors": false,
|
||||||
|
"m_SupportsLODCrossFade": false,
|
||||||
|
"m_CustomEditorGUI": "",
|
||||||
|
"m_SupportVFX": false
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot",
|
||||||
|
"m_ObjectId": "6953ed4ba5aa488cbb697350091476a0",
|
||||||
|
"m_Id": 0,
|
||||||
|
"m_DisplayName": "Tangent",
|
||||||
|
"m_SlotType": 0,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "Tangent",
|
||||||
|
"m_StageCapability": 1,
|
||||||
|
"m_Value": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"z": 0.0
|
||||||
|
},
|
||||||
|
"m_DefaultValue": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"z": 0.0
|
||||||
|
},
|
||||||
|
"m_Labels": [],
|
||||||
|
"m_Space": 0
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
|
||||||
|
"m_ObjectId": "7ffda6aed198409498e3ac6518172cc0",
|
||||||
|
"m_Group": {
|
||||||
|
"m_Id": ""
|
||||||
|
},
|
||||||
|
"m_Name": "VertexDescription.Normal",
|
||||||
|
"m_DrawState": {
|
||||||
|
"m_Expanded": true,
|
||||||
|
"m_Position": {
|
||||||
|
"serializedVersion": "2",
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"width": 0.0,
|
||||||
|
"height": 0.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"m_Slots": [
|
||||||
|
{
|
||||||
|
"m_Id": "966179fbba674880bb93b60ce5a1bde9"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"synonyms": [],
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_PreviewExpanded": true,
|
||||||
|
"m_DismissedVersion": 0,
|
||||||
|
"m_PreviewMode": 0,
|
||||||
|
"m_CustomColors": {
|
||||||
|
"m_SerializableColors": []
|
||||||
|
},
|
||||||
|
"m_SerializedDescriptor": "VertexDescription.Normal"
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
|
||||||
|
"m_ObjectId": "966179fbba674880bb93b60ce5a1bde9",
|
||||||
|
"m_Id": 0,
|
||||||
|
"m_DisplayName": "Normal",
|
||||||
|
"m_SlotType": 0,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "Normal",
|
||||||
|
"m_StageCapability": 1,
|
||||||
|
"m_Value": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"z": 0.0
|
||||||
|
},
|
||||||
|
"m_DefaultValue": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"z": 0.0
|
||||||
|
},
|
||||||
|
"m_Labels": [],
|
||||||
|
"m_Space": 0
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot",
|
||||||
|
"m_ObjectId": "a3ea78f131f445219f2ad47e02b20e5f",
|
||||||
|
"m_Id": 0,
|
||||||
|
"m_DisplayName": "Position",
|
||||||
|
"m_SlotType": 0,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "Position",
|
||||||
|
"m_StageCapability": 1,
|
||||||
|
"m_Value": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"z": 0.0
|
||||||
|
},
|
||||||
|
"m_DefaultValue": {
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"z": 0.0
|
||||||
|
},
|
||||||
|
"m_Labels": [],
|
||||||
|
"m_Space": 0
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
|
||||||
|
"m_ObjectId": "bb9d8971835a49ad84441dcbcea61b34",
|
||||||
|
"m_Id": 0,
|
||||||
|
"m_DisplayName": "Base Color",
|
||||||
|
"m_SlotType": 0,
|
||||||
|
"m_Hidden": false,
|
||||||
|
"m_ShaderOutputName": "BaseColor",
|
||||||
|
"m_StageCapability": 2,
|
||||||
|
"m_Value": {
|
||||||
|
"x": 0.5,
|
||||||
|
"y": 0.5,
|
||||||
|
"z": 0.5
|
||||||
|
},
|
||||||
|
"m_DefaultValue": {
|
||||||
|
"x": 0.5,
|
||||||
|
"y": 0.5,
|
||||||
|
"z": 0.5
|
||||||
|
},
|
||||||
|
"m_Labels": [],
|
||||||
|
"m_ColorMode": 0,
|
||||||
|
"m_DefaultColor": {
|
||||||
|
"r": 0.5,
|
||||||
|
"g": 0.5,
|
||||||
|
"b": 0.5,
|
||||||
|
"a": 1.0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
|
||||||
|
"m_ObjectId": "bddff64838a142efa3ed93c7f31aadd2",
|
||||||
|
"m_Group": {
|
||||||
|
"m_Id": ""
|
||||||
|
},
|
||||||
|
"m_Name": "VertexDescription.Position",
|
||||||
|
"m_DrawState": {
|
||||||
|
"m_Expanded": true,
|
||||||
|
"m_Position": {
|
||||||
|
"serializedVersion": "2",
|
||||||
|
"x": 0.0,
|
||||||
|
"y": 0.0,
|
||||||
|
"width": 0.0,
|
||||||
|
"height": 0.0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"m_Slots": [
|
||||||
|
{
|
||||||
|
"m_Id": "a3ea78f131f445219f2ad47e02b20e5f"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"synonyms": [],
|
||||||
|
"m_Precision": 0,
|
||||||
|
"m_PreviewExpanded": true,
|
||||||
|
"m_DismissedVersion": 0,
|
||||||
|
"m_PreviewMode": 0,
|
||||||
|
"m_CustomColors": {
|
||||||
|
"m_SerializableColors": []
|
||||||
|
},
|
||||||
|
"m_SerializedDescriptor": "VertexDescription.Position"
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"m_SGVersion": 0,
|
||||||
|
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
|
||||||
|
"m_ObjectId": "dce6d9cc34664a72b53f74a09fde5e3b",
|
||||||
|
"m_Name": "",
|
||||||
|
"m_ChildObjectList": []
|
||||||
|
}
|
||||||
|
|
||||||
10
Assets/Materials/New Shader Graph.shadergraph.meta
Normal file
10
Assets/Materials/New Shader Graph.shadergraph.meta
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 25af256918353c441930eca1eb4529ea
|
||||||
|
ScriptedImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3}
|
||||||
|
|
@ -8,7 +8,7 @@ Material:
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_Name: NodeMaterialNone
|
m_Name: NodeMaterialNone
|
||||||
m_Shader: {fileID: 4800000, guid: 650dd9526735d5b46b79224bc6e94025, type: 3}
|
m_Shader: {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
m_Parent: {fileID: 0}
|
m_Parent: {fileID: 0}
|
||||||
m_ModifiedSerializedProperties: 0
|
m_ModifiedSerializedProperties: 0
|
||||||
m_ValidKeywords: []
|
m_ValidKeywords: []
|
||||||
|
|
@ -17,14 +17,17 @@ Material:
|
||||||
m_EnableInstancingVariants: 0
|
m_EnableInstancingVariants: 0
|
||||||
m_DoubleSidedGI: 0
|
m_DoubleSidedGI: 0
|
||||||
m_CustomRenderQueue: -1
|
m_CustomRenderQueue: -1
|
||||||
stringTagMap:
|
stringTagMap: {}
|
||||||
RenderType: Opaque
|
|
||||||
disabledShaderPasses:
|
disabledShaderPasses:
|
||||||
- MOTIONVECTORS
|
- MOTIONVECTORS
|
||||||
m_LockedProperties:
|
m_LockedProperties:
|
||||||
m_SavedProperties:
|
m_SavedProperties:
|
||||||
serializedVersion: 3
|
serializedVersion: 3
|
||||||
m_TexEnvs:
|
m_TexEnvs:
|
||||||
|
- _AlphaTex:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
- _BaseMap:
|
- _BaseMap:
|
||||||
m_Texture: {fileID: 0}
|
m_Texture: {fileID: 0}
|
||||||
m_Scale: {x: 1, y: 1}
|
m_Scale: {x: 1, y: 1}
|
||||||
|
|
@ -83,6 +86,7 @@ Material:
|
||||||
m_Offset: {x: 0, y: 0}
|
m_Offset: {x: 0, y: 0}
|
||||||
m_Ints: []
|
m_Ints: []
|
||||||
m_Floats:
|
m_Floats:
|
||||||
|
- PixelSnap: 0
|
||||||
- _AddPrecomputedVelocity: 0
|
- _AddPrecomputedVelocity: 0
|
||||||
- _AlphaClip: 0
|
- _AlphaClip: 0
|
||||||
- _AlphaToMask: 0
|
- _AlphaToMask: 0
|
||||||
|
|
@ -98,6 +102,7 @@ Material:
|
||||||
- _DetailNormalMapScale: 1
|
- _DetailNormalMapScale: 1
|
||||||
- _DstBlend: 0
|
- _DstBlend: 0
|
||||||
- _DstBlendAlpha: 0
|
- _DstBlendAlpha: 0
|
||||||
|
- _EnableExternalAlpha: 0
|
||||||
- _EnvironmentReflections: 1
|
- _EnvironmentReflections: 1
|
||||||
- _GlossMapScale: 0
|
- _GlossMapScale: 0
|
||||||
- _Glossiness: 0
|
- _Glossiness: 0
|
||||||
|
|
@ -120,6 +125,8 @@ Material:
|
||||||
- _BaseColor: {r: 0, g: 0, b: 0, a: 1}
|
- _BaseColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
- _Color: {r: 0, g: 0, b: 0, a: 1}
|
- _Color: {r: 0, g: 0, b: 0, a: 1}
|
||||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
- _Flip: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _RendererColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
|
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
|
||||||
m_BuildTextureStacks: []
|
m_BuildTextureStacks: []
|
||||||
m_AllowLocking: 1
|
m_AllowLocking: 1
|
||||||
483
Assets/Prefabs/ActionListItem.prefab
Normal file
483
Assets/Prefabs/ActionListItem.prefab
Normal file
|
|
@ -0,0 +1,483 @@
|
||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1 &2162029386398762804
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 8608470133059510068}
|
||||||
|
- component: {fileID: 7104402959265774360}
|
||||||
|
- component: {fileID: 4580432122827540398}
|
||||||
|
m_Layer: 9
|
||||||
|
m_Name: Stop
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &8608470133059510068
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2162029386398762804}
|
||||||
|
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: 3551140700265911355}
|
||||||
|
m_Father: {fileID: 6561832683277441426}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: 0, y: -6}
|
||||||
|
m_SizeDelta: {x: 47.2, y: 70}
|
||||||
|
m_Pivot: {x: 0, y: 0.5}
|
||||||
|
--- !u!222 &7104402959265774360
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2162029386398762804}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &4580432122827540398
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2162029386398762804}
|
||||||
|
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: 0.09019608, g: 1, b: 0, a: 1}
|
||||||
|
m_HighlightedColor: {r: 0.022105182, g: 0.23584908, b: 0.0011124983, a: 0.3137255}
|
||||||
|
m_PressedColor: {r: 0.023529412, g: 0.23529412, b: 0, a: 1}
|
||||||
|
m_SelectedColor: {r: 0.023529412, g: 0.23529412, b: 0, a: 1}
|
||||||
|
m_DisabledColor: {r: 0.023529412, g: 0.23529412, b: 0, a: 1}
|
||||||
|
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: 6256235962033582680}
|
||||||
|
m_OnClick:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
--- !u!1 &3332351209159568617
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 3551140700265911355}
|
||||||
|
- component: {fileID: 3148554235157132062}
|
||||||
|
- component: {fileID: 6256235962033582680}
|
||||||
|
m_Layer: 9
|
||||||
|
m_Name: Text (TMP) (1)
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &3551140700265911355
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 3332351209159568617}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1.5, z: 1}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 8608470133059510068}
|
||||||
|
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 &3148554235157132062
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 3332351209159568617}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &6256235962033582680
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 3332351209159568617}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_text: '[X]'
|
||||||
|
m_isRightToLeft: 0
|
||||||
|
m_fontAsset: {fileID: 11400000, guid: e01dc04fc20642041aebeaef670ef411, type: 2}
|
||||||
|
m_sharedMaterial: {fileID: -2723583854633709972, guid: e01dc04fc20642041aebeaef670ef411, type: 2}
|
||||||
|
m_fontSharedMaterials: []
|
||||||
|
m_fontMaterial: {fileID: 0}
|
||||||
|
m_fontMaterials: []
|
||||||
|
m_fontColor32:
|
||||||
|
serializedVersion: 2
|
||||||
|
rgba: 4278255383
|
||||||
|
m_fontColor: {r: 0.09019608, g: 1, b: 0, a: 1}
|
||||||
|
m_enableVertexGradient: 0
|
||||||
|
m_colorMode: 3
|
||||||
|
m_fontColorGradient:
|
||||||
|
topLeft: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
topRight: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
bottomRight: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_fontColorGradientPreset: {fileID: 0}
|
||||||
|
m_spriteAsset: {fileID: 0}
|
||||||
|
m_tintAllSprites: 0
|
||||||
|
m_StyleSheet: {fileID: 0}
|
||||||
|
m_TextStyleHashCode: -1183493901
|
||||||
|
m_overrideHtmlColors: 0
|
||||||
|
m_faceColor:
|
||||||
|
serializedVersion: 2
|
||||||
|
rgba: 4294967295
|
||||||
|
m_fontSize: 21.1
|
||||||
|
m_fontSizeBase: 21.1
|
||||||
|
m_fontWeight: 400
|
||||||
|
m_enableAutoSizing: 0
|
||||||
|
m_fontSizeMin: 18
|
||||||
|
m_fontSizeMax: 72
|
||||||
|
m_fontStyle: 0
|
||||||
|
m_HorizontalAlignment: 2
|
||||||
|
m_VerticalAlignment: 512
|
||||||
|
m_textAlignment: 65535
|
||||||
|
m_characterSpacing: 0
|
||||||
|
m_wordSpacing: 0
|
||||||
|
m_lineSpacing: 0
|
||||||
|
m_lineSpacingMax: 0
|
||||||
|
m_paragraphSpacing: 0
|
||||||
|
m_charWidthMaxAdj: 0
|
||||||
|
m_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 &4988049305611630419
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 3941921533188563526}
|
||||||
|
- component: {fileID: 4863163731545566582}
|
||||||
|
- component: {fileID: 6725520623897163873}
|
||||||
|
m_Layer: 9
|
||||||
|
m_Name: Text (TMP)
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &3941921533188563526
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4988049305611630419}
|
||||||
|
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: 6561832683277441426}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: 48.3, y: -7.5}
|
||||||
|
m_SizeDelta: {x: 153.6, y: 88.43}
|
||||||
|
m_Pivot: {x: 0, y: 0.5}
|
||||||
|
--- !u!222 &4863163731545566582
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4988049305611630419}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &6725520623897163873
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4988049305611630419}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_text: 345>234345>234345>234345>234345>234345>234345>234345>234345>234345>234345>234345>234345>234345>234345>234345>234345>234345>234345>234345>234345>234345>234345>234345>234345>234345>234345>234345>234
|
||||||
|
m_isRightToLeft: 0
|
||||||
|
m_fontAsset: {fileID: 11400000, guid: e01dc04fc20642041aebeaef670ef411, type: 2}
|
||||||
|
m_sharedMaterial: {fileID: -2723583854633709972, guid: e01dc04fc20642041aebeaef670ef411, type: 2}
|
||||||
|
m_fontSharedMaterials: []
|
||||||
|
m_fontMaterial: {fileID: 0}
|
||||||
|
m_fontMaterials: []
|
||||||
|
m_fontColor32:
|
||||||
|
serializedVersion: 2
|
||||||
|
rgba: 4278255383
|
||||||
|
m_fontColor: {r: 0.08960724, g: 1, b: 0, a: 1}
|
||||||
|
m_enableVertexGradient: 0
|
||||||
|
m_colorMode: 3
|
||||||
|
m_fontColorGradient:
|
||||||
|
topLeft: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
topRight: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
bottomRight: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_fontColorGradientPreset: {fileID: 0}
|
||||||
|
m_spriteAsset: {fileID: 0}
|
||||||
|
m_tintAllSprites: 0
|
||||||
|
m_StyleSheet: {fileID: 0}
|
||||||
|
m_TextStyleHashCode: -1183493901
|
||||||
|
m_overrideHtmlColors: 0
|
||||||
|
m_faceColor:
|
||||||
|
serializedVersion: 2
|
||||||
|
rgba: 4294967295
|
||||||
|
m_fontSize: 18
|
||||||
|
m_fontSizeBase: 31
|
||||||
|
m_fontWeight: 400
|
||||||
|
m_enableAutoSizing: 0
|
||||||
|
m_fontSizeMin: 18
|
||||||
|
m_fontSizeMax: 72
|
||||||
|
m_fontStyle: 0
|
||||||
|
m_HorizontalAlignment: 1
|
||||||
|
m_VerticalAlignment: 512
|
||||||
|
m_textAlignment: 65535
|
||||||
|
m_characterSpacing: 0
|
||||||
|
m_wordSpacing: 0
|
||||||
|
m_lineSpacing: -26.5
|
||||||
|
m_lineSpacingMax: 0
|
||||||
|
m_paragraphSpacing: 0
|
||||||
|
m_charWidthMaxAdj: 0
|
||||||
|
m_TextWrappingMode: 1
|
||||||
|
m_wordWrappingRatios: 0.4
|
||||||
|
m_overflowMode: 3
|
||||||
|
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 &7665016510188140211
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 6561832683277441426}
|
||||||
|
- component: {fileID: 2619683893873293193}
|
||||||
|
m_Layer: 9
|
||||||
|
m_Name: ActionListItem
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &6561832683277441426
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 7665016510188140211}
|
||||||
|
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: 7573029916683171551}
|
||||||
|
- {fileID: 3941921533188563526}
|
||||||
|
- {fileID: 8608470133059510068}
|
||||||
|
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: 191.44, y: 70}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &2619683893873293193
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 7665016510188140211}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!1 &8355606830369492786
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 7573029916683171551}
|
||||||
|
- component: {fileID: 3621188661599910723}
|
||||||
|
- component: {fileID: 8112859086220218905}
|
||||||
|
m_Layer: 9
|
||||||
|
m_Name: RawImage
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 0
|
||||||
|
--- !u!224 &7573029916683171551
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8355606830369492786}
|
||||||
|
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: 6561832683277441426}
|
||||||
|
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 &3621188661599910723
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8355606830369492786}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &8112859086220218905
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8355606830369492786}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 1344c3c82d62a2a41a3576d8abb8e3ea, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_UVRect:
|
||||||
|
serializedVersion: 2
|
||||||
|
x: 0
|
||||||
|
y: 0
|
||||||
|
width: 1
|
||||||
|
height: 1
|
||||||
7
Assets/Prefabs/ActionListItem.prefab.meta
Normal file
7
Assets/Prefabs/ActionListItem.prefab.meta
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 81c4ce2b48d8a0945947e98b0805e0c2
|
||||||
|
PrefabImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
485
Assets/Prefabs/Bubu.prefab
Normal file
485
Assets/Prefabs/Bubu.prefab
Normal file
|
|
@ -0,0 +1,485 @@
|
||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1 &1272837082511197979
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 2382263779329936796}
|
||||||
|
- component: {fileID: 6440920015177647112}
|
||||||
|
- component: {fileID: 472555679180908226}
|
||||||
|
m_Layer: 9
|
||||||
|
m_Name: 'Descriptio '
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &2382263779329936796
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1272837082511197979}
|
||||||
|
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: 349965043493509103}
|
||||||
|
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 &6440920015177647112
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1272837082511197979}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &472555679180908226
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1272837082511197979}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_text: Disco Disco Party Party
|
||||||
|
m_isRightToLeft: 0
|
||||||
|
m_fontAsset: {fileID: 11400000, guid: e01dc04fc20642041aebeaef670ef411, type: 2}
|
||||||
|
m_sharedMaterial: {fileID: -2723583854633709972, guid: e01dc04fc20642041aebeaef670ef411, type: 2}
|
||||||
|
m_fontSharedMaterials: []
|
||||||
|
m_fontMaterial: {fileID: 0}
|
||||||
|
m_fontMaterials: []
|
||||||
|
m_fontColor32:
|
||||||
|
serializedVersion: 2
|
||||||
|
rgba: 4278255383
|
||||||
|
m_fontColor: {r: 0.09019608, g: 1, b: 0, a: 1}
|
||||||
|
m_enableVertexGradient: 0
|
||||||
|
m_colorMode: 3
|
||||||
|
m_fontColorGradient:
|
||||||
|
topLeft: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
topRight: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
bottomRight: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_fontColorGradientPreset: {fileID: 0}
|
||||||
|
m_spriteAsset: {fileID: 0}
|
||||||
|
m_tintAllSprites: 0
|
||||||
|
m_StyleSheet: {fileID: 0}
|
||||||
|
m_TextStyleHashCode: -1183493901
|
||||||
|
m_overrideHtmlColors: 0
|
||||||
|
m_faceColor:
|
||||||
|
serializedVersion: 2
|
||||||
|
rgba: 4294967295
|
||||||
|
m_fontSize: 21
|
||||||
|
m_fontSizeBase: 21
|
||||||
|
m_fontWeight: 400
|
||||||
|
m_enableAutoSizing: 0
|
||||||
|
m_fontSizeMin: 18
|
||||||
|
m_fontSizeMax: 72
|
||||||
|
m_fontStyle: 0
|
||||||
|
m_HorizontalAlignment: 2
|
||||||
|
m_VerticalAlignment: 512
|
||||||
|
m_textAlignment: 65535
|
||||||
|
m_characterSpacing: 0
|
||||||
|
m_wordSpacing: 0
|
||||||
|
m_lineSpacing: 0
|
||||||
|
m_lineSpacingMax: 0
|
||||||
|
m_paragraphSpacing: 0
|
||||||
|
m_charWidthMaxAdj: 0
|
||||||
|
m_TextWrappingMode: 1
|
||||||
|
m_wordWrappingRatios: 0.4
|
||||||
|
m_overflowMode: 3
|
||||||
|
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 &2894640777630110874
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 616281255528438939}
|
||||||
|
- component: {fileID: 1405074793052141285}
|
||||||
|
- component: {fileID: 1265512644137755238}
|
||||||
|
m_Layer: 9
|
||||||
|
m_Name: Title
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &616281255528438939
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2894640777630110874}
|
||||||
|
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: 349965043493509103}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 1}
|
||||||
|
m_AnchorMax: {x: 1, y: 1}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
|
m_SizeDelta: {x: 0, y: 50}
|
||||||
|
m_Pivot: {x: 0.5, y: 1}
|
||||||
|
--- !u!222 &1405074793052141285
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2894640777630110874}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &1265512644137755238
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2894640777630110874}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_text: Title
|
||||||
|
m_isRightToLeft: 0
|
||||||
|
m_fontAsset: {fileID: 11400000, guid: e01dc04fc20642041aebeaef670ef411, type: 2}
|
||||||
|
m_sharedMaterial: {fileID: -2723583854633709972, guid: e01dc04fc20642041aebeaef670ef411, type: 2}
|
||||||
|
m_fontSharedMaterials: []
|
||||||
|
m_fontMaterial: {fileID: 0}
|
||||||
|
m_fontMaterials: []
|
||||||
|
m_fontColor32:
|
||||||
|
serializedVersion: 2
|
||||||
|
rgba: 4278255383
|
||||||
|
m_fontColor: {r: 0.09019608, g: 1, b: 0, a: 1}
|
||||||
|
m_enableVertexGradient: 0
|
||||||
|
m_colorMode: 3
|
||||||
|
m_fontColorGradient:
|
||||||
|
topLeft: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
topRight: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
bottomRight: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_fontColorGradientPreset: {fileID: 0}
|
||||||
|
m_spriteAsset: {fileID: 0}
|
||||||
|
m_tintAllSprites: 0
|
||||||
|
m_StyleSheet: {fileID: 0}
|
||||||
|
m_TextStyleHashCode: -1183493901
|
||||||
|
m_overrideHtmlColors: 0
|
||||||
|
m_faceColor:
|
||||||
|
serializedVersion: 2
|
||||||
|
rgba: 4294967295
|
||||||
|
m_fontSize: 22.5
|
||||||
|
m_fontSizeBase: 22.5
|
||||||
|
m_fontWeight: 400
|
||||||
|
m_enableAutoSizing: 0
|
||||||
|
m_fontSizeMin: 18
|
||||||
|
m_fontSizeMax: 72
|
||||||
|
m_fontStyle: 1
|
||||||
|
m_HorizontalAlignment: 2
|
||||||
|
m_VerticalAlignment: 256
|
||||||
|
m_textAlignment: 65535
|
||||||
|
m_characterSpacing: 0
|
||||||
|
m_wordSpacing: 0
|
||||||
|
m_lineSpacing: 0
|
||||||
|
m_lineSpacingMax: 0
|
||||||
|
m_paragraphSpacing: 0
|
||||||
|
m_charWidthMaxAdj: 0
|
||||||
|
m_TextWrappingMode: 0
|
||||||
|
m_wordWrappingRatios: 0.4
|
||||||
|
m_overflowMode: 3
|
||||||
|
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 &4499326483158133787
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 7281332788412586498}
|
||||||
|
- component: {fileID: 8140369117858699685}
|
||||||
|
- component: {fileID: 5503739212612098723}
|
||||||
|
m_Layer: 9
|
||||||
|
m_Name: Cost
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &7281332788412586498
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4499326483158133787}
|
||||||
|
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: 349965043493509103}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 1, y: 0}
|
||||||
|
m_AnchorMax: {x: 1, y: 0}
|
||||||
|
m_AnchoredPosition: {x: -75, y: 0}
|
||||||
|
m_SizeDelta: {x: 150, y: 50}
|
||||||
|
m_Pivot: {x: 0.5, y: 0}
|
||||||
|
--- !u!222 &8140369117858699685
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4499326483158133787}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &5503739212612098723
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4499326483158133787}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_text: "\U0001F9AE\U0001F9AE\U0001F9AE\U0001F9AE\U0001F9AE\U0001F9AE\U0001F9AE\U0001F9AE\U0001F9AE"
|
||||||
|
m_isRightToLeft: 0
|
||||||
|
m_fontAsset: {fileID: 11400000, guid: e01dc04fc20642041aebeaef670ef411, type: 2}
|
||||||
|
m_sharedMaterial: {fileID: -2723583854633709972, guid: e01dc04fc20642041aebeaef670ef411, type: 2}
|
||||||
|
m_fontSharedMaterials: []
|
||||||
|
m_fontMaterial: {fileID: 0}
|
||||||
|
m_fontMaterials: []
|
||||||
|
m_fontColor32:
|
||||||
|
serializedVersion: 2
|
||||||
|
rgba: 4278190205
|
||||||
|
m_fontColor: {r: 0.49056602, g: 0, b: 0, a: 1}
|
||||||
|
m_enableVertexGradient: 0
|
||||||
|
m_colorMode: 3
|
||||||
|
m_fontColorGradient:
|
||||||
|
topLeft: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
topRight: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
bottomRight: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_fontColorGradientPreset: {fileID: 0}
|
||||||
|
m_spriteAsset: {fileID: 0}
|
||||||
|
m_tintAllSprites: 0
|
||||||
|
m_StyleSheet: {fileID: 0}
|
||||||
|
m_TextStyleHashCode: -1183493901
|
||||||
|
m_overrideHtmlColors: 0
|
||||||
|
m_faceColor:
|
||||||
|
serializedVersion: 2
|
||||||
|
rgba: 4294967295
|
||||||
|
m_fontSize: 21
|
||||||
|
m_fontSizeBase: 21
|
||||||
|
m_fontWeight: 400
|
||||||
|
m_enableAutoSizing: 0
|
||||||
|
m_fontSizeMin: 18
|
||||||
|
m_fontSizeMax: 72
|
||||||
|
m_fontStyle: 0
|
||||||
|
m_HorizontalAlignment: 4
|
||||||
|
m_VerticalAlignment: 1024
|
||||||
|
m_textAlignment: 65535
|
||||||
|
m_characterSpacing: 0
|
||||||
|
m_wordSpacing: 0
|
||||||
|
m_lineSpacing: 0
|
||||||
|
m_lineSpacingMax: 0
|
||||||
|
m_paragraphSpacing: 0
|
||||||
|
m_charWidthMaxAdj: 0
|
||||||
|
m_TextWrappingMode: 0
|
||||||
|
m_wordWrappingRatios: 0.4
|
||||||
|
m_overflowMode: 3
|
||||||
|
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 &7516246490697701493
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 349965043493509103}
|
||||||
|
- component: {fileID: 5003836624663480717}
|
||||||
|
- component: {fileID: 5888397901054426119}
|
||||||
|
m_Layer: 9
|
||||||
|
m_Name: Bubu
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &349965043493509103
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 7516246490697701493}
|
||||||
|
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: 616281255528438939}
|
||||||
|
- {fileID: 2382263779329936796}
|
||||||
|
- {fileID: 7281332788412586498}
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
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: 252, y: 168}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &5003836624663480717
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 7516246490697701493}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &5888397901054426119
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 7516246490697701493}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 1344c3c82d62a2a41a3576d8abb8e3ea, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 0.20754719, g: 0.20754719, b: 0.20754719, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Texture: {fileID: 2800000, guid: 7dfcb90673cf9a44281e7da0b32902b2, type: 3}
|
||||||
|
m_UVRect:
|
||||||
|
serializedVersion: 2
|
||||||
|
x: 0
|
||||||
|
y: 0
|
||||||
|
width: 1
|
||||||
|
height: 1
|
||||||
7
Assets/Prefabs/Bubu.prefab.meta
Normal file
7
Assets/Prefabs/Bubu.prefab.meta
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: da9c3e5feb273ab40b21cc00a85da60f
|
||||||
|
PrefabImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -51,6 +51,7 @@ MonoBehaviour:
|
||||||
state: 0
|
state: 0
|
||||||
hovered: 0
|
hovered: 0
|
||||||
lineRenderer: {fileID: 8344422628654918908}
|
lineRenderer: {fileID: 8344422628654918908}
|
||||||
|
constructingPlayerId: -1
|
||||||
--- !u!120 &8344422628654918908
|
--- !u!120 &8344422628654918908
|
||||||
LineRenderer:
|
LineRenderer:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
|
|
@ -75,7 +76,7 @@ LineRenderer:
|
||||||
m_RenderingLayerMask: 1
|
m_RenderingLayerMask: 1
|
||||||
m_RendererPriority: 0
|
m_RendererPriority: 0
|
||||||
m_Materials:
|
m_Materials:
|
||||||
- {fileID: 2100000, guid: c670d9c5cf5963b4e9ca485b3528ea58, type: 2}
|
- {fileID: 10306, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
m_StaticBatchInfo:
|
m_StaticBatchInfo:
|
||||||
firstSubMesh: 0
|
firstSubMesh: 0
|
||||||
subMeshCount: 0
|
subMeshCount: 0
|
||||||
|
|
@ -111,7 +112,7 @@ LineRenderer:
|
||||||
m_Curve:
|
m_Curve:
|
||||||
- serializedVersion: 3
|
- serializedVersion: 3
|
||||||
time: 0
|
time: 0
|
||||||
value: 0.3
|
value: 0.18
|
||||||
inSlope: 0
|
inSlope: 0
|
||||||
outSlope: 0
|
outSlope: 0
|
||||||
tangentMode: 0
|
tangentMode: 0
|
||||||
|
|
@ -120,7 +121,7 @@ LineRenderer:
|
||||||
outWeight: 0.33333334
|
outWeight: 0.33333334
|
||||||
- serializedVersion: 3
|
- serializedVersion: 3
|
||||||
time: 1
|
time: 1
|
||||||
value: 0.3
|
value: 0.18
|
||||||
inSlope: 0
|
inSlope: 0
|
||||||
outSlope: 0
|
outSlope: 0
|
||||||
tangentMode: 0
|
tangentMode: 0
|
||||||
|
|
@ -132,8 +133,8 @@ LineRenderer:
|
||||||
m_RotationOrder: 4
|
m_RotationOrder: 4
|
||||||
colorGradient:
|
colorGradient:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
key0: {r: 0.4627451, g: 0.4627451, b: 0.4627451, a: 1}
|
key0: {r: 0.2, g: 0.2, b: 0.2, a: 1}
|
||||||
key1: {r: 0.4627451, g: 0.4627451, b: 0.4627451, a: 1}
|
key1: {r: 0.2, g: 0.2, b: 0.2, a: 1}
|
||||||
key2: {r: 0, g: 0, b: 0, a: 0}
|
key2: {r: 0, g: 0, b: 0, a: 0}
|
||||||
key3: {r: 0, g: 0, b: 0, a: 0}
|
key3: {r: 0, g: 0, b: 0, a: 0}
|
||||||
key4: {r: 0, g: 0, b: 0, a: 0}
|
key4: {r: 0, g: 0, b: 0, a: 0}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
%YAML 1.1
|
%YAML 1.1
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
--- !u!1 &1882714990603045140
|
--- !u!1 &6039747573752144155
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
|
@ -8,223 +8,75 @@ GameObject:
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
serializedVersion: 6
|
serializedVersion: 6
|
||||||
m_Component:
|
m_Component:
|
||||||
- component: {fileID: 7439290390685280375}
|
- component: {fileID: 7965170655419664431}
|
||||||
- component: {fileID: 7097930607199171882}
|
- component: {fileID: 6619618649642168463}
|
||||||
- component: {fileID: 7499881475324519762}
|
- component: {fileID: 2275744724860474492}
|
||||||
m_Layer: 9
|
- component: {fileID: 872194154712195731}
|
||||||
m_Name: Text (TMP)
|
- component: {fileID: 8171892701294448921}
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!224 &7439290390685280375
|
|
||||||
RectTransform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1882714990603045140}
|
|
||||||
m_LocalRotation: {x: 0.067298695, y: -0.6646487, z: 0.06030975, w: 0.7416709}
|
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 1.96}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_ConstrainProportionsScale: 0
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 7965170655419664431}
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 180, z: 0}
|
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
|
||||||
m_AnchoredPosition: {x: 0, y: 2.21}
|
|
||||||
m_SizeDelta: {x: 10, y: 5}
|
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
|
||||||
--- !u!23 &7097930607199171882
|
|
||||||
MeshRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1882714990603045140}
|
|
||||||
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: 2
|
|
||||||
m_RayTraceProcedural: 0
|
|
||||||
m_RayTracingAccelStructBuildFlagsOverride: 0
|
|
||||||
m_RayTracingAccelStructBuildFlags: 1
|
|
||||||
m_SmallMeshCulling: 1
|
|
||||||
m_RenderingLayerMask: 1
|
|
||||||
m_RendererPriority: 0
|
|
||||||
m_Materials:
|
|
||||||
- {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
|
||||||
m_StaticBatchInfo:
|
|
||||||
firstSubMesh: 0
|
|
||||||
subMeshCount: 0
|
|
||||||
m_StaticBatchRoot: {fileID: 0}
|
|
||||||
m_ProbeAnchor: {fileID: 0}
|
|
||||||
m_LightProbeVolumeOverride: {fileID: 0}
|
|
||||||
m_ScaleInLightmap: 1
|
|
||||||
m_ReceiveGI: 1
|
|
||||||
m_PreserveUVs: 0
|
|
||||||
m_IgnoreNormalsForChartDetection: 0
|
|
||||||
m_ImportantGI: 0
|
|
||||||
m_StitchLightmapSeams: 1
|
|
||||||
m_SelectedEditorRenderState: 3
|
|
||||||
m_MinimumChartSize: 4
|
|
||||||
m_AutoUVMaxDistance: 0.5
|
|
||||||
m_AutoUVMaxAngle: 89
|
|
||||||
m_LightmapParameters: {fileID: 0}
|
|
||||||
m_SortingLayerID: 0
|
|
||||||
m_SortingLayer: 0
|
|
||||||
m_SortingOrder: 0
|
|
||||||
m_AdditionalVertexStreams: {fileID: 0}
|
|
||||||
--- !u!114 &7499881475324519762
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1882714990603045140}
|
|
||||||
m_Enabled: 0
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 9541d86e2fd84c1d9990edf0852d74ab, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
m_RaycastTarget: 1
|
|
||||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
|
||||||
m_Maskable: 1
|
|
||||||
m_OnCullStateChanged:
|
|
||||||
m_PersistentCalls:
|
|
||||||
m_Calls: []
|
|
||||||
m_text: 0
|
|
||||||
m_isRightToLeft: 0
|
|
||||||
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
|
||||||
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
|
||||||
m_fontSharedMaterials: []
|
|
||||||
m_fontMaterial: {fileID: 0}
|
|
||||||
m_fontMaterials: []
|
|
||||||
m_fontColor32:
|
|
||||||
serializedVersion: 2
|
|
||||||
rgba: 4294967295
|
|
||||||
m_fontColor: {r: 1, g: 1, b: 1, 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: 36
|
|
||||||
m_fontSizeBase: 36
|
|
||||||
m_fontWeight: 400
|
|
||||||
m_enableAutoSizing: 0
|
|
||||||
m_fontSizeMin: 18
|
|
||||||
m_fontSizeMax: 72
|
|
||||||
m_fontStyle: 0
|
|
||||||
m_HorizontalAlignment: 2
|
|
||||||
m_VerticalAlignment: 256
|
|
||||||
m_textAlignment: 65535
|
|
||||||
m_characterSpacing: 0
|
|
||||||
m_wordSpacing: 0
|
|
||||||
m_lineSpacing: 0
|
|
||||||
m_lineSpacingMax: 0
|
|
||||||
m_paragraphSpacing: 0
|
|
||||||
m_charWidthMaxAdj: 0
|
|
||||||
m_TextWrappingMode: 0
|
|
||||||
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: 0
|
|
||||||
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
|
|
||||||
_SortingLayer: 0
|
|
||||||
_SortingLayerID: 0
|
|
||||||
_SortingOrder: 0
|
|
||||||
m_hasFontAssetChanged: 0
|
|
||||||
m_renderer: {fileID: 7097930607199171882}
|
|
||||||
m_maskType: 0
|
|
||||||
--- !u!1 &2988688958532262917
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 8477257823486794534}
|
|
||||||
- component: {fileID: 1183838628607877705}
|
|
||||||
- component: {fileID: 4493658626761809840}
|
|
||||||
- component: {fileID: 1163466899257774620}
|
|
||||||
m_Layer: 0
|
m_Layer: 0
|
||||||
m_Name: Sphere
|
m_Name: Point
|
||||||
m_TagString: Node
|
m_TagString: Node
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
m_StaticEditorFlags: 0
|
m_StaticEditorFlags: 0
|
||||||
m_IsActive: 1
|
m_IsActive: 1
|
||||||
--- !u!4 &8477257823486794534
|
--- !u!4 &7965170655419664431
|
||||||
Transform:
|
Transform:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 2988688958532262917}
|
m_GameObject: {fileID: 6039747573752144155}
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 1}
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
m_LocalScale: {x: 2, y: 2, z: 2}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
m_ConstrainProportionsScale: 1
|
m_ConstrainProportionsScale: 1
|
||||||
m_Children: []
|
m_Children:
|
||||||
m_Father: {fileID: 7965170655419664431}
|
- {fileID: 7439290390685280375}
|
||||||
|
m_Father: {fileID: 0}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
--- !u!33 &1183838628607877705
|
--- !u!114 &6619618649642168463
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 6039747573752144155}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 041c65d606731c44cb794dc7d95e72dd, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
Owner: -1
|
||||||
|
Units: 0
|
||||||
|
id: 0
|
||||||
|
unitText: {fileID: 7499881475324519762}
|
||||||
|
materialOwnerSelf: {fileID: 2100000, guid: 06d3b3201213c004a95a21afd8cdeb93, type: 2}
|
||||||
|
materialOwnerOther: {fileID: 2100000, guid: 6fd755fe2122d2443a364b2c2a3a8291, type: 2}
|
||||||
|
materialOwnerNone: {fileID: 2100000, guid: c670d9c5cf5963b4e9ca485b3528ea58, type: 2}
|
||||||
|
materialHover: {fileID: 2100000, guid: b1674e8dbc8b67648ad5ede0c4e347a8, type: 2}
|
||||||
|
materialNachoSelf: {fileID: 2100000, guid: 5e30203f65fbb1c438cadd2e60d47e68, type: 2}
|
||||||
|
materialNachoOther: {fileID: 2100000, guid: 58c34887c0bf8504480059d08d6ebcba, type: 2}
|
||||||
|
connected: []
|
||||||
|
hovered: 0
|
||||||
|
Nachos: 0
|
||||||
|
ExpectedUnitDiff: 0
|
||||||
|
--- !u!33 &2275744724860474492
|
||||||
MeshFilter:
|
MeshFilter:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 2988688958532262917}
|
m_GameObject: {fileID: 6039747573752144155}
|
||||||
m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0}
|
m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0}
|
||||||
--- !u!23 &4493658626761809840
|
--- !u!23 &872194154712195731
|
||||||
MeshRenderer:
|
MeshRenderer:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 2988688958532262917}
|
m_GameObject: {fileID: 6039747573752144155}
|
||||||
m_Enabled: 1
|
m_Enabled: 1
|
||||||
m_CastShadows: 1
|
m_CastShadows: 1
|
||||||
m_ReceiveShadows: 1
|
m_ReceiveShadows: 1
|
||||||
|
|
@ -263,13 +115,13 @@ MeshRenderer:
|
||||||
m_SortingLayer: 0
|
m_SortingLayer: 0
|
||||||
m_SortingOrder: 0
|
m_SortingOrder: 0
|
||||||
m_AdditionalVertexStreams: {fileID: 0}
|
m_AdditionalVertexStreams: {fileID: 0}
|
||||||
--- !u!135 &1163466899257774620
|
--- !u!135 &8171892701294448921
|
||||||
SphereCollider:
|
SphereCollider:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 2988688958532262917}
|
m_GameObject: {fileID: 6039747573752144155}
|
||||||
m_Material: {fileID: 0}
|
m_Material: {fileID: 0}
|
||||||
m_IncludeLayers:
|
m_IncludeLayers:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
|
|
@ -284,59 +136,124 @@ SphereCollider:
|
||||||
serializedVersion: 3
|
serializedVersion: 3
|
||||||
m_Radius: 1
|
m_Radius: 1
|
||||||
m_Center: {x: 0, y: 0, z: 0}
|
m_Center: {x: 0, y: 0, z: 0}
|
||||||
--- !u!1 &6039747573752144155
|
--- !u!1001 &4331339744264451809
|
||||||
GameObject:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 7965170655419664431}
|
|
||||||
- component: {fileID: 6619618649642168463}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Point
|
|
||||||
m_TagString: Node
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!4 &7965170655419664431
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 6039747573752144155}
|
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
m_Modification:
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
serializedVersion: 3
|
||||||
m_LocalScale: {x: 0.5, y: 0.5, z: 0.5}
|
m_TransformParent: {fileID: 7965170655419664431}
|
||||||
m_ConstrainProportionsScale: 1
|
m_Modifications:
|
||||||
m_Children:
|
- target: {fileID: 2755285719916969973, guid: 5d12260eabac775499459852270e99c8, type: 3}
|
||||||
- {fileID: 8477257823486794534}
|
propertyPath: m_Name
|
||||||
- {fileID: 7439290390685280375}
|
value: Text (TMP)
|
||||||
m_Father: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
- target: {fileID: 6055350264736109491, guid: 5d12260eabac775499459852270e99c8, type: 3}
|
||||||
--- !u!114 &6619618649642168463
|
propertyPath: m_text
|
||||||
MonoBehaviour:
|
value: '0 '
|
||||||
m_ObjectHideFlags: 0
|
objectReference: {fileID: 0}
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
- target: {fileID: 6055350264736109491, guid: 5d12260eabac775499459852270e99c8, type: 3}
|
||||||
m_PrefabInstance: {fileID: 0}
|
propertyPath: m_enableVertexGradient
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6566716362904575638, guid: 5d12260eabac775499459852270e99c8, type: 3}
|
||||||
|
propertyPath: m_Pivot.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6566716362904575638, guid: 5d12260eabac775499459852270e99c8, type: 3}
|
||||||
|
propertyPath: m_Pivot.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6566716362904575638, guid: 5d12260eabac775499459852270e99c8, type: 3}
|
||||||
|
propertyPath: m_AnchorMax.x
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6566716362904575638, guid: 5d12260eabac775499459852270e99c8, type: 3}
|
||||||
|
propertyPath: m_AnchorMax.y
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6566716362904575638, guid: 5d12260eabac775499459852270e99c8, type: 3}
|
||||||
|
propertyPath: m_AnchorMin.x
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6566716362904575638, guid: 5d12260eabac775499459852270e99c8, type: 3}
|
||||||
|
propertyPath: m_AnchorMin.y
|
||||||
|
value: 0.5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6566716362904575638, guid: 5d12260eabac775499459852270e99c8, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6566716362904575638, guid: 5d12260eabac775499459852270e99c8, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6566716362904575638, guid: 5d12260eabac775499459852270e99c8, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6566716362904575638, guid: 5d12260eabac775499459852270e99c8, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6566716362904575638, guid: 5d12260eabac775499459852270e99c8, type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 2
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6566716362904575638, guid: 5d12260eabac775499459852270e99c8, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6566716362904575638, guid: 5d12260eabac775499459852270e99c8, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6566716362904575638, guid: 5d12260eabac775499459852270e99c8, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6566716362904575638, guid: 5d12260eabac775499459852270e99c8, type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6566716362904575638, guid: 5d12260eabac775499459852270e99c8, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6566716362904575638, guid: 5d12260eabac775499459852270e99c8, type: 3}
|
||||||
|
propertyPath: m_AnchoredPosition.y
|
||||||
|
value: 2
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6566716362904575638, guid: 5d12260eabac775499459852270e99c8, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6566716362904575638, guid: 5d12260eabac775499459852270e99c8, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 180
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6566716362904575638, guid: 5d12260eabac775499459852270e99c8, type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_RemovedGameObjects: []
|
||||||
|
m_AddedGameObjects: []
|
||||||
|
m_AddedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: 5d12260eabac775499459852270e99c8, type: 3}
|
||||||
|
--- !u!224 &7439290390685280375 stripped
|
||||||
|
RectTransform:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 6566716362904575638, guid: 5d12260eabac775499459852270e99c8, type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 4331339744264451809}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 6039747573752144155}
|
--- !u!114 &7499881475324519762 stripped
|
||||||
m_Enabled: 1
|
MonoBehaviour:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 6055350264736109491, guid: 5d12260eabac775499459852270e99c8, type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 4331339744264451809}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 0
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: 041c65d606731c44cb794dc7d95e72dd, type: 3}
|
m_Script: {fileID: 11500000, guid: 9541d86e2fd84c1d9990edf0852d74ab, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
Owner: -1
|
|
||||||
Units: 0
|
|
||||||
id: 0
|
|
||||||
unitText: {fileID: 7499881475324519762}
|
|
||||||
materialOwnerSelf: {fileID: 2100000, guid: 06d3b3201213c004a95a21afd8cdeb93, type: 2}
|
|
||||||
materialOwnerOther: {fileID: 2100000, guid: 6fd755fe2122d2443a364b2c2a3a8291, type: 2}
|
|
||||||
materialOwnerNone: {fileID: 2100000, guid: c670d9c5cf5963b4e9ca485b3528ea58, type: 2}
|
|
||||||
materialHover: {fileID: 2100000, guid: b1674e8dbc8b67648ad5ede0c4e347a8, type: 2}
|
|
||||||
connected: []
|
|
||||||
hovered: 0
|
|
||||||
|
|
|
||||||
178
Assets/Prefabs/Text (TMP).prefab
Normal file
178
Assets/Prefabs/Text (TMP).prefab
Normal file
|
|
@ -0,0 +1,178 @@
|
||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1 &2755285719916969973
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 6566716362904575638}
|
||||||
|
- component: {fileID: 6817579896254186443}
|
||||||
|
- component: {fileID: 6055350264736109491}
|
||||||
|
m_Layer: 9
|
||||||
|
m_Name: Text (TMP)
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &6566716362904575638
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2755285719916969973}
|
||||||
|
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 2}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 180, z: 0}
|
||||||
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 2}
|
||||||
|
m_SizeDelta: {x: 0, y: 0}
|
||||||
|
m_Pivot: {x: 0, y: 0}
|
||||||
|
--- !u!23 &6817579896254186443
|
||||||
|
MeshRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2755285719916969973}
|
||||||
|
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: 2
|
||||||
|
m_RayTraceProcedural: 0
|
||||||
|
m_RayTracingAccelStructBuildFlagsOverride: 0
|
||||||
|
m_RayTracingAccelStructBuildFlags: 1
|
||||||
|
m_SmallMeshCulling: 1
|
||||||
|
m_RenderingLayerMask: 1
|
||||||
|
m_RendererPriority: 0
|
||||||
|
m_Materials:
|
||||||
|
- {fileID: -2723583854633709972, guid: e01dc04fc20642041aebeaef670ef411, type: 2}
|
||||||
|
m_StaticBatchInfo:
|
||||||
|
firstSubMesh: 0
|
||||||
|
subMeshCount: 0
|
||||||
|
m_StaticBatchRoot: {fileID: 0}
|
||||||
|
m_ProbeAnchor: {fileID: 0}
|
||||||
|
m_LightProbeVolumeOverride: {fileID: 0}
|
||||||
|
m_ScaleInLightmap: 1
|
||||||
|
m_ReceiveGI: 1
|
||||||
|
m_PreserveUVs: 0
|
||||||
|
m_IgnoreNormalsForChartDetection: 0
|
||||||
|
m_ImportantGI: 0
|
||||||
|
m_StitchLightmapSeams: 1
|
||||||
|
m_SelectedEditorRenderState: 3
|
||||||
|
m_MinimumChartSize: 4
|
||||||
|
m_AutoUVMaxDistance: 0.5
|
||||||
|
m_AutoUVMaxAngle: 89
|
||||||
|
m_LightmapParameters: {fileID: 0}
|
||||||
|
m_SortingLayerID: 0
|
||||||
|
m_SortingLayer: 0
|
||||||
|
m_SortingOrder: 0
|
||||||
|
m_AdditionalVertexStreams: {fileID: 0}
|
||||||
|
--- !u!114 &6055350264736109491
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2755285719916969973}
|
||||||
|
m_Enabled: 0
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 9541d86e2fd84c1d9990edf0852d74ab, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_text: 0
|
||||||
|
m_isRightToLeft: 0
|
||||||
|
m_fontAsset: {fileID: 11400000, guid: e01dc04fc20642041aebeaef670ef411, type: 2}
|
||||||
|
m_sharedMaterial: {fileID: -2723583854633709972, guid: e01dc04fc20642041aebeaef670ef411, type: 2}
|
||||||
|
m_fontSharedMaterials: []
|
||||||
|
m_fontMaterial: {fileID: 0}
|
||||||
|
m_fontMaterials: []
|
||||||
|
m_fontColor32:
|
||||||
|
serializedVersion: 2
|
||||||
|
rgba: 4294967295
|
||||||
|
m_fontColor: {r: 1, g: 1, b: 1, 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: 20
|
||||||
|
m_fontSizeBase: 20
|
||||||
|
m_fontWeight: 400
|
||||||
|
m_enableAutoSizing: 0
|
||||||
|
m_fontSizeMin: 18
|
||||||
|
m_fontSizeMax: 72
|
||||||
|
m_fontStyle: 0
|
||||||
|
m_HorizontalAlignment: 2
|
||||||
|
m_VerticalAlignment: 256
|
||||||
|
m_textAlignment: 65535
|
||||||
|
m_characterSpacing: 0
|
||||||
|
m_wordSpacing: 0
|
||||||
|
m_lineSpacing: 0
|
||||||
|
m_lineSpacingMax: 0
|
||||||
|
m_paragraphSpacing: 0
|
||||||
|
m_charWidthMaxAdj: 0
|
||||||
|
m_TextWrappingMode: 0
|
||||||
|
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: 0
|
||||||
|
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
|
||||||
|
_SortingLayer: 0
|
||||||
|
_SortingLayerID: 0
|
||||||
|
_SortingOrder: 0
|
||||||
|
m_hasFontAssetChanged: 0
|
||||||
|
m_renderer: {fileID: 6817579896254186443}
|
||||||
|
m_maskType: 0
|
||||||
7
Assets/Prefabs/Text (TMP).prefab.meta
Normal file
7
Assets/Prefabs/Text (TMP).prefab.meta
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 5d12260eabac775499459852270e99c8
|
||||||
|
PrefabImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
8
Assets/Resources.meta
Normal file
8
Assets/Resources.meta
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d46a112d40ada904da0110a83c2febe4
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -37,6 +37,21 @@ public class CameraOrbit : MonoBehaviour
|
||||||
{
|
{
|
||||||
if (target == null) return;
|
if (target == null) return;
|
||||||
|
|
||||||
|
float scroll = Input.GetAxis("Mouse ScrollWheel");
|
||||||
|
if (scroll != 0f)
|
||||||
|
{
|
||||||
|
float fov = -1;
|
||||||
|
foreach (Camera _cam in transform.GetComponentsInChildren<Camera>())
|
||||||
|
{
|
||||||
|
if (fov < 0) // Calculate FOV for first Camera
|
||||||
|
{
|
||||||
|
fov = _cam.fieldOfView - scroll * GameManager.Instance.zoomSpeed;
|
||||||
|
fov = Mathf.Clamp(fov, GameManager.Instance.minFOV, GameManager.Instance.maxFOV);
|
||||||
|
}
|
||||||
|
_cam.fieldOfView = fov;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (Input.GetMouseButton(1)) // Rechte Maustaste gedrückt
|
if (Input.GetMouseButton(1)) // Rechte Maustaste gedrückt
|
||||||
{
|
{
|
||||||
Cursor.lockState = CursorLockMode.Locked;
|
Cursor.lockState = CursorLockMode.Locked;
|
||||||
|
|
@ -50,51 +65,62 @@ public class CameraOrbit : MonoBehaviour
|
||||||
Cursor.visible = true;
|
Cursor.visible = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
Quaternion rotation = Quaternion.Euler(y, x, 0);
|
Quaternion rotation = Quaternion.Euler(y, x, 0);
|
||||||
Vector3 position = rotation * new Vector3(0.0f, 0.0f, -distance) + target.position;
|
Vector3 position = rotation * new Vector3(0.0f, 0.0f, -distance) + target.position;
|
||||||
|
|
||||||
transform.rotation = rotation;
|
transform.rotation = rotation;
|
||||||
transform.position = position;
|
transform.position = position;
|
||||||
|
|
||||||
Ray ray = transform.GetChild(0).GetComponent<Camera>().ScreenPointToRay(Input.mousePosition);
|
Camera cam = transform.GetChild(0).GetComponent<Camera>();
|
||||||
|
|
||||||
|
Ray ray = cam.ScreenPointToRay(Input.mousePosition);
|
||||||
RaycastHit hit;
|
RaycastHit hit;
|
||||||
|
|
||||||
if (Physics.Raycast(ray, out hit, float.MaxValue))
|
if (Physics.Raycast(ray, out hit, float.MaxValue))
|
||||||
{
|
{
|
||||||
|
GameManager gm = FindFirstObjectByType<GameManager>();
|
||||||
|
|
||||||
if (hit.transform.CompareTag("Node"))
|
if (hit.transform.CompareTag("Node"))
|
||||||
{
|
{
|
||||||
var obj = hit.transform.parent.GetComponent<Node>();
|
var obj = hit.transform.GetComponent<Node>();
|
||||||
obj.hovered = true;
|
obj.hovered = true;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
|
// Hover-Ermittlung Connections
|
||||||
|
Vector2 mouse = Input.mousePosition;
|
||||||
|
Vector3 mousePos = new Vector3(mouse.x, mouse.y, 0);
|
||||||
|
bool cancelHover = false;
|
||||||
|
float closestDist = float.MaxValue;
|
||||||
|
int closestIdx = -1;
|
||||||
|
var connections = gm.GetConnections();
|
||||||
|
for (int i = 0; i < connections.Count; i++)
|
||||||
{
|
{
|
||||||
GameManager gm = FindFirstObjectByType<GameManager>();
|
connections[i].hovered = false;
|
||||||
Connection closestCon = null;
|
|
||||||
float closestDist = 0.5f; // maximale Abstand in Welt-Einheiten
|
|
||||||
|
|
||||||
foreach (var con in gm.GetConnections())
|
if (cancelHover)
|
||||||
|
continue;
|
||||||
|
|
||||||
|
var con = connections[i];
|
||||||
|
Vector3 a = cam.WorldToScreenPoint(con.nodeA.transform.position);
|
||||||
|
Vector3 b = cam.WorldToScreenPoint(con.nodeB.transform.position);
|
||||||
|
|
||||||
|
Vector3 ab = b - a;
|
||||||
|
Vector3 am = mousePos - a;
|
||||||
|
float t = Mathf.Clamp01(Vector3.Dot(am, ab) / ab.sqrMagnitude);
|
||||||
|
Vector3 proj = a + t * ab;
|
||||||
|
float dist = Vector3.Distance(mousePos, proj);
|
||||||
|
|
||||||
|
if (Vector3.Distance(a, mousePos) <= gm.hoverRadiusNode || Vector3.Distance(b, mousePos) <= gm.hoverRadiusNode)
|
||||||
|
cancelHover = true;
|
||||||
|
|
||||||
|
if (dist < closestDist && dist < gm.hoverRadiusCon)
|
||||||
{
|
{
|
||||||
Vector3 a = con.nodeA.transform.position;
|
closestDist = dist;
|
||||||
Vector3 b = con.nodeB.transform.position;
|
closestIdx = i;
|
||||||
|
|
||||||
Vector3 ab = b - a;
|
|
||||||
float t = Mathf.Clamp01(Vector3.Dot(hit.point - a, ab) / ab.sqrMagnitude);
|
|
||||||
Vector3 proj = a + t * ab;
|
|
||||||
|
|
||||||
float dist = Vector3.Distance(hit.point, proj);
|
|
||||||
if (dist < closestDist)
|
|
||||||
{
|
|
||||||
closestDist = dist;
|
|
||||||
closestCon = con;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (closestCon != null)
|
|
||||||
{
|
|
||||||
closestCon.hovered = true;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (closestIdx >= 0 && !cancelHover)
|
||||||
|
connections[closestIdx].hovered = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
using System;
|
||||||
|
using Unity.VisualScripting;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
[ExecuteAlways]
|
[ExecuteAlways]
|
||||||
|
|
@ -9,6 +11,7 @@ public class Connection : MonoBehaviour
|
||||||
public BuildState state = BuildState.EMPTY;
|
public BuildState state = BuildState.EMPTY;
|
||||||
public bool hovered = false;
|
public bool hovered = false;
|
||||||
public LineRenderer lineRenderer;
|
public LineRenderer lineRenderer;
|
||||||
|
public int constructingPlayerId = -1;
|
||||||
|
|
||||||
public void SetConnect()
|
public void SetConnect()
|
||||||
{
|
{
|
||||||
|
|
@ -25,14 +28,26 @@ public class Connection : MonoBehaviour
|
||||||
|
|
||||||
private void Update()
|
private void Update()
|
||||||
{
|
{
|
||||||
|
// On Click
|
||||||
|
if (Input.GetMouseButtonDown(0) && hovered && allowed)
|
||||||
|
{
|
||||||
|
GameManager.Instance.pressedCon = this;
|
||||||
|
}
|
||||||
|
if(Input.GetMouseButtonUp(0) && hovered && allowed && GameManager.Instance.pressedCon == this)
|
||||||
|
{
|
||||||
|
GameManager.Instance.PushNewAction(nodeA.id, nodeB.id, true);
|
||||||
|
}
|
||||||
|
|
||||||
if (Application.isPlaying && !allowed)
|
if (Application.isPlaying && !allowed)
|
||||||
lineRenderer.enabled = false;
|
lineRenderer.enabled = false;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
float width = (hovered ? 0.6f : 0.3f) * (allowed ? 1f : 0.3f);
|
float width = (hovered ? 0.6f : 0.3f) * (allowed ? state != BuildState.BUILT ? 0.6f : 1f : 0.1f);
|
||||||
|
|
||||||
lineRenderer.startColor = allowed ? nodeA.transform.GetChild(0).GetComponent<Renderer>().sharedMaterial.color : new Color(0.2f, 0.2f, 0.2f);
|
Color unbuiltColor = !allowed || state == BuildState.EMPTY ? new Color(0.2f, 0.2f, 0.2f) : new Color(0.8f, 0.8f, 0f);
|
||||||
lineRenderer.endColor = allowed ? nodeB.transform.GetChild(0).GetComponent<Renderer>().sharedMaterial.color : new Color(0.2f, 0.2f, 0.2f);
|
|
||||||
|
lineRenderer.startColor = allowed && state == BuildState.BUILT ? nodeA.GetComponent<Renderer>().sharedMaterial.color : unbuiltColor;
|
||||||
|
lineRenderer.endColor = allowed && state == BuildState.BUILT ? nodeB.GetComponent<Renderer>().sharedMaterial.color : unbuiltColor;
|
||||||
lineRenderer.startWidth = width;
|
lineRenderer.startWidth = width;
|
||||||
lineRenderer.endWidth = width;
|
lineRenderer.endWidth = width;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,12 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Dynamic;
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using TMPro;
|
||||||
using Unity.VisualScripting;
|
using Unity.VisualScripting;
|
||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.Rendering;
|
using UnityEngine.UI;
|
||||||
using UnityEngine.UIElements;
|
|
||||||
using static UnityEngine.GraphicsBuffer;
|
|
||||||
|
|
||||||
[ExecuteAlways]
|
[ExecuteAlways]
|
||||||
public class GameManager : MonoBehaviour
|
public class GameManager : MonoBehaviour
|
||||||
|
|
@ -17,13 +16,36 @@ public class GameManager : MonoBehaviour
|
||||||
public Transform NodeParent;
|
public Transform NodeParent;
|
||||||
public GameObject NodePrefab;
|
public GameObject NodePrefab;
|
||||||
|
|
||||||
public Player players;
|
public GameObject hoverObject;
|
||||||
|
public TMP_Text energyText;
|
||||||
|
public TMP_Text currentPlayerText;
|
||||||
|
public TMP_Text timerText;
|
||||||
|
|
||||||
|
public GameObject actionListItemPrefab;
|
||||||
|
public Transform actionListParent;
|
||||||
|
public Button finishTurnBtn;
|
||||||
|
|
||||||
|
[SerializeField]
|
||||||
|
public List<Player> players;
|
||||||
|
|
||||||
public int currentPlayer = -1;
|
public int currentPlayer = -1;
|
||||||
|
public Node pressedNode = null;
|
||||||
|
public Connection pressedCon = null;
|
||||||
|
public KeyCode altActionKey = KeyCode.LeftShift;
|
||||||
|
|
||||||
|
public float zoomSpeed = 20f;
|
||||||
|
public float minFOV = 20f;
|
||||||
|
public float maxFOV = 80f;
|
||||||
|
|
||||||
|
public float roundTime = 90;
|
||||||
|
|
||||||
public static GameManager Instance { get; private set; }
|
public static GameManager Instance { get; private set; }
|
||||||
|
|
||||||
public bool regenerateOnChange = false;
|
public bool regenerateOnChange = false;
|
||||||
|
|
||||||
|
[SerializeField]
|
||||||
|
public List<Action> actions;
|
||||||
|
|
||||||
[HideInInspector] public float minConnectionLength = 6;
|
[HideInInspector] public float minConnectionLength = 6;
|
||||||
[HideInInspector] public float maxConnectionLength = 6;
|
[HideInInspector] public float maxConnectionLength = 6;
|
||||||
[HideInInspector] public int nodeCount = 100;
|
[HideInInspector] public int nodeCount = 100;
|
||||||
|
|
@ -33,6 +55,65 @@ public class GameManager : MonoBehaviour
|
||||||
|
|
||||||
[SerializeField] [HideInInspector] public List<LevelData> levels = new List<LevelData>();
|
[SerializeField] [HideInInspector] public List<LevelData> levels = new List<LevelData>();
|
||||||
|
|
||||||
|
public enum ActionType { NONE, MOVE_HALF_UNITS, MOVE_ALL_UNITS, ATTACK_NODE_WITH_HALF, ATTACK_NODE_WITH_ALL, ATTACK_CON_WITH_HALF, ATTACK_CON_WITH_ALL, CONSTRUCT_CON, DESTRUCT_CON, EXPLODE_CON };
|
||||||
|
|
||||||
|
public Dictionary<ActionType, string> ActionTypeDescription = new Dictionary<ActionType, string>
|
||||||
|
{
|
||||||
|
{ ActionType.NONE, "You should really never see this O_o \n(-1 Turn)" },
|
||||||
|
{ ActionType.MOVE_HALF_UNITS, "Read that title again... \n(1 Turn)" },
|
||||||
|
{ ActionType.MOVE_ALL_UNITS, "Read that title again... \n(1 Turn)" },
|
||||||
|
{ ActionType.ATTACK_NODE_WITH_HALF, "Read that title again... \n(1 Turn)" },
|
||||||
|
{ ActionType.ATTACK_NODE_WITH_ALL, "Read that title again... \n(1 Turn)" },
|
||||||
|
{ ActionType.ATTACK_CON_WITH_HALF, "Attacks the enemy node using half of your Units to break the pending connection \n(1 Turn)" },
|
||||||
|
{ ActionType.ATTACK_CON_WITH_ALL, "Attacks the enemy node using all of your Units to break the pending connection \n(1 Turn)" },
|
||||||
|
{ ActionType.CONSTRUCT_CON, "Begins construction of a connection \n(2 Turns)" },
|
||||||
|
{ ActionType.DESTRUCT_CON, "Begins deconstruction of a connection \n(2 Turns)" },
|
||||||
|
{ ActionType.EXPLODE_CON, "Begins blazingly fast deconstruction of a connection \n(1 Turn)" }
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
public Dictionary<ActionType, string> ActionTypeText = new Dictionary<ActionType, string>
|
||||||
|
{
|
||||||
|
{ ActionType.NONE, "" },
|
||||||
|
{ ActionType.MOVE_HALF_UNITS, "Move troops (1/2)" },
|
||||||
|
{ ActionType.MOVE_ALL_UNITS, "Move troops" },
|
||||||
|
{ ActionType.ATTACK_NODE_WITH_HALF, "Attack (1/2)" },
|
||||||
|
{ ActionType.ATTACK_NODE_WITH_ALL, "Attack" },
|
||||||
|
{ ActionType.ATTACK_CON_WITH_HALF, "Interrupt Construction (1/2)" },
|
||||||
|
{ ActionType.ATTACK_CON_WITH_ALL, "Interrupt Construction" },
|
||||||
|
{ ActionType.CONSTRUCT_CON, "Construct" },
|
||||||
|
{ ActionType.DESTRUCT_CON, "Destruct" },
|
||||||
|
{ ActionType.EXPLODE_CON, "Explode (immediately)" }
|
||||||
|
};
|
||||||
|
|
||||||
|
public Dictionary<ActionType, int> ActionTypeEnergyUsage = new Dictionary<ActionType, int>
|
||||||
|
{
|
||||||
|
{ ActionType.NONE, 0},
|
||||||
|
{ ActionType.MOVE_HALF_UNITS, 1},
|
||||||
|
{ ActionType.MOVE_ALL_UNITS, 1},
|
||||||
|
{ ActionType.ATTACK_NODE_WITH_HALF, 1},
|
||||||
|
{ ActionType.ATTACK_NODE_WITH_ALL, 1},
|
||||||
|
{ ActionType.ATTACK_CON_WITH_HALF, 1},
|
||||||
|
{ ActionType.ATTACK_CON_WITH_ALL, 1},
|
||||||
|
{ ActionType.CONSTRUCT_CON, 1},
|
||||||
|
{ ActionType.DESTRUCT_CON, 1},
|
||||||
|
{ ActionType.EXPLODE_CON, 2 }
|
||||||
|
};
|
||||||
|
|
||||||
|
[Serializable]
|
||||||
|
public struct Action
|
||||||
|
{
|
||||||
|
public ActionType intendedAction;
|
||||||
|
|
||||||
|
public bool onConnection;
|
||||||
|
public bool altAction;
|
||||||
|
public int nodeFromId;
|
||||||
|
public int nodeToId;
|
||||||
|
public int amount;
|
||||||
|
public int player;
|
||||||
|
public int tempDaniel;
|
||||||
|
}
|
||||||
|
|
||||||
[Serializable]
|
[Serializable]
|
||||||
public class LevelData
|
public class LevelData
|
||||||
{
|
{
|
||||||
|
|
@ -41,6 +122,7 @@ public class GameManager : MonoBehaviour
|
||||||
{
|
{
|
||||||
public Vector3 position;
|
public Vector3 position;
|
||||||
public int owner;
|
public int owner;
|
||||||
|
public int units;
|
||||||
}
|
}
|
||||||
|
|
||||||
[Serializable]
|
[Serializable]
|
||||||
|
|
@ -57,6 +139,7 @@ public class GameManager : MonoBehaviour
|
||||||
public List<ConnectionData> connections = new List<ConnectionData>();
|
public List<ConnectionData> connections = new List<ConnectionData>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
float timer = 0;
|
||||||
void Awake()
|
void Awake()
|
||||||
{
|
{
|
||||||
if (Instance != null && Instance != this)
|
if (Instance != null && Instance != this)
|
||||||
|
|
@ -76,19 +159,503 @@ public class GameManager : MonoBehaviour
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void Start()
|
||||||
|
{
|
||||||
|
#if UNITY_EDITOR
|
||||||
|
LoadLevelData(selectedLevel);
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
private void Update()
|
private void Update()
|
||||||
{
|
{
|
||||||
|
hoverObject.SetActive(false);
|
||||||
|
|
||||||
|
Player player = players.Find(p => p.id == currentPlayer);
|
||||||
|
|
||||||
|
int totalEnergyCost = 0;
|
||||||
|
actions.ForEach(a => totalEnergyCost += ActionTypeEnergyUsage[a.intendedAction]);
|
||||||
|
|
||||||
|
if (player != null && Application.isPlaying)
|
||||||
|
{
|
||||||
|
timer -= Time.deltaTime;
|
||||||
|
if (timer < 0)
|
||||||
|
{
|
||||||
|
ExecuteTurn();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
timerText.text = "[" + (int)timer / 60 + ":" + ((int)timer % 60 < 10 ? "0" : "") + $"{((int)timer % 60)}" + "]";
|
||||||
|
energyText.text = string.Concat(Enumerable.Repeat("□", Math.Max(0, player.energy - totalEnergyCost))) + string.Concat(Enumerable.Repeat("-", Math.Min(player.energy, totalEnergyCost)));
|
||||||
|
currentPlayerText.text = "[ Player " + currentPlayer + " ]";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
if (Input.GetMouseButtonDown(0))
|
||||||
|
{
|
||||||
|
pressedNode = GetNodes().Find(n => n.hovered && n.Owner == currentPlayer);
|
||||||
|
}
|
||||||
|
if (Input.GetMouseButton(0))
|
||||||
|
{
|
||||||
|
if(pressedNode != null)
|
||||||
|
{
|
||||||
|
Node node = GetNodes().Find(n => n.hovered && n != pressedNode);
|
||||||
|
|
||||||
|
if (node)
|
||||||
|
{
|
||||||
|
Connection con = GetConnections().Find(c => (c.nodeA == pressedNode && c.nodeB == node) || (c.nodeB == pressedNode && c.nodeA == node)) ?? null;
|
||||||
|
ActionType possibleAction = CalcActionBetweenNodes(currentPlayer, pressedNode.id, node.id, Input.GetKey(altActionKey));
|
||||||
|
hoverObject.GetComponentsInChildren<TMP_Text>()[0].text = ActionTypeText[possibleAction];
|
||||||
|
hoverObject.GetComponentsInChildren<TMP_Text>()[1].text = ActionTypeDescription[possibleAction];
|
||||||
|
hoverObject.GetComponentsInChildren<TMP_Text>()[2].text = string.Concat(Enumerable.Repeat("□", ActionTypeEnergyUsage[possibleAction]));
|
||||||
|
hoverObject.SetActive(true);
|
||||||
|
|
||||||
|
if (con != null && con.allowed)
|
||||||
|
con.hovered = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (Input.GetMouseButtonUp(0))
|
||||||
|
{
|
||||||
|
if (pressedNode != null)
|
||||||
|
{
|
||||||
|
Node toNode = GetNodes().Find(n => n.hovered && pressedNode != n);
|
||||||
|
|
||||||
|
if (toNode)
|
||||||
|
{
|
||||||
|
Connection con = GetConnections().Find(c => (c.nodeA == pressedNode && c.nodeB == toNode) || (c.nodeB == pressedNode && c.nodeA == toNode)) ?? null;
|
||||||
|
if (con != null && con.allowed)
|
||||||
|
PushNewAction(pressedNode.id, toNode.id);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!hoverObject.activeSelf)
|
||||||
|
{
|
||||||
|
Connection hoveredCon = GetConnections().Find(c => c.hovered);
|
||||||
|
if (hoveredCon != null)
|
||||||
|
{
|
||||||
|
ActionType possibleAction = CalcActionBetweenNodes(currentPlayer, hoveredCon.nodeA.id, hoveredCon.nodeB.id, Input.GetKey(altActionKey), true);
|
||||||
|
|
||||||
|
if (possibleAction != ActionType.NONE)
|
||||||
|
{
|
||||||
|
|
||||||
|
hoverObject.GetComponentsInChildren<TMP_Text>()[0].text = ActionTypeText[possibleAction];
|
||||||
|
hoverObject.GetComponentsInChildren<TMP_Text>()[1].text = ActionTypeDescription[possibleAction];
|
||||||
|
hoverObject.GetComponentsInChildren<TMP_Text>()[2].text = string.Concat(Enumerable.Repeat("□", ActionTypeEnergyUsage[possibleAction]));
|
||||||
|
hoverObject.SetActive(true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<Node> GetNodes() => NodeParent.GetComponentsInChildren<Node>().ToList();
|
public ActionType CalcActionBetweenNodes(int player, int nodeFromId, int nodeToId, bool altAction = false, bool onConnection = false)
|
||||||
public List<Connection> GetConnections() => ConnectionParent.GetComponentsInChildren<Connection>().ToList();
|
|
||||||
|
|
||||||
public void OnNodesDragged(Node nodeA, Node nodeB)
|
|
||||||
{
|
{
|
||||||
|
Node nodeTo = GetNodes().Find(n => n.id == nodeToId);
|
||||||
|
Node nodeFrom = GetNodes().Find(n => n.id == nodeFromId);
|
||||||
|
Connection con = GetConnections().Find(c => (c.nodeA == nodeTo && c.nodeB == nodeFrom) || (c.nodeA == nodeFrom && c.nodeB == nodeTo));
|
||||||
|
|
||||||
|
if (con == null || con.allowed == false)
|
||||||
|
return ActionType.NONE;
|
||||||
|
|
||||||
|
// Clicked on connection
|
||||||
|
if (onConnection)
|
||||||
|
{
|
||||||
|
if (con.state == Connection.BuildState.BUILT && nodeFrom.Owner == player && nodeTo.Owner == player)
|
||||||
|
{
|
||||||
|
return altAction ? ActionType.EXPLODE_CON : ActionType.DESTRUCT_CON;
|
||||||
|
}
|
||||||
|
else if (con.state == Connection.BuildState.EMPTY && (nodeFrom.Owner == player || nodeTo.Owner == player))
|
||||||
|
{
|
||||||
|
return ActionType.CONSTRUCT_CON;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// Dragged owned nodeFrom to nodeTo
|
||||||
|
else if (nodeFrom.Owner == player)
|
||||||
|
{
|
||||||
|
// To Owned
|
||||||
|
if (nodeTo.Owner == player)
|
||||||
|
{
|
||||||
|
switch (con.state)
|
||||||
|
{
|
||||||
|
case Connection.BuildState.EMPTY:
|
||||||
|
return ActionType.CONSTRUCT_CON;
|
||||||
|
|
||||||
|
case Connection.BuildState.CONSTRUCTING:
|
||||||
|
case Connection.BuildState.DECONSTRUCTING:
|
||||||
|
return ActionType.NONE;
|
||||||
|
|
||||||
|
case Connection.BuildState.BUILT:
|
||||||
|
return altAction ? ActionType.MOVE_HALF_UNITS : ActionType.MOVE_ALL_UNITS;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// To Hostile
|
||||||
|
else if (nodeTo.Owner >= 0)
|
||||||
|
{
|
||||||
|
switch (con.state)
|
||||||
|
{
|
||||||
|
case Connection.BuildState.EMPTY:
|
||||||
|
return ActionType.CONSTRUCT_CON;
|
||||||
|
|
||||||
|
case Connection.BuildState.CONSTRUCTING:
|
||||||
|
return altAction ? ActionType.ATTACK_CON_WITH_HALF : ActionType.ATTACK_CON_WITH_ALL;
|
||||||
|
|
||||||
|
case Connection.BuildState.DECONSTRUCTING:
|
||||||
|
return ActionType.NONE;
|
||||||
|
|
||||||
|
case Connection.BuildState.BUILT:
|
||||||
|
return altAction ? ActionType.ATTACK_NODE_WITH_HALF : ActionType.ATTACK_NODE_WITH_ALL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// To Unclaimed
|
||||||
|
else
|
||||||
|
{
|
||||||
|
switch (con.state)
|
||||||
|
{
|
||||||
|
case Connection.BuildState.EMPTY:
|
||||||
|
return ActionType.CONSTRUCT_CON;
|
||||||
|
|
||||||
|
case Connection.BuildState.CONSTRUCTING:
|
||||||
|
case Connection.BuildState.DECONSTRUCTING:
|
||||||
|
return ActionType.NONE;
|
||||||
|
|
||||||
|
case Connection.BuildState.BUILT:
|
||||||
|
return altAction ? ActionType.MOVE_HALF_UNITS : ActionType.MOVE_ALL_UNITS;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return ActionType.NONE;
|
||||||
|
}
|
||||||
|
public List<Node> GetNodes() => NodeParent.GetComponentsInChildren<Node>().ToList();
|
||||||
|
public List<Connection> GetConnections() => ConnectionParent != null ? ConnectionParent.GetComponentsInChildren<Connection>()?.ToList() ?? new() : new();
|
||||||
|
|
||||||
|
public void UpdateConstructions()
|
||||||
|
{
|
||||||
|
foreach(Connection con in GetConnections())
|
||||||
|
{
|
||||||
|
if (con.constructingPlayerId == currentPlayer)
|
||||||
|
{
|
||||||
|
if (con.state == Connection.BuildState.CONSTRUCTING)
|
||||||
|
{
|
||||||
|
con.state = Connection.BuildState.BUILT;
|
||||||
|
con.SetConnect();
|
||||||
|
}
|
||||||
|
|
||||||
|
else if (con.state == Connection.BuildState.DECONSTRUCTING)
|
||||||
|
{
|
||||||
|
con.state = Connection.BuildState.EMPTY;
|
||||||
|
con.DelConnect();
|
||||||
|
}
|
||||||
|
|
||||||
|
con.constructingPlayerId = -1;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void ExecuteTurn()
|
||||||
|
{
|
||||||
|
Player player = players.Find(p => p.id == currentPlayer);
|
||||||
|
|
||||||
|
if (player == null)
|
||||||
|
{
|
||||||
|
Debug.LogWarning("Player " + currentPlayer + " not found!");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
int totalEnergyCost = 0;
|
||||||
|
actions.ForEach(a => totalEnergyCost += ActionTypeEnergyUsage[a.intendedAction]);
|
||||||
|
|
||||||
|
if (totalEnergyCost > player.energy)
|
||||||
|
{
|
||||||
|
Debug.Log("Insuficcient Energy for Turn! (needs " + totalEnergyCost + " has " + player.energy + ")");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
actions.ForEach(a => ExecuteAction(a));
|
||||||
|
for (int i = 0; i < actionListParent.childCount; i++)
|
||||||
|
{
|
||||||
|
Destroy(actionListParent.GetChild(i).gameObject);
|
||||||
|
}
|
||||||
|
actions.ForEach(action =>
|
||||||
|
{
|
||||||
|
var to = GetNodes().Where(n => n.id == action.nodeToId).First();
|
||||||
|
var from = GetNodes().Where(n => n.id == action.nodeFromId).First();
|
||||||
|
|
||||||
|
to.ExpectedUnitDiff = 0;
|
||||||
|
from.ExpectedUnitDiff = 0;
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
actions.Clear();
|
||||||
|
|
||||||
|
// Select next player
|
||||||
|
currentPlayer++;
|
||||||
|
Player nextPlayer = players.Find(p => p.id == currentPlayer);
|
||||||
|
|
||||||
|
// Executed turn of last Player => Round ended
|
||||||
|
if(nextPlayer == null)
|
||||||
|
currentPlayer = 0;
|
||||||
|
|
||||||
|
UpdateConstructions();
|
||||||
|
nextPlayer = players.Find(p => p.id == currentPlayer);
|
||||||
|
|
||||||
|
// Refill energy
|
||||||
|
nextPlayer.energy = 3;
|
||||||
|
nextPlayer.GetOwnedNodes().ForEach(node => {
|
||||||
|
nextPlayer.energy += node.Nachos;
|
||||||
|
if (node.Nachos > 0)
|
||||||
|
{
|
||||||
|
node.Units += 5 * node.Nachos;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
timer = roundTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void PushAction(Action action)
|
||||||
|
{
|
||||||
|
var ui = Instantiate(actionListItemPrefab, actionListParent);
|
||||||
|
|
||||||
|
ui.GetComponentInChildren<TMP_Text>().text = ActionTypeText[action.intendedAction] + " (" + action.nodeFromId + ">" + action.nodeToId + ")";
|
||||||
|
ui.GetComponentInChildren<Button>().onClick.AddListener(() => {
|
||||||
|
actions.Remove(action);
|
||||||
|
var to = GetNodes().Where(n => n.id == action.nodeToId).First();
|
||||||
|
var from = GetNodes().Where(n => n.id == action.nodeFromId).First();
|
||||||
|
|
||||||
|
switch (action.intendedAction)
|
||||||
|
{
|
||||||
|
case ActionType.MOVE_HALF_UNITS:
|
||||||
|
from.ExpectedUnitDiff += action.tempDaniel;
|
||||||
|
to.ExpectedUnitDiff -= action.tempDaniel;
|
||||||
|
break;
|
||||||
|
case ActionType.MOVE_ALL_UNITS:
|
||||||
|
from.ExpectedUnitDiff += action.tempDaniel;
|
||||||
|
to.ExpectedUnitDiff -= action.tempDaniel;
|
||||||
|
break;
|
||||||
|
case ActionType.ATTACK_NODE_WITH_HALF:
|
||||||
|
case ActionType.ATTACK_CON_WITH_HALF:
|
||||||
|
from.ExpectedUnitDiff += action.tempDaniel;
|
||||||
|
to.ExpectedUnitDiff += action.tempDaniel;
|
||||||
|
break;
|
||||||
|
case ActionType.ATTACK_NODE_WITH_ALL:
|
||||||
|
case ActionType.ATTACK_CON_WITH_ALL:
|
||||||
|
from.ExpectedUnitDiff += action.tempDaniel;
|
||||||
|
to.ExpectedUnitDiff += action.tempDaniel;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
Destroy(ui);
|
||||||
|
});
|
||||||
|
|
||||||
|
var from = GetNodes().Where(n => n.id == action.nodeFromId).First();
|
||||||
|
var to = GetNodes().Where(n => n.id == action.nodeToId).First();
|
||||||
|
|
||||||
|
// TODO: Alle diffs durchgehen nach jedem break
|
||||||
|
switch (action.intendedAction)
|
||||||
|
{
|
||||||
|
case ActionType.MOVE_HALF_UNITS:
|
||||||
|
to.ExpectedUnitDiff += (from.Units + from.ExpectedUnitDiff) / 2;
|
||||||
|
action.tempDaniel += (from.Units + from.ExpectedUnitDiff) / 2;
|
||||||
|
from.ExpectedUnitDiff -= (from.Units + from.ExpectedUnitDiff) / 2;
|
||||||
|
break;
|
||||||
|
case ActionType.MOVE_ALL_UNITS:
|
||||||
|
to.ExpectedUnitDiff += (from.Units+ from.ExpectedUnitDiff) ;
|
||||||
|
action.tempDaniel += (from.Units+ from.ExpectedUnitDiff) ;
|
||||||
|
from.ExpectedUnitDiff -= (from.Units+ from.ExpectedUnitDiff) ;
|
||||||
|
break;
|
||||||
|
case ActionType.ATTACK_NODE_WITH_HALF:
|
||||||
|
case ActionType.ATTACK_CON_WITH_HALF:
|
||||||
|
to.ExpectedUnitDiff -= (from.Units + from.ExpectedUnitDiff) / 2;
|
||||||
|
action.tempDaniel += (from.Units + from.ExpectedUnitDiff) / 2;
|
||||||
|
from.ExpectedUnitDiff -= (from.Units + from.ExpectedUnitDiff) / 2;
|
||||||
|
break;
|
||||||
|
case ActionType.ATTACK_NODE_WITH_ALL:
|
||||||
|
case ActionType.ATTACK_CON_WITH_ALL:
|
||||||
|
to.ExpectedUnitDiff -= (from.Units+ from.ExpectedUnitDiff) ;
|
||||||
|
action.tempDaniel += (from.Units+ from.ExpectedUnitDiff) ;
|
||||||
|
from.ExpectedUnitDiff -= (from.Units+ from.ExpectedUnitDiff) ;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
actions.Add(action);
|
||||||
|
}
|
||||||
|
public Action PushNewAction(int nodeFromId, int nodeToId, bool onConnection = false, int? player = null, bool ? altAction = null)
|
||||||
|
{
|
||||||
|
int _player = player != null ? (int)player : currentPlayer;
|
||||||
|
bool _altAction = altAction != null ? (bool)altAction : Input.GetKey(altActionKey);
|
||||||
|
|
||||||
|
ActionType type = CalcActionBetweenNodes(_player, nodeFromId, nodeToId, _altAction, onConnection);
|
||||||
|
Action action = new Action
|
||||||
|
{
|
||||||
|
intendedAction = type,
|
||||||
|
nodeFromId = nodeFromId,
|
||||||
|
nodeToId = nodeToId,
|
||||||
|
player = _player,
|
||||||
|
altAction = _altAction,
|
||||||
|
onConnection = onConnection
|
||||||
|
};
|
||||||
|
|
||||||
|
int totalEnergyCost = 0;
|
||||||
|
actions.ForEach(a => totalEnergyCost += ActionTypeEnergyUsage[a.intendedAction]);
|
||||||
|
totalEnergyCost += ActionTypeEnergyUsage[action.intendedAction];
|
||||||
|
|
||||||
|
if (type != ActionType.NONE && players.Find(p => p.id == _player).energy >= totalEnergyCost )
|
||||||
|
PushAction(action);
|
||||||
|
|
||||||
|
return action;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public void ExecuteAction(Action action)
|
||||||
|
{
|
||||||
|
Node nodeTo = GetNodes().Find(n => n.id == action.nodeToId);
|
||||||
|
Node nodeFrom = GetNodes().Find(n => n.id == action.nodeFromId);
|
||||||
|
Connection con = GetConnections().Find(c => (c.nodeA == nodeTo && c.nodeB == nodeFrom) || (c.nodeA == nodeFrom && c.nodeB == nodeTo));
|
||||||
|
Player p = players.Find(p => (p.id == action.player));
|
||||||
|
|
||||||
|
if (p == null)
|
||||||
|
{
|
||||||
|
Debug.LogWarning("Player " + action.player + " not found!");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
ActionType possibleAction = CalcActionBetweenNodes(action.player, action.nodeFromId, action.nodeToId, action.altAction, action.onConnection);
|
||||||
|
|
||||||
|
if (possibleAction != action.intendedAction)
|
||||||
|
{
|
||||||
|
Debug.LogWarning("Intended action not possible (TODO: execute counter action) PS : BONUS");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (p.energy < ActionTypeEnergyUsage[action.intendedAction])
|
||||||
|
{
|
||||||
|
Debug.Log("Insuficcient Energy! (needs " + ActionTypeEnergyUsage[action.intendedAction] + " has " + p.energy + ")");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
switch (action.intendedAction)
|
||||||
|
{
|
||||||
|
case ActionType.NONE:
|
||||||
|
break;
|
||||||
|
|
||||||
|
case ActionType.MOVE_HALF_UNITS:
|
||||||
|
case ActionType.MOVE_ALL_UNITS:
|
||||||
|
Debug.Log("Moving units from " + nodeTo.id + " to " + nodeFrom.id);
|
||||||
|
|
||||||
|
if (action.intendedAction == ActionType.MOVE_ALL_UNITS)
|
||||||
|
{
|
||||||
|
nodeTo.Units += nodeFrom.Units;
|
||||||
|
nodeFrom.Units = 0;
|
||||||
|
}
|
||||||
|
else if (action.intendedAction == ActionType.MOVE_HALF_UNITS)
|
||||||
|
{
|
||||||
|
int diff = Mathf.CeilToInt(nodeFrom.Units / 2);
|
||||||
|
nodeTo.Units += diff;
|
||||||
|
nodeFrom.Units -= diff;
|
||||||
|
}
|
||||||
|
if (nodeFrom.Units <= 0)
|
||||||
|
nodeFrom.Owner = -1;
|
||||||
|
if (nodeTo.Units > 0)
|
||||||
|
nodeTo.Owner = currentPlayer;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case ActionType.ATTACK_NODE_WITH_HALF:
|
||||||
|
Debug.Log("Attacking hostile units with half from " + nodeTo.id + " to " + nodeFrom.id);
|
||||||
|
int attackers = nodeFrom.Units / 2;
|
||||||
|
nodeTo.Units -= attackers;
|
||||||
|
nodeFrom.Units -= attackers;
|
||||||
|
|
||||||
|
if (nodeTo.Units < 0)
|
||||||
|
{
|
||||||
|
nodeTo.Owner = currentPlayer;
|
||||||
|
nodeTo.Units = Math.Abs(nodeTo.Units);
|
||||||
|
} else
|
||||||
|
|
||||||
|
if (nodeFrom.Units == 0)
|
||||||
|
{
|
||||||
|
nodeFrom.Owner = -1;
|
||||||
|
nodeFrom.Units = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
break;
|
||||||
|
|
||||||
|
case ActionType.ATTACK_NODE_WITH_ALL:
|
||||||
|
Debug.Log("Attacking hostile units with all from " + nodeTo.id + " to " + nodeFrom.id);
|
||||||
|
|
||||||
|
attackers = nodeFrom.Units;
|
||||||
|
nodeTo.Units -= attackers;
|
||||||
|
nodeFrom.Units -= attackers;
|
||||||
|
|
||||||
|
if (nodeTo.Units < 0)
|
||||||
|
{
|
||||||
|
nodeTo.Owner = nodeTo.Units == 0 ? -1 : currentPlayer;
|
||||||
|
nodeTo.Units = Math.Abs(nodeTo.Units);
|
||||||
|
} else
|
||||||
|
|
||||||
|
if (nodeFrom.Units == 0)
|
||||||
|
{
|
||||||
|
nodeFrom.Owner = -1;
|
||||||
|
nodeFrom.Units = 0;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
|
case ActionType.ATTACK_CON_WITH_HALF:
|
||||||
|
Debug.Log("Attacking hostile construction with half from " + nodeTo.id + " to " + nodeFrom.id);
|
||||||
|
|
||||||
|
attackers = nodeFrom.Units / 2;
|
||||||
|
nodeTo.Units -= attackers;
|
||||||
|
nodeFrom.Units = Math.Max(0, nodeFrom.Units -attackers);
|
||||||
|
|
||||||
|
if (nodeTo.Units <= 0)
|
||||||
|
{
|
||||||
|
nodeTo.Owner = nodeTo.Units == 0 ? -1 : currentPlayer;
|
||||||
|
con.state = Connection.BuildState.EMPTY;
|
||||||
|
con.DelConnect();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
|
case ActionType.ATTACK_CON_WITH_ALL:
|
||||||
|
Debug.Log("Attacking hostile construction with all from " + nodeTo.id + " to " + nodeFrom.id);
|
||||||
|
|
||||||
|
attackers = nodeFrom.Units;
|
||||||
|
nodeTo.Units -= attackers;
|
||||||
|
nodeFrom.Units = Math.Max(0, nodeFrom.Units - attackers);
|
||||||
|
|
||||||
|
if (nodeTo.Units <= 0)
|
||||||
|
{
|
||||||
|
nodeTo.Owner = nodeTo.Units == 0 ? -1 : currentPlayer;
|
||||||
|
con.state = Connection.BuildState.EMPTY;
|
||||||
|
con.DelConnect();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
|
case ActionType.CONSTRUCT_CON:
|
||||||
|
Debug.Log("Starting construction from " + nodeTo.id + " to " + nodeFrom.id);
|
||||||
|
con.state = Connection.BuildState.CONSTRUCTING;
|
||||||
|
con.SetConnect();
|
||||||
|
con.constructingPlayerId = action.player;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case ActionType.DESTRUCT_CON:
|
||||||
|
Debug.Log("Starten deconstruction from " + nodeTo.id + " to " + nodeFrom.id);
|
||||||
|
con.state = Connection.BuildState.DECONSTRUCTING;
|
||||||
|
con.DelConnect();
|
||||||
|
con.constructingPlayerId = action.player;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case ActionType.EXPLODE_CON:
|
||||||
|
if (p.energy < 2)
|
||||||
|
{
|
||||||
|
Debug.Log("Not enough energy");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
p.energy -= 2;
|
||||||
|
Debug.Log("Exploding connection from " + nodeTo.id + " to " + nodeFrom.id);
|
||||||
|
con.state = Connection.BuildState.EMPTY;
|
||||||
|
con.DelConnect();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#if UNITY_EDITOR
|
||||||
public void GenerateAlongSphere()
|
public void GenerateAlongSphere()
|
||||||
{
|
{
|
||||||
for (int i = NodeParent.childCount - 1; i >= 0; i--)
|
for (int i = NodeParent.childCount - 1; i >= 0; i--)
|
||||||
|
|
@ -179,8 +746,11 @@ public class GameManager : MonoBehaviour
|
||||||
var nodeData = levels[index].nodes[i];
|
var nodeData = levels[index].nodes[i];
|
||||||
var auto = PrefabUtility.InstantiatePrefab(NodePrefab, NodeParent) as GameObject;
|
var auto = PrefabUtility.InstantiatePrefab(NodePrefab, NodeParent) as GameObject;
|
||||||
auto.transform.localPosition = nodeData.position;
|
auto.transform.localPosition = nodeData.position;
|
||||||
auto.GetComponent<Node>().Owner = nodeData.owner;
|
|
||||||
auto.GetComponent<Node>().id = i;
|
Node node = auto.GetComponent<Node>();
|
||||||
|
node.Owner = nodeData.owner;
|
||||||
|
node.Units = nodeData.units;
|
||||||
|
node.id = i;
|
||||||
}
|
}
|
||||||
|
|
||||||
var currentNodes = GetNodes();
|
var currentNodes = GetNodes();
|
||||||
|
|
@ -193,10 +763,8 @@ public class GameManager : MonoBehaviour
|
||||||
|
|
||||||
|
|
||||||
foreach (LevelData.ConnectionData conData in levels[index].connections)
|
foreach (LevelData.ConnectionData conData in levels[index].connections)
|
||||||
{
|
|
||||||
AddConnection(currentNodes[conData.nodeAIndex], currentNodes[conData.nodeBIndex], conData.allowed);
|
AddConnection(currentNodes[conData.nodeAIndex], currentNodes[conData.nodeBIndex], conData.allowed);
|
||||||
Debug.Log(conData.nodeAIndex + " - " + conData.nodeBIndex);
|
|
||||||
}
|
|
||||||
selectedLevel = index;
|
selectedLevel = index;
|
||||||
minConnectionLength = levels[index].minConnectionLength;
|
minConnectionLength = levels[index].minConnectionLength;
|
||||||
maxConnectionLength = levels[index].maxConnectionLength;
|
maxConnectionLength = levels[index].maxConnectionLength;
|
||||||
|
|
@ -216,7 +784,8 @@ public class GameManager : MonoBehaviour
|
||||||
data.nodes.Add(new LevelData.NodeData
|
data.nodes.Add(new LevelData.NodeData
|
||||||
{
|
{
|
||||||
position = node.transform.localPosition,
|
position = node.transform.localPosition,
|
||||||
owner = node.Owner
|
owner = node.Owner,
|
||||||
|
units = node.Units
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -242,4 +811,5 @@ public class GameManager : MonoBehaviour
|
||||||
int newIndex = index < 0 ? levels.Count - 1 : index;
|
int newIndex = index < 0 ? levels.Count - 1 : index;
|
||||||
selectedLevel = newIndex;
|
selectedLevel = newIndex;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
@ -13,15 +13,15 @@ public class Node : MonoBehaviour
|
||||||
public int Units;
|
public int Units;
|
||||||
public int id;
|
public int id;
|
||||||
public TMP_Text unitText;
|
public TMP_Text unitText;
|
||||||
public Material materialOwnerSelf, materialOwnerOther, materialOwnerNone, materialHover;
|
public Material materialOwnerSelf, materialOwnerOther, materialOwnerNone, materialHover, materialNachoSelf, materialNachoOther;
|
||||||
|
|
||||||
public List<Node> connected;
|
public List<Node> connected;
|
||||||
|
|
||||||
public bool hovered;
|
public bool hovered;
|
||||||
|
|
||||||
private int Nachos = 0;
|
public int Nachos = 0;
|
||||||
|
|
||||||
public static Node pressedNode = null;
|
public int ExpectedUnitDiff = 0;
|
||||||
|
|
||||||
void Awake()
|
void Awake()
|
||||||
{
|
{
|
||||||
|
|
@ -41,21 +41,15 @@ public class Node : MonoBehaviour
|
||||||
|
|
||||||
void CalculateNachos()
|
void CalculateNachos()
|
||||||
{
|
{
|
||||||
Nachos = CycleFinder.FindLargestCycleAmongNeighbors(this).Count;
|
Nachos = Math.Max(0, CycleFinder.FindLargestCycleAmongNeighbors(this).Count - 3);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update is called once per frame
|
// Update is called once per frame
|
||||||
void Update()
|
void Update()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
if (Input.GetMouseButtonDown(0) && hovered)
|
|
||||||
{
|
|
||||||
Debug.Log($"Largest Nacho: {Nachos}");
|
|
||||||
}
|
|
||||||
|
|
||||||
unitText.enabled = hovered;
|
unitText.enabled = hovered;
|
||||||
unitText.text = Nachos.ToString();
|
unitText.text = $"{Units} {(ExpectedUnitDiff != 0 ? $"({ExpectedUnitDiff})" : "")} ";
|
||||||
|
|
||||||
unitText.transform.forward = Camera.main.transform.forward;
|
unitText.transform.forward = Camera.main.transform.forward;
|
||||||
UpdateColor();
|
UpdateColor();
|
||||||
UpdateTransform();
|
UpdateTransform();
|
||||||
|
|
@ -85,7 +79,7 @@ public class Node : MonoBehaviour
|
||||||
|
|
||||||
public void UpdateTransform()
|
public void UpdateTransform()
|
||||||
{
|
{
|
||||||
transform.localPosition = transform.localPosition.normalized * 20f;
|
transform.localPosition = transform.localPosition.normalized * 21f;
|
||||||
if (transform.position != Vector3.zero)
|
if (transform.position != Vector3.zero)
|
||||||
transform.forward = transform.position;
|
transform.forward = transform.position;
|
||||||
}
|
}
|
||||||
|
|
@ -100,11 +94,11 @@ public class Node : MonoBehaviour
|
||||||
else if (Owner == -1 || currentPlayer == -1)
|
else if (Owner == -1 || currentPlayer == -1)
|
||||||
material = materialOwnerNone;
|
material = materialOwnerNone;
|
||||||
else if (Owner == currentPlayer)
|
else if (Owner == currentPlayer)
|
||||||
material = materialOwnerSelf;
|
material = Nachos > 0 ? materialNachoSelf : materialOwnerSelf;
|
||||||
else
|
else
|
||||||
material = materialOwnerOther;
|
material = Nachos > 0 ? materialNachoOther : materialOwnerOther;
|
||||||
|
|
||||||
transform.GetChild(0).GetComponent<Renderer>().sharedMaterial = material;
|
transform.GetComponent<Renderer>().sharedMaterial = material;
|
||||||
|
|
||||||
hovered = false;
|
hovered = false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,32 +1,22 @@
|
||||||
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
public class Player : MonoBehaviour
|
[Serializable]
|
||||||
|
public class Player
|
||||||
{
|
{
|
||||||
/** Possible Moves:
|
/** Possible Moves:
|
||||||
* - NodeA to NodeB (connection built): move Units (will attack if NodeB is hostile; cant traverse multiple unclaimed nodes)
|
* - NodeA to NodeB (connection built): move Units (will attack if NodeB is hostile; cant traverse multiple unclaimed nodes)
|
||||||
* - NodeA to NodeB (connection empty): build connection (-1 energy, takes 1 round)
|
* - NodeA to NodeB (connection empty): build connection (-1 energy, takes 1 round)
|
||||||
* - NodeA to NodeB (connection under de/-construction): intervene by attacking (will destroy connection if succesfull)
|
* - NodeA to NodeB (connection under de/-construction): intervene by attacking (will destroy connection if succesfull)
|
||||||
* - Click connection: Option to Destruct (-1 energy, takes 1 round) or Blast (-2 energy, immediately) Connection
|
* - Click connection: Option to Destruct (-1 energy, takes 1 round) or Blast (-2 energy, immediately) Connection <- blast ist schlecht weil problem
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public int id;
|
public int id;
|
||||||
|
|
||||||
public int energyLeft;
|
public int energy;
|
||||||
|
|
||||||
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
|
||||||
void Start()
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
// Update is called once per frame
|
|
||||||
void Update()
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
public List<Node> GetOwnedNodes() => GameManager.Instance.GetNodes().FindAll(n => n.Owner == this.id);
|
public List<Node> GetOwnedNodes() => GameManager.Instance.GetNodes().FindAll(n => n.Owner == this.id);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -78,11 +78,11 @@ MonoBehaviour:
|
||||||
m_UseAdaptivePerformance: 1
|
m_UseAdaptivePerformance: 1
|
||||||
m_ColorGradingMode: 0
|
m_ColorGradingMode: 0
|
||||||
m_ColorGradingLutSize: 32
|
m_ColorGradingLutSize: 32
|
||||||
|
m_AllowPostProcessAlphaOutput: 0
|
||||||
m_UseFastSRGBLinearConversion: 0
|
m_UseFastSRGBLinearConversion: 0
|
||||||
m_SupportDataDrivenLensFlare: 1
|
m_SupportDataDrivenLensFlare: 1
|
||||||
m_SupportScreenSpaceLensFlare: 1
|
m_SupportScreenSpaceLensFlare: 1
|
||||||
m_GPUResidentDrawerMode: 0
|
m_GPUResidentDrawerMode: 0
|
||||||
m_UseLegacyLightmaps: 0
|
|
||||||
m_SmallMeshScreenPercentage: 0
|
m_SmallMeshScreenPercentage: 0
|
||||||
m_GPUResidentDrawerEnableOcclusionCullingInCameras: 0
|
m_GPUResidentDrawerEnableOcclusionCullingInCameras: 0
|
||||||
m_ShadowType: 1
|
m_ShadowType: 1
|
||||||
|
|
@ -100,15 +100,16 @@ MonoBehaviour:
|
||||||
m_Keys: []
|
m_Keys: []
|
||||||
m_Values:
|
m_Values:
|
||||||
m_PrefilteringModeMainLightShadows: 3
|
m_PrefilteringModeMainLightShadows: 3
|
||||||
m_PrefilteringModeAdditionalLight: 4
|
m_PrefilteringModeAdditionalLight: 0
|
||||||
m_PrefilteringModeAdditionalLightShadows: 0
|
m_PrefilteringModeAdditionalLightShadows: 2
|
||||||
m_PrefilterXRKeywords: 1
|
m_PrefilterXRKeywords: 1
|
||||||
m_PrefilteringModeForwardPlus: 1
|
m_PrefilteringModeForwardPlus: 2
|
||||||
m_PrefilteringModeDeferredRendering: 0
|
m_PrefilteringModeDeferredRendering: 0
|
||||||
m_PrefilteringModeScreenSpaceOcclusion: 1
|
m_PrefilteringModeScreenSpaceOcclusion: 2
|
||||||
m_PrefilterDebugKeywords: 1
|
m_PrefilterDebugKeywords: 1
|
||||||
m_PrefilterWriteRenderingLayers: 0
|
m_PrefilterWriteRenderingLayers: 1
|
||||||
m_PrefilterHDROutput: 1
|
m_PrefilterHDROutput: 1
|
||||||
|
m_PrefilterAlphaOutput: 1
|
||||||
m_PrefilterSSAODepthNormals: 0
|
m_PrefilterSSAODepthNormals: 0
|
||||||
m_PrefilterSSAOSourceDepthLow: 1
|
m_PrefilterSSAOSourceDepthLow: 1
|
||||||
m_PrefilterSSAOSourceDepthMedium: 1
|
m_PrefilterSSAOSourceDepthMedium: 1
|
||||||
|
|
@ -120,10 +121,10 @@ MonoBehaviour:
|
||||||
m_PrefilterSSAOSampleCountHigh: 1
|
m_PrefilterSSAOSampleCountHigh: 1
|
||||||
m_PrefilterDBufferMRT1: 1
|
m_PrefilterDBufferMRT1: 1
|
||||||
m_PrefilterDBufferMRT2: 1
|
m_PrefilterDBufferMRT2: 1
|
||||||
m_PrefilterDBufferMRT3: 0
|
m_PrefilterDBufferMRT3: 1
|
||||||
m_PrefilterSoftShadowsQualityLow: 0
|
m_PrefilterSoftShadowsQualityLow: 1
|
||||||
m_PrefilterSoftShadowsQualityMedium: 0
|
m_PrefilterSoftShadowsQualityMedium: 1
|
||||||
m_PrefilterSoftShadowsQualityHigh: 0
|
m_PrefilterSoftShadowsQualityHigh: 1
|
||||||
m_PrefilterSoftShadows: 0
|
m_PrefilterSoftShadows: 0
|
||||||
m_PrefilterScreenCoord: 1
|
m_PrefilterScreenCoord: 1
|
||||||
m_PrefilterNativeRenderPass: 1
|
m_PrefilterNativeRenderPass: 1
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,17 @@ MonoBehaviour:
|
||||||
- rid: 8712630790384254976
|
- rid: 8712630790384254976
|
||||||
- rid: 3482916744682799104
|
- rid: 3482916744682799104
|
||||||
m_RuntimeSettings:
|
m_RuntimeSettings:
|
||||||
m_List: []
|
m_List:
|
||||||
|
- rid: 6852985685364965378
|
||||||
|
- rid: 6852985685364965379
|
||||||
|
- rid: 6852985685364965380
|
||||||
|
- rid: 6852985685364965381
|
||||||
|
- rid: 6852985685364965384
|
||||||
|
- rid: 6852985685364965385
|
||||||
|
- rid: 6852985685364965392
|
||||||
|
- rid: 6852985685364965394
|
||||||
|
- rid: 8712630790384254976
|
||||||
|
- rid: 3482916744682799104
|
||||||
m_AssetVersion: 8
|
m_AssetVersion: 8
|
||||||
m_ObsoleteDefaultVolumeProfile: {fileID: 0}
|
m_ObsoleteDefaultVolumeProfile: {fileID: 0}
|
||||||
m_RenderingLayerNames:
|
m_RenderingLayerNames:
|
||||||
|
|
|
||||||
|
|
@ -2,20 +2,24 @@
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
--- !u!21 &2180264
|
--- !u!21 &2180264
|
||||||
Material:
|
Material:
|
||||||
serializedVersion: 6
|
serializedVersion: 8
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_Name: LiberationSans SDF Material
|
m_Name: LiberationSans SDF Material
|
||||||
m_Shader: {fileID: 4800000, guid: fe393ace9b354375a9cb14cdbbc28be4, type: 3}
|
m_Shader: {fileID: 4800000, guid: fe393ace9b354375a9cb14cdbbc28be4, type: 3}
|
||||||
m_ShaderKeywords:
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords: []
|
||||||
|
m_InvalidKeywords: []
|
||||||
m_LightmapFlags: 1
|
m_LightmapFlags: 1
|
||||||
m_EnableInstancingVariants: 0
|
m_EnableInstancingVariants: 0
|
||||||
m_DoubleSidedGI: 0
|
m_DoubleSidedGI: 0
|
||||||
m_CustomRenderQueue: -1
|
m_CustomRenderQueue: -1
|
||||||
stringTagMap: {}
|
stringTagMap: {}
|
||||||
disabledShaderPasses: []
|
disabledShaderPasses: []
|
||||||
|
m_LockedProperties:
|
||||||
m_SavedProperties:
|
m_SavedProperties:
|
||||||
serializedVersion: 3
|
serializedVersion: 3
|
||||||
m_TexEnvs:
|
m_TexEnvs:
|
||||||
|
|
@ -67,6 +71,7 @@ Material:
|
||||||
m_Texture: {fileID: 0}
|
m_Texture: {fileID: 0}
|
||||||
m_Scale: {x: 1, y: 1}
|
m_Scale: {x: 1, y: 1}
|
||||||
m_Offset: {x: 0, y: 0}
|
m_Offset: {x: 0, y: 0}
|
||||||
|
m_Ints: []
|
||||||
m_Floats:
|
m_Floats:
|
||||||
- _Ambient: 0.5
|
- _Ambient: 0.5
|
||||||
- _Bevel: 0.5
|
- _Bevel: 0.5
|
||||||
|
|
@ -107,9 +112,9 @@ Material:
|
||||||
- _Parallax: 0.02
|
- _Parallax: 0.02
|
||||||
- _PerspectiveFilter: 0.875
|
- _PerspectiveFilter: 0.875
|
||||||
- _Reflectivity: 10
|
- _Reflectivity: 10
|
||||||
- _ScaleRatioA: 0.90909094
|
- _ScaleRatioA: 0.9
|
||||||
- _ScaleRatioB: 0.73125
|
- _ScaleRatioB: 0.73125
|
||||||
- _ScaleRatioC: 0.7386364
|
- _ScaleRatioC: 0.73125
|
||||||
- _ScaleX: 1
|
- _ScaleX: 1
|
||||||
- _ScaleY: 1
|
- _ScaleY: 1
|
||||||
- _ShaderFlags: 0
|
- _ShaderFlags: 0
|
||||||
|
|
@ -148,6 +153,8 @@ Material:
|
||||||
- _ReflectOutlineColor: {r: 0, g: 0, b: 0, a: 1}
|
- _ReflectOutlineColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
- _SpecularColor: {r: 1, g: 1, b: 1, a: 1}
|
- _SpecularColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
- _UnderlayColor: {r: 0, g: 0, b: 0, a: 0.5}
|
- _UnderlayColor: {r: 0, g: 0, b: 0, a: 0.5}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
|
m_AllowLocking: 1
|
||||||
--- !u!114 &11400000
|
--- !u!114 &11400000
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
@ -161,17 +168,13 @@ MonoBehaviour:
|
||||||
m_Name: LiberationSans SDF - Fallback
|
m_Name: LiberationSans SDF - Fallback
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
m_Version: 1.1.0
|
m_Version: 1.1.0
|
||||||
m_Material: {fileID: 2180264}
|
|
||||||
m_SourceFontFileGUID: e3265ab4bf004d28a9537516768c1c75
|
|
||||||
m_SourceFontFile: {fileID: 12800000, guid: e3265ab4bf004d28a9537516768c1c75, type: 3}
|
|
||||||
m_AtlasPopulationMode: 1
|
|
||||||
InternalDynamicOS: 0
|
|
||||||
m_FaceInfo:
|
m_FaceInfo:
|
||||||
m_FaceIndex: 0
|
m_FaceIndex: 0
|
||||||
m_FamilyName: Liberation Sans
|
m_FamilyName: Liberation Sans
|
||||||
m_StyleName: Regular
|
m_StyleName: Regular
|
||||||
m_PointSize: 86
|
m_PointSize: 86
|
||||||
m_Scale: 1
|
m_Scale: 1
|
||||||
|
m_UnitsPerEM: 2048
|
||||||
m_LineHeight: 98.8916
|
m_LineHeight: 98.8916
|
||||||
m_AscentLine: 77.853516
|
m_AscentLine: 77.853516
|
||||||
m_CapLine: 59
|
m_CapLine: 59
|
||||||
|
|
@ -187,57 +190,8 @@ MonoBehaviour:
|
||||||
m_StrikethroughOffset: 18
|
m_StrikethroughOffset: 18
|
||||||
m_StrikethroughThickness: 6.298828
|
m_StrikethroughThickness: 6.298828
|
||||||
m_TabWidth: 24
|
m_TabWidth: 24
|
||||||
m_GlyphTable: []
|
m_Material: {fileID: 2180264}
|
||||||
m_CharacterTable: []
|
m_SourceFontFileGUID: e3265ab4bf004d28a9537516768c1c75
|
||||||
m_AtlasTextures:
|
|
||||||
- {fileID: 28268798066460806}
|
|
||||||
m_AtlasTextureIndex: 0
|
|
||||||
m_IsMultiAtlasTexturesEnabled: 1
|
|
||||||
m_ClearDynamicDataOnBuild: 1
|
|
||||||
m_UsedGlyphRects: []
|
|
||||||
m_FreeGlyphRects:
|
|
||||||
- m_X: 0
|
|
||||||
m_Y: 0
|
|
||||||
m_Width: 511
|
|
||||||
m_Height: 511
|
|
||||||
m_fontInfo:
|
|
||||||
Name: Liberation Sans
|
|
||||||
PointSize: 86
|
|
||||||
Scale: 1
|
|
||||||
CharacterCount: 250
|
|
||||||
LineHeight: 98.90625
|
|
||||||
Baseline: 0
|
|
||||||
Ascender: 77.84375
|
|
||||||
CapHeight: 59.1875
|
|
||||||
Descender: -18.21875
|
|
||||||
CenterLine: 0
|
|
||||||
SuperscriptOffset: 77.84375
|
|
||||||
SubscriptOffset: -12.261719
|
|
||||||
SubSize: 0.5
|
|
||||||
Underline: -12.261719
|
|
||||||
UnderlineThickness: 6.298828
|
|
||||||
strikethrough: 23.675
|
|
||||||
strikethroughThickness: 0
|
|
||||||
TabWidth: 239.0625
|
|
||||||
Padding: 9
|
|
||||||
AtlasWidth: 1024
|
|
||||||
AtlasHeight: 1024
|
|
||||||
atlas: {fileID: 0}
|
|
||||||
m_AtlasWidth: 512
|
|
||||||
m_AtlasHeight: 512
|
|
||||||
m_AtlasPadding: 9
|
|
||||||
m_AtlasRenderMode: 4169
|
|
||||||
m_glyphInfoList: []
|
|
||||||
m_KerningTable:
|
|
||||||
kerningPairs: []
|
|
||||||
m_FontFeatureTable:
|
|
||||||
m_MultipleSubstitutionRecords: []
|
|
||||||
m_LigatureSubstitutionRecords: []
|
|
||||||
m_GlyphPairAdjustmentRecords: []
|
|
||||||
m_MarkToBaseAdjustmentRecords: []
|
|
||||||
m_MarkToMarkAdjustmentRecords: []
|
|
||||||
fallbackFontAssets: []
|
|
||||||
m_FallbackFontAssetTable: []
|
|
||||||
m_CreationSettings:
|
m_CreationSettings:
|
||||||
sourceFontFileName:
|
sourceFontFileName:
|
||||||
sourceFontFileGUID: e3265ab4bf004d28a9537516768c1c75
|
sourceFontFileGUID: e3265ab4bf004d28a9537516768c1c75
|
||||||
|
|
@ -257,6 +211,36 @@ MonoBehaviour:
|
||||||
fontStyleModifier: 0
|
fontStyleModifier: 0
|
||||||
renderMode: 4169
|
renderMode: 4169
|
||||||
includeFontFeatures: 1
|
includeFontFeatures: 1
|
||||||
|
m_SourceFontFile: {fileID: 12800000, guid: e3265ab4bf004d28a9537516768c1c75, type: 3}
|
||||||
|
m_SourceFontFilePath:
|
||||||
|
m_AtlasPopulationMode: 1
|
||||||
|
InternalDynamicOS: 0
|
||||||
|
m_GlyphTable: []
|
||||||
|
m_CharacterTable: []
|
||||||
|
m_AtlasTextures:
|
||||||
|
- {fileID: 28268798066460806}
|
||||||
|
m_AtlasTextureIndex: 0
|
||||||
|
m_IsMultiAtlasTexturesEnabled: 1
|
||||||
|
m_GetFontFeatures: 1
|
||||||
|
m_ClearDynamicDataOnBuild: 1
|
||||||
|
m_AtlasWidth: 512
|
||||||
|
m_AtlasHeight: 512
|
||||||
|
m_AtlasPadding: 9
|
||||||
|
m_AtlasRenderMode: 4169
|
||||||
|
m_UsedGlyphRects: []
|
||||||
|
m_FreeGlyphRects:
|
||||||
|
- m_X: 0
|
||||||
|
m_Y: 0
|
||||||
|
m_Width: 511
|
||||||
|
m_Height: 511
|
||||||
|
m_FontFeatureTable:
|
||||||
|
m_MultipleSubstitutionRecords: []
|
||||||
|
m_LigatureSubstitutionRecords: []
|
||||||
|
m_GlyphPairAdjustmentRecords: []
|
||||||
|
m_MarkToBaseAdjustmentRecords: []
|
||||||
|
m_MarkToMarkAdjustmentRecords: []
|
||||||
|
m_ShouldReimportFontFeatures: 0
|
||||||
|
m_FallbackFontAssetTable: []
|
||||||
m_FontWeightTable:
|
m_FontWeightTable:
|
||||||
- regularTypeface: {fileID: 0}
|
- regularTypeface: {fileID: 0}
|
||||||
italicTypeface: {fileID: 0}
|
italicTypeface: {fileID: 0}
|
||||||
|
|
@ -305,6 +289,33 @@ MonoBehaviour:
|
||||||
boldSpacing: 7
|
boldSpacing: 7
|
||||||
italicStyle: 35
|
italicStyle: 35
|
||||||
tabSize: 10
|
tabSize: 10
|
||||||
|
m_fontInfo:
|
||||||
|
Name: Liberation Sans
|
||||||
|
PointSize: 86
|
||||||
|
Scale: 1
|
||||||
|
CharacterCount: 250
|
||||||
|
LineHeight: 98.90625
|
||||||
|
Baseline: 0
|
||||||
|
Ascender: 77.84375
|
||||||
|
CapHeight: 59.1875
|
||||||
|
Descender: -18.21875
|
||||||
|
CenterLine: 0
|
||||||
|
SuperscriptOffset: 77.84375
|
||||||
|
SubscriptOffset: -12.261719
|
||||||
|
SubSize: 0.5
|
||||||
|
Underline: -12.261719
|
||||||
|
UnderlineThickness: 6.298828
|
||||||
|
strikethrough: 23.675
|
||||||
|
strikethroughThickness: 0
|
||||||
|
TabWidth: 239.0625
|
||||||
|
Padding: 9
|
||||||
|
AtlasWidth: 1024
|
||||||
|
AtlasHeight: 1024
|
||||||
|
m_glyphInfoList: []
|
||||||
|
m_KerningTable:
|
||||||
|
kerningPairs: []
|
||||||
|
fallbackFontAssets: []
|
||||||
|
atlas: {fileID: 0}
|
||||||
--- !u!28 &28268798066460806
|
--- !u!28 &28268798066460806
|
||||||
Texture2D:
|
Texture2D:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
@ -315,17 +326,21 @@ Texture2D:
|
||||||
m_ImageContentsHash:
|
m_ImageContentsHash:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
Hash: 00000000000000000000000000000000
|
Hash: 00000000000000000000000000000000
|
||||||
m_ForcedFallbackFormat: 4
|
m_IsAlphaChannelOptional: 0
|
||||||
m_DownscaleFallback: 0
|
serializedVersion: 3
|
||||||
serializedVersion: 2
|
m_Width: 1
|
||||||
m_Width: 0
|
m_Height: 1
|
||||||
m_Height: 0
|
m_CompleteImageSize: 1
|
||||||
m_CompleteImageSize: 0
|
m_MipsStripped: 0
|
||||||
m_TextureFormat: 1
|
m_TextureFormat: 1
|
||||||
m_MipCount: 1
|
m_MipCount: 1
|
||||||
m_IsReadable: 1
|
m_IsReadable: 1
|
||||||
|
m_IsPreProcessed: 0
|
||||||
|
m_IgnoreMipmapLimit: 0
|
||||||
|
m_MipmapLimitGroupName:
|
||||||
m_StreamingMipmaps: 0
|
m_StreamingMipmaps: 0
|
||||||
m_StreamingMipmapsPriority: 0
|
m_StreamingMipmapsPriority: 0
|
||||||
|
m_VTOnly: 0
|
||||||
m_AlphaIsTransparency: 0
|
m_AlphaIsTransparency: 0
|
||||||
m_ImageCount: 1
|
m_ImageCount: 1
|
||||||
m_TextureDimension: 2
|
m_TextureDimension: 2
|
||||||
|
|
@ -339,9 +354,11 @@ Texture2D:
|
||||||
m_WrapW: 0
|
m_WrapW: 0
|
||||||
m_LightmapFormat: 0
|
m_LightmapFormat: 0
|
||||||
m_ColorSpace: 0
|
m_ColorSpace: 0
|
||||||
image data: 0
|
m_PlatformBlob:
|
||||||
_typelessdata:
|
image data: 1
|
||||||
|
_typelessdata: 00
|
||||||
m_StreamData:
|
m_StreamData:
|
||||||
|
serializedVersion: 2
|
||||||
offset: 0
|
offset: 0
|
||||||
size: 0
|
size: 0
|
||||||
path:
|
path:
|
||||||
|
|
|
||||||
8
Assets/pixeloid-69232.meta
Normal file
8
Assets/pixeloid-69232.meta
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 08df8e8b91f11e3469b73b659e2da59c
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
1787
Assets/pixeloid-69232/PixeloidMono-d94EV SDF.asset
Normal file
1787
Assets/pixeloid-69232/PixeloidMono-d94EV SDF.asset
Normal file
File diff suppressed because one or more lines are too long
8
Assets/pixeloid-69232/PixeloidMono-d94EV SDF.asset.meta
Normal file
8
Assets/pixeloid-69232/PixeloidMono-d94EV SDF.asset.meta
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: e01dc04fc20642041aebeaef670ef411
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 11400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
BIN
Assets/pixeloid-69232/PixeloidMono-d94EV.ttf
Normal file
BIN
Assets/pixeloid-69232/PixeloidMono-d94EV.ttf
Normal file
Binary file not shown.
21
Assets/pixeloid-69232/PixeloidMono-d94EV.ttf.meta
Normal file
21
Assets/pixeloid-69232/PixeloidMono-d94EV.ttf.meta
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 9d028ca6d31da2e4e879a86c2cfc6177
|
||||||
|
TrueTypeFontImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 4
|
||||||
|
fontSize: 16
|
||||||
|
forceTextureCase: -2
|
||||||
|
characterSpacing: 0
|
||||||
|
characterPadding: 1
|
||||||
|
includeFontData: 1
|
||||||
|
fontNames:
|
||||||
|
- Pixeloid Mono
|
||||||
|
fallbackFontReferences: []
|
||||||
|
customCharacters:
|
||||||
|
fontRenderingMode: 0
|
||||||
|
ascentCalculationMode: 1
|
||||||
|
useLegacyBoundsCalculation: 0
|
||||||
|
shouldRoundAdvanceValue: 1
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
BIN
Assets/pixeloid-69232/PixeloidSans-mLxMm.ttf
Normal file
BIN
Assets/pixeloid-69232/PixeloidSans-mLxMm.ttf
Normal file
Binary file not shown.
21
Assets/pixeloid-69232/PixeloidSans-mLxMm.ttf.meta
Normal file
21
Assets/pixeloid-69232/PixeloidSans-mLxMm.ttf.meta
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 61587bce6cbfccd408ebec1fc4604796
|
||||||
|
TrueTypeFontImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 4
|
||||||
|
fontSize: 16
|
||||||
|
forceTextureCase: -2
|
||||||
|
characterSpacing: 0
|
||||||
|
characterPadding: 1
|
||||||
|
includeFontData: 1
|
||||||
|
fontNames:
|
||||||
|
- Pixeloid Sans
|
||||||
|
fallbackFontReferences: []
|
||||||
|
customCharacters:
|
||||||
|
fontRenderingMode: 0
|
||||||
|
ascentCalculationMode: 1
|
||||||
|
useLegacyBoundsCalculation: 0
|
||||||
|
shouldRoundAdvanceValue: 1
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
BIN
Assets/pixeloid-69232/PixeloidSansBold-PKnYd.ttf
Normal file
BIN
Assets/pixeloid-69232/PixeloidSansBold-PKnYd.ttf
Normal file
Binary file not shown.
21
Assets/pixeloid-69232/PixeloidSansBold-PKnYd.ttf.meta
Normal file
21
Assets/pixeloid-69232/PixeloidSansBold-PKnYd.ttf.meta
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: e760b62547ebdbf49af866a51e4634e1
|
||||||
|
TrueTypeFontImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 4
|
||||||
|
fontSize: 16
|
||||||
|
forceTextureCase: -2
|
||||||
|
characterSpacing: 0
|
||||||
|
characterPadding: 1
|
||||||
|
includeFontData: 1
|
||||||
|
fontNames:
|
||||||
|
- Pixeloid Sans
|
||||||
|
fallbackFontReferences: []
|
||||||
|
customCharacters:
|
||||||
|
fontRenderingMode: 0
|
||||||
|
ascentCalculationMode: 1
|
||||||
|
useLegacyBoundsCalculation: 0
|
||||||
|
shouldRoundAdvanceValue: 1
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
2
Assets/pixeloid-69232/info.txt
Normal file
2
Assets/pixeloid-69232/info.txt
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
license: SIL Open Font License (OFL)
|
||||||
|
link: https://www.fontspace.com/pixeloid-font-f69232
|
||||||
7
Assets/pixeloid-69232/info.txt.meta
Normal file
7
Assets/pixeloid-69232/info.txt.meta
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: cfb1e2f5fcf1fd94388be35107355726
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
8
Assets/pixeloid-69232/misc.meta
Normal file
8
Assets/pixeloid-69232/misc.meta
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: c708153b7fe0e514a970c19d91b1d1eb
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
92
Assets/pixeloid-69232/misc/License.txt
Normal file
92
Assets/pixeloid-69232/misc/License.txt
Normal file
|
|
@ -0,0 +1,92 @@
|
||||||
|
Copyright © 2020-2021 GGBot (https://ggbot.net/fonts/), with Reserved Font Name "Pixeloid".
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
http://scripts.sil.org/OFL
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
7
Assets/pixeloid-69232/misc/License.txt.meta
Normal file
7
Assets/pixeloid-69232/misc/License.txt.meta
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d6530f3366667074fa1bf9379c8e0c0b
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -5,9 +5,12 @@ EditorBuildSettings:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_Scenes:
|
m_Scenes:
|
||||||
- enabled: 1
|
- enabled: 0
|
||||||
path: Assets/Scenes/SampleScene.unity
|
path: Assets/Scenes/SampleScene.unity
|
||||||
guid: 99c9720ab356a0642a771bea13969a05
|
guid: 99c9720ab356a0642a771bea13969a05
|
||||||
|
- enabled: 1
|
||||||
|
path: Assets/Earth/EarthScene.unity
|
||||||
|
guid: e3523ca6db1f20c458e410e2aba84ee8
|
||||||
m_configObjects:
|
m_configObjects:
|
||||||
com.unity.input.settings.actions: {fileID: -944628639613478452, guid: 052faaac586de48259a63d0c4782560b, type: 3}
|
com.unity.input.settings.actions: {fileID: -944628639613478452, guid: 052faaac586de48259a63d0c4782560b, type: 3}
|
||||||
m_UseUCBPForAssetBundles: 0
|
m_UseUCBPForAssetBundles: 0
|
||||||
|
|
|
||||||
|
|
@ -36,10 +36,8 @@ GraphicsSettings:
|
||||||
- {fileID: 10783, guid: 0000000000000000f000000000000000, type: 0}
|
- {fileID: 10783, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
m_PreloadedShaders: []
|
m_PreloadedShaders: []
|
||||||
m_PreloadShadersBatchTimeLimit: -1
|
m_PreloadShadersBatchTimeLimit: -1
|
||||||
m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000,
|
m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
type: 0}
|
m_CustomRenderPipeline: {fileID: 11400000, guid: 4b83569d67af61e458304325a23e5dfd, type: 2}
|
||||||
m_CustomRenderPipeline: {fileID: 11400000, guid: 4b83569d67af61e458304325a23e5dfd,
|
|
||||||
type: 2}
|
|
||||||
m_TransparencySortMode: 0
|
m_TransparencySortMode: 0
|
||||||
m_TransparencySortAxis: {x: 0, y: 0, z: 1}
|
m_TransparencySortAxis: {x: 0, y: 0, z: 1}
|
||||||
m_DefaultRenderingPath: 1
|
m_DefaultRenderingPath: 1
|
||||||
|
|
@ -60,8 +58,7 @@ GraphicsSettings:
|
||||||
m_FogKeepExp2: 1
|
m_FogKeepExp2: 1
|
||||||
m_AlbedoSwatchInfos: []
|
m_AlbedoSwatchInfos: []
|
||||||
m_RenderPipelineGlobalSettingsMap:
|
m_RenderPipelineGlobalSettingsMap:
|
||||||
UnityEngine.Rendering.Universal.UniversalRenderPipeline: {fileID: 11400000, guid: 18dc0cd2c080841dea60987a38ce93fa,
|
UnityEngine.Rendering.Universal.UniversalRenderPipeline: {fileID: 11400000, guid: 18dc0cd2c080841dea60987a38ce93fa, type: 2}
|
||||||
type: 2}
|
|
||||||
m_LightsUseLinearIntensity: 1
|
m_LightsUseLinearIntensity: 1
|
||||||
m_LightsUseColorTemperature: 1
|
m_LightsUseColorTemperature: 1
|
||||||
m_LogWhenShaderIsCompiled: 0
|
m_LogWhenShaderIsCompiled: 0
|
||||||
|
|
|
||||||
|
|
@ -141,7 +141,8 @@ PlayerSettings:
|
||||||
visionOSBundleVersion: 1.0
|
visionOSBundleVersion: 1.0
|
||||||
tvOSBundleVersion: 1.0
|
tvOSBundleVersion: 1.0
|
||||||
bundleVersion: 0.1.0
|
bundleVersion: 0.1.0
|
||||||
preloadedAssets: []
|
preloadedAssets:
|
||||||
|
- {fileID: -944628639613478452, guid: 052faaac586de48259a63d0c4782560b, type: 3}
|
||||||
metroInputSource: 0
|
metroInputSource: 0
|
||||||
wsaTransparentSwapchain: 0
|
wsaTransparentSwapchain: 0
|
||||||
m_HolographicPauseOnTrackingLoss: 1
|
m_HolographicPauseOnTrackingLoss: 1
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue