111
8
Assets/ThirdParty/Tiny Giant Studio/Modular 3D Text.meta
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 00c0594b02ef68841850c67fbc893f1b
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/ThirdParty/Tiny Giant Studio/Modular 3D Text/Materials.meta
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1a7015f2c0f59774e97e41eafd5557b0
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
364
Assets/ThirdParty/Tiny Giant Studio/Modular 3D Text/Materials/MText_Black.mat
vendored
Normal file
@@ -0,0 +1,364 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 8
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: MText_Black
|
||||
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
|
||||
m_Parent: {fileID: 0}
|
||||
m_ModifiedSerializedProperties: 0
|
||||
m_ValidKeywords:
|
||||
- _ENVIRONMENTREFLECTIONS_OFF
|
||||
- _SPECULARHIGHLIGHTS_OFF
|
||||
m_InvalidKeywords:
|
||||
- _GLOSSYREFLECTIONS_OFF
|
||||
- _NORMALMAP_TANGENT_SPACE
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap:
|
||||
RenderType: Opaque
|
||||
disabledShaderPasses:
|
||||
- DistortionVectors
|
||||
- MOTIONVECTORS
|
||||
- TransparentDepthPrepass
|
||||
- TransparentDepthPostpass
|
||||
- TransparentBackface
|
||||
m_LockedProperties:
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _AlbedoMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _AnisotropyMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _BaseColorMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _BaseMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _BentNormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _BentNormalMapOS:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _CoatMaskMap:
|
||||
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}
|
||||
- _DetailMap:
|
||||
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}
|
||||
- _DistortionVectorMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissiveColorMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _HeightMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _IridescenceMaskMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _IridescenceThicknessMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MaskMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MetallicGlossMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _NormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _NormalMapOS:
|
||||
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}
|
||||
- _SpecularColorMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _SubsurfaceMaskMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _TangentMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _TangentMapOS:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _ThicknessMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _TransmittanceColorMap:
|
||||
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:
|
||||
- _AORemapMax: 1
|
||||
- _AORemapMin: 0
|
||||
- _ATDistance: 1
|
||||
- _AlbedoAffectEmissive: 0
|
||||
- _AlphaClip: 0
|
||||
- _AlphaCutoff: 0.5
|
||||
- _AlphaCutoffEnable: 0
|
||||
- _AlphaCutoffPostpass: 0.5
|
||||
- _AlphaCutoffPrepass: 0.5
|
||||
- _AlphaCutoffShadow: 0.5
|
||||
- _AlphaDstBlend: 0
|
||||
- _AlphaSrcBlend: 1
|
||||
- _AlphaToMask: 0
|
||||
- _Anisotropy: 0
|
||||
- _Blend: 0
|
||||
- _BlendMode: 0
|
||||
- _BlendModePreserveSpecular: 1
|
||||
- _BumpScale: 1
|
||||
- _ClearCoatMask: 0
|
||||
- _ClearCoatSmoothness: 0
|
||||
- _CoatMask: 0
|
||||
- _Cull: 2
|
||||
- _CullMode: 2
|
||||
- _CullModeForward: 2
|
||||
- _Cutoff: 0.5
|
||||
- _DepthOffsetEnable: 0
|
||||
- _DetailAlbedoMapScale: 1
|
||||
- _DetailAlbedoScale: 1
|
||||
- _DetailAlbedoStrength: 1
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DetailNormalScale: 1
|
||||
- _DetailNormalStrength: 1
|
||||
- _DetailSmoothnessScale: 1
|
||||
- _DetailSmoothnessStrength: 1
|
||||
- _DiffusionProfile: 0
|
||||
- _DiffusionProfileHash: 0
|
||||
- _DisplacementLockObjectScale: 1
|
||||
- _DisplacementLockTilingScale: 1
|
||||
- _DisplacementMode: 0
|
||||
- _DistortionBlendMode: 0
|
||||
- _DistortionBlurBlendMode: 0
|
||||
- _DistortionBlurDstBlend: 1
|
||||
- _DistortionBlurRemapMax: 1
|
||||
- _DistortionBlurRemapMin: 0
|
||||
- _DistortionBlurScale: 1
|
||||
- _DistortionBlurSrcBlend: 1
|
||||
- _DistortionDepthTest: 1
|
||||
- _DistortionDstBlend: 1
|
||||
- _DistortionEnable: 0
|
||||
- _DistortionScale: 1
|
||||
- _DistortionSrcBlend: 1
|
||||
- _DistortionVectorBias: -1
|
||||
- _DistortionVectorScale: 2
|
||||
- _DoubleSidedEnable: 0
|
||||
- _DoubleSidedNormalMode: 1
|
||||
- _DstBlend: 0
|
||||
- _DstBlendAlpha: 0
|
||||
- _EmissionStrength: 1
|
||||
- _EmissiveColorMode: 1
|
||||
- _EmissiveExposureWeight: 1
|
||||
- _EmissiveIntensity: 1
|
||||
- _EmissiveIntensityUnit: 0
|
||||
- _EnableBlendModePreserveSpecularLighting: 1
|
||||
- _EnableFogOnTransparent: 1
|
||||
- _EnableGeometricSpecularAA: 0
|
||||
- _EnableSpecularOcclusion: 0
|
||||
- _EnergyConservingSpecularColor: 1
|
||||
- _EnvironmentReflections: 0
|
||||
- _GlossMapScale: 1
|
||||
- _Glossiness: 0
|
||||
- _GlossyReflections: 0
|
||||
- _HdrpVersion: 2
|
||||
- _HeightAmplitude: 0.02
|
||||
- _HeightCenter: 0.5
|
||||
- _HeightMapParametrization: 0
|
||||
- _HeightMax: 1
|
||||
- _HeightMin: -1
|
||||
- _HeightOffset: 0
|
||||
- _HeightPoMAmplitude: 2
|
||||
- _HeightTessAmplitude: 2
|
||||
- _HeightTessCenter: 0.5
|
||||
- _InvTilingScale: 1
|
||||
- _Ior: 1
|
||||
- _IridescenceMask: 1
|
||||
- _IridescenceThickness: 1
|
||||
- _LinkDetailsWithBase: 1
|
||||
- _MaterialID: 1
|
||||
- _Metallic: 0
|
||||
- _Mode: 0
|
||||
- _NormalMapSpace: 0
|
||||
- _NormalScale: 1
|
||||
- _NormalStrength: 1
|
||||
- _OcclusionStrength: 1
|
||||
- _PPDLodThreshold: 5
|
||||
- _PPDMaxSamples: 15
|
||||
- _PPDMinSamples: 5
|
||||
- _PPDPrimitiveLength: 1
|
||||
- _PPDPrimitiveWidth: 1
|
||||
- _Parallax: 0.02
|
||||
- _QueueOffset: 0
|
||||
- _ReceiveShadows: 1
|
||||
- _ReceivesSSR: 1
|
||||
- _RefractionModel: 0
|
||||
- _SSRefractionProjectionModel: 0
|
||||
- _Smoothness: 0
|
||||
- _SmoothnessRemapMax: 1
|
||||
- _SmoothnessRemapMin: 0
|
||||
- _SmoothnessTextureChannel: 0
|
||||
- _SpecularAAScreenSpaceVariance: 0.1
|
||||
- _SpecularAAThreshold: 0.2
|
||||
- _SpecularHighlights: 0
|
||||
- _SrcBlend: 1
|
||||
- _SrcBlendAlpha: 1
|
||||
- _StencilRef: 2
|
||||
- _StencilRefDepth: 0
|
||||
- _StencilRefDistortionVec: 64
|
||||
- _StencilRefGBuffer: 2
|
||||
- _StencilRefMV: 128
|
||||
- _StencilWriteMask: 3
|
||||
- _StencilWriteMaskDepth: 48
|
||||
- _StencilWriteMaskDistortionVec: 64
|
||||
- _StencilWriteMaskGBuffer: 51
|
||||
- _StencilWriteMaskMV: 176
|
||||
- _SubsurfaceMask: 1
|
||||
- _SupportDecals: 1
|
||||
- _Surface: 0
|
||||
- _SurfaceType: 0
|
||||
- _TexWorldScale: 1
|
||||
- _TexWorldScaleEmissive: 1
|
||||
- _Thickness: 1
|
||||
- _ThicknessMultiplier: 1
|
||||
- _TransmissionEnable: 1
|
||||
- _TransparentBackfaceEnable: 0
|
||||
- _TransparentCullMode: 2
|
||||
- _TransparentDepthPostpassEnable: 0
|
||||
- _TransparentDepthPrepassEnable: 0
|
||||
- _TransparentSortPriority: 0
|
||||
- _TransparentWritingMotionVec: 0
|
||||
- _UVBase: 0
|
||||
- _UVDetail: 0
|
||||
- _UVEmissive: 0
|
||||
- _UVSec: 0
|
||||
- _UseDetail: 0
|
||||
- _UseEmission: 0
|
||||
- _UseEmissiveIntensity: 0
|
||||
- _UseMaskMap: 0
|
||||
- _UseShadowThreshold: 0
|
||||
- _WorkflowMode: 1
|
||||
- _ZTestDepthEqualForOpaque: 3
|
||||
- _ZTestGBuffer: 4
|
||||
- _ZTestModeDistortion: 4
|
||||
- _ZTestTransparent: 4
|
||||
- _ZWrite: 1
|
||||
m_Colors:
|
||||
- _BaseColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0}
|
||||
- _Color: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _DiffusionProfileAsset: {r: 0, g: 0, b: 0, a: 0}
|
||||
- _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0}
|
||||
- _EmissionColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _EmissiveColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _EmissiveColorLDR: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _InvPrimScale: {r: 1, g: 1, b: 0, a: 0}
|
||||
- _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0}
|
||||
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
|
||||
- _SpecularColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0}
|
||||
- _Tint: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0}
|
||||
- _UVMappingMask: {r: 1, g: 0, b: 0, a: 0}
|
||||
- _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0}
|
||||
m_BuildTextureStacks: []
|
||||
m_AllowLocking: 1
|
||||
--- !u!114 &4797866065896252781
|
||||
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: 10
|
||||
8
Assets/ThirdParty/Tiny Giant Studio/Modular 3D Text/Materials/MText_Black.mat.meta
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 323309279f3626a4ba74c611555546c5
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
348
Assets/ThirdParty/Tiny Giant Studio/Modular 3D Text/Materials/MText_Blue.mat
vendored
Normal file
@@ -0,0 +1,348 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &-754647917965971355
|
||||
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: 10
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 8
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: MText_Blue
|
||||
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
|
||||
m_Parent: {fileID: 0}
|
||||
m_ModifiedSerializedProperties: 0
|
||||
m_ValidKeywords: []
|
||||
m_InvalidKeywords:
|
||||
- _NORMALMAP_TANGENT_SPACE
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap:
|
||||
RenderType: Opaque
|
||||
disabledShaderPasses:
|
||||
- DistortionVectors
|
||||
- MOTIONVECTORS
|
||||
- TransparentDepthPrepass
|
||||
- TransparentDepthPostpass
|
||||
- TransparentBackface
|
||||
m_LockedProperties:
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _AnisotropyMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _BaseColorMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _BaseMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _BentNormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _BentNormalMapOS:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _CoatMaskMap:
|
||||
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}
|
||||
- _DetailMap:
|
||||
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}
|
||||
- _DistortionVectorMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissiveColorMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _HeightMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _IridescenceMaskMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _IridescenceThicknessMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MaskMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MetallicGlossMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _NormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _NormalMapOS:
|
||||
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}
|
||||
- _SpecularColorMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _SubsurfaceMaskMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _TangentMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _TangentMapOS:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _ThicknessMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _TransmittanceColorMap:
|
||||
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:
|
||||
- _AORemapMax: 1
|
||||
- _AORemapMin: 0
|
||||
- _ATDistance: 1
|
||||
- _AlbedoAffectEmissive: 0
|
||||
- _AlphaClip: 0
|
||||
- _AlphaCutoff: 0.5
|
||||
- _AlphaCutoffEnable: 0
|
||||
- _AlphaCutoffPostpass: 0.5
|
||||
- _AlphaCutoffPrepass: 0.5
|
||||
- _AlphaCutoffShadow: 0.5
|
||||
- _AlphaDstBlend: 0
|
||||
- _AlphaSrcBlend: 1
|
||||
- _AlphaToMask: 0
|
||||
- _Anisotropy: 0
|
||||
- _Blend: 0
|
||||
- _BlendMode: 0
|
||||
- _BlendModePreserveSpecular: 1
|
||||
- _BumpScale: 1
|
||||
- _ClearCoatMask: 0
|
||||
- _ClearCoatSmoothness: 0
|
||||
- _CoatMask: 0
|
||||
- _Cull: 2
|
||||
- _CullMode: 2
|
||||
- _CullModeForward: 2
|
||||
- _Cutoff: 0.5
|
||||
- _DepthOffsetEnable: 0
|
||||
- _DetailAlbedoMapScale: 1
|
||||
- _DetailAlbedoScale: 1
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DetailNormalScale: 1
|
||||
- _DetailSmoothnessScale: 1
|
||||
- _DiffusionProfile: 0
|
||||
- _DiffusionProfileHash: 0
|
||||
- _DisplacementLockObjectScale: 1
|
||||
- _DisplacementLockTilingScale: 1
|
||||
- _DisplacementMode: 0
|
||||
- _DistortionBlendMode: 0
|
||||
- _DistortionBlurBlendMode: 0
|
||||
- _DistortionBlurDstBlend: 1
|
||||
- _DistortionBlurRemapMax: 1
|
||||
- _DistortionBlurRemapMin: 0
|
||||
- _DistortionBlurScale: 1
|
||||
- _DistortionBlurSrcBlend: 1
|
||||
- _DistortionDepthTest: 1
|
||||
- _DistortionDstBlend: 1
|
||||
- _DistortionEnable: 0
|
||||
- _DistortionScale: 1
|
||||
- _DistortionSrcBlend: 1
|
||||
- _DistortionVectorBias: -1
|
||||
- _DistortionVectorScale: 2
|
||||
- _DoubleSidedEnable: 0
|
||||
- _DoubleSidedNormalMode: 1
|
||||
- _DstBlend: 0
|
||||
- _DstBlendAlpha: 0
|
||||
- _EmissiveColorMode: 1
|
||||
- _EmissiveExposureWeight: 1
|
||||
- _EmissiveIntensity: 1
|
||||
- _EmissiveIntensityUnit: 0
|
||||
- _EnableBlendModePreserveSpecularLighting: 1
|
||||
- _EnableFogOnTransparent: 1
|
||||
- _EnableGeometricSpecularAA: 0
|
||||
- _EnableSpecularOcclusion: 0
|
||||
- _EnergyConservingSpecularColor: 1
|
||||
- _EnvironmentReflections: 1
|
||||
- _GlossMapScale: 1
|
||||
- _Glossiness: 0.9
|
||||
- _GlossyReflections: 1
|
||||
- _HdrpVersion: 2
|
||||
- _HeightAmplitude: 0.02
|
||||
- _HeightCenter: 0.5
|
||||
- _HeightMapParametrization: 0
|
||||
- _HeightMax: 1
|
||||
- _HeightMin: -1
|
||||
- _HeightOffset: 0
|
||||
- _HeightPoMAmplitude: 2
|
||||
- _HeightTessAmplitude: 2
|
||||
- _HeightTessCenter: 0.5
|
||||
- _InvTilingScale: 1
|
||||
- _Ior: 1
|
||||
- _IridescenceMask: 1
|
||||
- _IridescenceThickness: 1
|
||||
- _LinkDetailsWithBase: 1
|
||||
- _MaterialID: 1
|
||||
- _Metallic: 0
|
||||
- _Mode: 0
|
||||
- _NormalMapSpace: 0
|
||||
- _NormalScale: 1
|
||||
- _OcclusionStrength: 1
|
||||
- _PPDLodThreshold: 5
|
||||
- _PPDMaxSamples: 15
|
||||
- _PPDMinSamples: 5
|
||||
- _PPDPrimitiveLength: 1
|
||||
- _PPDPrimitiveWidth: 1
|
||||
- _Parallax: 0.02
|
||||
- _QueueOffset: 0
|
||||
- _ReceiveShadows: 1
|
||||
- _ReceivesSSR: 1
|
||||
- _RefractionModel: 0
|
||||
- _SSRefractionProjectionModel: 0
|
||||
- _Smoothness: 0.9
|
||||
- _SmoothnessRemapMax: 1
|
||||
- _SmoothnessRemapMin: 0
|
||||
- _SmoothnessTextureChannel: 0
|
||||
- _SpecularAAScreenSpaceVariance: 0.1
|
||||
- _SpecularAAThreshold: 0.2
|
||||
- _SpecularHighlights: 1
|
||||
- _SrcBlend: 1
|
||||
- _SrcBlendAlpha: 1
|
||||
- _StencilRef: 2
|
||||
- _StencilRefDepth: 0
|
||||
- _StencilRefDistortionVec: 64
|
||||
- _StencilRefGBuffer: 2
|
||||
- _StencilRefMV: 128
|
||||
- _StencilWriteMask: 3
|
||||
- _StencilWriteMaskDepth: 48
|
||||
- _StencilWriteMaskDistortionVec: 64
|
||||
- _StencilWriteMaskGBuffer: 51
|
||||
- _StencilWriteMaskMV: 176
|
||||
- _SubsurfaceMask: 1
|
||||
- _SupportDecals: 1
|
||||
- _Surface: 0
|
||||
- _SurfaceType: 0
|
||||
- _TexWorldScale: 1
|
||||
- _TexWorldScaleEmissive: 1
|
||||
- _Thickness: 1
|
||||
- _ThicknessMultiplier: 1
|
||||
- _TransmissionEnable: 1
|
||||
- _TransparentBackfaceEnable: 0
|
||||
- _TransparentCullMode: 2
|
||||
- _TransparentDepthPostpassEnable: 0
|
||||
- _TransparentDepthPrepassEnable: 0
|
||||
- _TransparentSortPriority: 0
|
||||
- _TransparentWritingMotionVec: 0
|
||||
- _UVBase: 0
|
||||
- _UVDetail: 0
|
||||
- _UVEmissive: 0
|
||||
- _UVSec: 0
|
||||
- _UseEmissiveIntensity: 0
|
||||
- _UseShadowThreshold: 0
|
||||
- _WorkflowMode: 1
|
||||
- _ZTestDepthEqualForOpaque: 3
|
||||
- _ZTestGBuffer: 4
|
||||
- _ZTestModeDistortion: 4
|
||||
- _ZTestTransparent: 4
|
||||
- _ZWrite: 1
|
||||
m_Colors:
|
||||
- _BaseColor: {r: 0.13995191, g: 0.4217216, b: 0.8018868, a: 1}
|
||||
- _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0}
|
||||
- _Color: {r: 0.13995188, g: 0.42172158, b: 0.8018868, a: 1}
|
||||
- _DiffusionProfileAsset: {r: 0, g: 0, b: 0, a: 0}
|
||||
- _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0}
|
||||
- _EmissionColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _EmissiveColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _EmissiveColorLDR: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _InvPrimScale: {r: 1, g: 1, b: 0, a: 0}
|
||||
- _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0}
|
||||
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
|
||||
- _SpecularColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0}
|
||||
- _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0}
|
||||
- _UVMappingMask: {r: 1, g: 0, b: 0, a: 0}
|
||||
- _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0}
|
||||
m_BuildTextureStacks: []
|
||||
m_AllowLocking: 1
|
||||
8
Assets/ThirdParty/Tiny Giant Studio/Modular 3D Text/Materials/MText_Blue.mat.meta
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b2b6c5f04ab123a49941855cbdf9a358
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
361
Assets/ThirdParty/Tiny Giant Studio/Modular 3D Text/Materials/MText_Green.mat
vendored
Normal file
@@ -0,0 +1,361 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 8
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: MText_Green
|
||||
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
|
||||
m_Parent: {fileID: 0}
|
||||
m_ModifiedSerializedProperties: 0
|
||||
m_ValidKeywords: []
|
||||
m_InvalidKeywords:
|
||||
- _NORMALMAP_TANGENT_SPACE
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap:
|
||||
RenderType: Opaque
|
||||
disabledShaderPasses:
|
||||
- DistortionVectors
|
||||
- MOTIONVECTORS
|
||||
- TransparentDepthPrepass
|
||||
- TransparentDepthPostpass
|
||||
- TransparentBackface
|
||||
m_LockedProperties:
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _AlbedoMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _AnisotropyMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _BaseColorMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _BaseMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _BentNormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _BentNormalMapOS:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _CoatMaskMap:
|
||||
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}
|
||||
- _DetailMap:
|
||||
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}
|
||||
- _DistortionVectorMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissiveColorMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _HeightMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _IridescenceMaskMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _IridescenceThicknessMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MaskMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MetallicGlossMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _NormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _NormalMapOS:
|
||||
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}
|
||||
- _SpecularColorMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _SubsurfaceMaskMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _TangentMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _TangentMapOS:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _ThicknessMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _TransmittanceColorMap:
|
||||
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:
|
||||
- _AORemapMax: 1
|
||||
- _AORemapMin: 0
|
||||
- _ATDistance: 1
|
||||
- _AlbedoAffectEmissive: 0
|
||||
- _AlphaClip: 0
|
||||
- _AlphaCutoff: 0.5
|
||||
- _AlphaCutoffEnable: 0
|
||||
- _AlphaCutoffPostpass: 0.5
|
||||
- _AlphaCutoffPrepass: 0.5
|
||||
- _AlphaCutoffShadow: 0.5
|
||||
- _AlphaDstBlend: 0
|
||||
- _AlphaSrcBlend: 1
|
||||
- _AlphaToMask: 0
|
||||
- _Anisotropy: 0
|
||||
- _Blend: 0
|
||||
- _BlendMode: 0
|
||||
- _BlendModePreserveSpecular: 1
|
||||
- _BumpScale: 1
|
||||
- _ClearCoatMask: 0
|
||||
- _ClearCoatSmoothness: 0
|
||||
- _CoatMask: 0
|
||||
- _Cull: 2
|
||||
- _CullMode: 2
|
||||
- _CullModeForward: 2
|
||||
- _Cutoff: 0.5
|
||||
- _DepthOffsetEnable: 0
|
||||
- _DetailAlbedoMapScale: 1
|
||||
- _DetailAlbedoScale: 1
|
||||
- _DetailAlbedoStrength: 1
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DetailNormalScale: 1
|
||||
- _DetailNormalStrength: 1
|
||||
- _DetailSmoothnessScale: 1
|
||||
- _DetailSmoothnessStrength: 1
|
||||
- _DiffusionProfile: 0
|
||||
- _DiffusionProfileHash: 0
|
||||
- _DisplacementLockObjectScale: 1
|
||||
- _DisplacementLockTilingScale: 1
|
||||
- _DisplacementMode: 0
|
||||
- _DistortionBlendMode: 0
|
||||
- _DistortionBlurBlendMode: 0
|
||||
- _DistortionBlurDstBlend: 1
|
||||
- _DistortionBlurRemapMax: 1
|
||||
- _DistortionBlurRemapMin: 0
|
||||
- _DistortionBlurScale: 1
|
||||
- _DistortionBlurSrcBlend: 1
|
||||
- _DistortionDepthTest: 1
|
||||
- _DistortionDstBlend: 1
|
||||
- _DistortionEnable: 0
|
||||
- _DistortionScale: 1
|
||||
- _DistortionSrcBlend: 1
|
||||
- _DistortionVectorBias: -1
|
||||
- _DistortionVectorScale: 2
|
||||
- _DoubleSidedEnable: 0
|
||||
- _DoubleSidedNormalMode: 1
|
||||
- _DstBlend: 0
|
||||
- _DstBlendAlpha: 0
|
||||
- _EmissionStrength: 1
|
||||
- _EmissiveColorMode: 1
|
||||
- _EmissiveExposureWeight: 1
|
||||
- _EmissiveIntensity: 1
|
||||
- _EmissiveIntensityUnit: 0
|
||||
- _EnableBlendModePreserveSpecularLighting: 1
|
||||
- _EnableFogOnTransparent: 1
|
||||
- _EnableGeometricSpecularAA: 0
|
||||
- _EnableSpecularOcclusion: 0
|
||||
- _EnergyConservingSpecularColor: 1
|
||||
- _EnvironmentReflections: 1
|
||||
- _GlossMapScale: 1
|
||||
- _Glossiness: 0.9
|
||||
- _GlossyReflections: 1
|
||||
- _HdrpVersion: 2
|
||||
- _HeightAmplitude: 0.02
|
||||
- _HeightCenter: 0.5
|
||||
- _HeightMapParametrization: 0
|
||||
- _HeightMax: 1
|
||||
- _HeightMin: -1
|
||||
- _HeightOffset: 0
|
||||
- _HeightPoMAmplitude: 2
|
||||
- _HeightTessAmplitude: 2
|
||||
- _HeightTessCenter: 0.5
|
||||
- _InvTilingScale: 1
|
||||
- _Ior: 1
|
||||
- _IridescenceMask: 1
|
||||
- _IridescenceThickness: 1
|
||||
- _LinkDetailsWithBase: 1
|
||||
- _MaterialID: 1
|
||||
- _Metallic: 0
|
||||
- _Mode: 0
|
||||
- _NormalMapSpace: 0
|
||||
- _NormalScale: 1
|
||||
- _NormalStrength: 1
|
||||
- _OcclusionStrength: 1
|
||||
- _PPDLodThreshold: 5
|
||||
- _PPDMaxSamples: 15
|
||||
- _PPDMinSamples: 5
|
||||
- _PPDPrimitiveLength: 1
|
||||
- _PPDPrimitiveWidth: 1
|
||||
- _Parallax: 0.02
|
||||
- _QueueOffset: 0
|
||||
- _ReceiveShadows: 1
|
||||
- _ReceivesSSR: 1
|
||||
- _RefractionModel: 0
|
||||
- _SSRefractionProjectionModel: 0
|
||||
- _Smoothness: 0.9
|
||||
- _SmoothnessRemapMax: 1
|
||||
- _SmoothnessRemapMin: 0
|
||||
- _SmoothnessTextureChannel: 0
|
||||
- _SpecularAAScreenSpaceVariance: 0.1
|
||||
- _SpecularAAThreshold: 0.2
|
||||
- _SpecularHighlights: 1
|
||||
- _SrcBlend: 1
|
||||
- _SrcBlendAlpha: 1
|
||||
- _StencilRef: 2
|
||||
- _StencilRefDepth: 0
|
||||
- _StencilRefDistortionVec: 64
|
||||
- _StencilRefGBuffer: 2
|
||||
- _StencilRefMV: 128
|
||||
- _StencilWriteMask: 3
|
||||
- _StencilWriteMaskDepth: 48
|
||||
- _StencilWriteMaskDistortionVec: 64
|
||||
- _StencilWriteMaskGBuffer: 51
|
||||
- _StencilWriteMaskMV: 176
|
||||
- _SubsurfaceMask: 1
|
||||
- _SupportDecals: 1
|
||||
- _Surface: 0
|
||||
- _SurfaceType: 0
|
||||
- _TexWorldScale: 1
|
||||
- _TexWorldScaleEmissive: 1
|
||||
- _Thickness: 1
|
||||
- _ThicknessMultiplier: 1
|
||||
- _TransmissionEnable: 1
|
||||
- _TransparentBackfaceEnable: 0
|
||||
- _TransparentCullMode: 2
|
||||
- _TransparentDepthPostpassEnable: 0
|
||||
- _TransparentDepthPrepassEnable: 0
|
||||
- _TransparentSortPriority: 0
|
||||
- _TransparentWritingMotionVec: 0
|
||||
- _UVBase: 0
|
||||
- _UVDetail: 0
|
||||
- _UVEmissive: 0
|
||||
- _UVSec: 0
|
||||
- _UseDetail: 0
|
||||
- _UseEmission: 0
|
||||
- _UseEmissiveIntensity: 0
|
||||
- _UseMaskMap: 0
|
||||
- _UseShadowThreshold: 0
|
||||
- _WorkflowMode: 1
|
||||
- _ZTestDepthEqualForOpaque: 3
|
||||
- _ZTestGBuffer: 4
|
||||
- _ZTestModeDistortion: 4
|
||||
- _ZTestTransparent: 4
|
||||
- _ZWrite: 1
|
||||
m_Colors:
|
||||
- _BaseColor: {r: 0.20100835, g: 0.6132076, b: 0.14751688, a: 1}
|
||||
- _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0}
|
||||
- _Color: {r: 0.20100832, g: 0.6132076, b: 0.14751685, a: 1}
|
||||
- _DiffusionProfileAsset: {r: 0, g: 0, b: 0, a: 0}
|
||||
- _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0}
|
||||
- _EmissionColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _EmissiveColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _EmissiveColorLDR: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _InvPrimScale: {r: 1, g: 1, b: 0, a: 0}
|
||||
- _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0}
|
||||
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
|
||||
- _SpecularColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0}
|
||||
- _Tint: {r: 0.16594814, g: 0.41509432, b: 0.13510145, a: 1}
|
||||
- _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0}
|
||||
- _UVMappingMask: {r: 1, g: 0, b: 0, a: 0}
|
||||
- _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0}
|
||||
m_BuildTextureStacks: []
|
||||
m_AllowLocking: 1
|
||||
--- !u!114 &7107813984871110422
|
||||
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: 10
|
||||
8
Assets/ThirdParty/Tiny Giant Studio/Modular 3D Text/Materials/MText_Green.mat.meta
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c7865e25676eaec4db7e7f4bd829633b
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
348
Assets/ThirdParty/Tiny Giant Studio/Modular 3D Text/Materials/MText_Grey Dark.mat
vendored
Normal file
@@ -0,0 +1,348 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 8
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: MText_Grey Dark
|
||||
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
|
||||
m_Parent: {fileID: 0}
|
||||
m_ModifiedSerializedProperties: 0
|
||||
m_ValidKeywords: []
|
||||
m_InvalidKeywords:
|
||||
- _NORMALMAP_TANGENT_SPACE
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap:
|
||||
RenderType: Opaque
|
||||
disabledShaderPasses:
|
||||
- DistortionVectors
|
||||
- MOTIONVECTORS
|
||||
- TransparentDepthPrepass
|
||||
- TransparentDepthPostpass
|
||||
- TransparentBackface
|
||||
m_LockedProperties:
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _AnisotropyMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _BaseColorMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _BaseMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _BentNormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _BentNormalMapOS:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _CoatMaskMap:
|
||||
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}
|
||||
- _DetailMap:
|
||||
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}
|
||||
- _DistortionVectorMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissiveColorMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _HeightMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _IridescenceMaskMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _IridescenceThicknessMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MaskMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MetallicGlossMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _NormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _NormalMapOS:
|
||||
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}
|
||||
- _SpecularColorMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _SubsurfaceMaskMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _TangentMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _TangentMapOS:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _ThicknessMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _TransmittanceColorMap:
|
||||
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:
|
||||
- _AORemapMax: 1
|
||||
- _AORemapMin: 0
|
||||
- _ATDistance: 1
|
||||
- _AlbedoAffectEmissive: 0
|
||||
- _AlphaClip: 0
|
||||
- _AlphaCutoff: 0.5
|
||||
- _AlphaCutoffEnable: 0
|
||||
- _AlphaCutoffPostpass: 0.5
|
||||
- _AlphaCutoffPrepass: 0.5
|
||||
- _AlphaCutoffShadow: 0.5
|
||||
- _AlphaDstBlend: 0
|
||||
- _AlphaSrcBlend: 1
|
||||
- _AlphaToMask: 0
|
||||
- _Anisotropy: 0
|
||||
- _Blend: 0
|
||||
- _BlendMode: 0
|
||||
- _BlendModePreserveSpecular: 1
|
||||
- _BumpScale: 1
|
||||
- _ClearCoatMask: 0
|
||||
- _ClearCoatSmoothness: 0
|
||||
- _CoatMask: 0
|
||||
- _Cull: 2
|
||||
- _CullMode: 2
|
||||
- _CullModeForward: 2
|
||||
- _Cutoff: 0.5
|
||||
- _DepthOffsetEnable: 0
|
||||
- _DetailAlbedoMapScale: 1
|
||||
- _DetailAlbedoScale: 1
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DetailNormalScale: 1
|
||||
- _DetailSmoothnessScale: 1
|
||||
- _DiffusionProfile: 0
|
||||
- _DiffusionProfileHash: 0
|
||||
- _DisplacementLockObjectScale: 1
|
||||
- _DisplacementLockTilingScale: 1
|
||||
- _DisplacementMode: 0
|
||||
- _DistortionBlendMode: 0
|
||||
- _DistortionBlurBlendMode: 0
|
||||
- _DistortionBlurDstBlend: 1
|
||||
- _DistortionBlurRemapMax: 1
|
||||
- _DistortionBlurRemapMin: 0
|
||||
- _DistortionBlurScale: 1
|
||||
- _DistortionBlurSrcBlend: 1
|
||||
- _DistortionDepthTest: 1
|
||||
- _DistortionDstBlend: 1
|
||||
- _DistortionEnable: 0
|
||||
- _DistortionScale: 1
|
||||
- _DistortionSrcBlend: 1
|
||||
- _DistortionVectorBias: -1
|
||||
- _DistortionVectorScale: 2
|
||||
- _DoubleSidedEnable: 0
|
||||
- _DoubleSidedNormalMode: 1
|
||||
- _DstBlend: 0
|
||||
- _DstBlendAlpha: 0
|
||||
- _EmissiveColorMode: 1
|
||||
- _EmissiveExposureWeight: 1
|
||||
- _EmissiveIntensity: 1
|
||||
- _EmissiveIntensityUnit: 0
|
||||
- _EnableBlendModePreserveSpecularLighting: 1
|
||||
- _EnableFogOnTransparent: 1
|
||||
- _EnableGeometricSpecularAA: 0
|
||||
- _EnableSpecularOcclusion: 0
|
||||
- _EnergyConservingSpecularColor: 1
|
||||
- _EnvironmentReflections: 1
|
||||
- _GlossMapScale: 1
|
||||
- _Glossiness: 0.9
|
||||
- _GlossyReflections: 1
|
||||
- _HdrpVersion: 2
|
||||
- _HeightAmplitude: 0.02
|
||||
- _HeightCenter: 0.5
|
||||
- _HeightMapParametrization: 0
|
||||
- _HeightMax: 1
|
||||
- _HeightMin: -1
|
||||
- _HeightOffset: 0
|
||||
- _HeightPoMAmplitude: 2
|
||||
- _HeightTessAmplitude: 2
|
||||
- _HeightTessCenter: 0.5
|
||||
- _InvTilingScale: 1
|
||||
- _Ior: 1
|
||||
- _IridescenceMask: 1
|
||||
- _IridescenceThickness: 1
|
||||
- _LinkDetailsWithBase: 1
|
||||
- _MaterialID: 1
|
||||
- _Metallic: 0
|
||||
- _Mode: 0
|
||||
- _NormalMapSpace: 0
|
||||
- _NormalScale: 1
|
||||
- _OcclusionStrength: 1
|
||||
- _PPDLodThreshold: 5
|
||||
- _PPDMaxSamples: 15
|
||||
- _PPDMinSamples: 5
|
||||
- _PPDPrimitiveLength: 1
|
||||
- _PPDPrimitiveWidth: 1
|
||||
- _Parallax: 0.02
|
||||
- _QueueOffset: 0
|
||||
- _ReceiveShadows: 1
|
||||
- _ReceivesSSR: 1
|
||||
- _RefractionModel: 0
|
||||
- _SSRefractionProjectionModel: 0
|
||||
- _Smoothness: 0.9
|
||||
- _SmoothnessRemapMax: 1
|
||||
- _SmoothnessRemapMin: 0
|
||||
- _SmoothnessTextureChannel: 0
|
||||
- _SpecularAAScreenSpaceVariance: 0.1
|
||||
- _SpecularAAThreshold: 0.2
|
||||
- _SpecularHighlights: 1
|
||||
- _SrcBlend: 1
|
||||
- _SrcBlendAlpha: 1
|
||||
- _StencilRef: 2
|
||||
- _StencilRefDepth: 0
|
||||
- _StencilRefDistortionVec: 64
|
||||
- _StencilRefGBuffer: 2
|
||||
- _StencilRefMV: 128
|
||||
- _StencilWriteMask: 3
|
||||
- _StencilWriteMaskDepth: 48
|
||||
- _StencilWriteMaskDistortionVec: 64
|
||||
- _StencilWriteMaskGBuffer: 51
|
||||
- _StencilWriteMaskMV: 176
|
||||
- _SubsurfaceMask: 1
|
||||
- _SupportDecals: 1
|
||||
- _Surface: 0
|
||||
- _SurfaceType: 0
|
||||
- _TexWorldScale: 1
|
||||
- _TexWorldScaleEmissive: 1
|
||||
- _Thickness: 1
|
||||
- _ThicknessMultiplier: 1
|
||||
- _TransmissionEnable: 1
|
||||
- _TransparentBackfaceEnable: 0
|
||||
- _TransparentCullMode: 2
|
||||
- _TransparentDepthPostpassEnable: 0
|
||||
- _TransparentDepthPrepassEnable: 0
|
||||
- _TransparentSortPriority: 0
|
||||
- _TransparentWritingMotionVec: 0
|
||||
- _UVBase: 0
|
||||
- _UVDetail: 0
|
||||
- _UVEmissive: 0
|
||||
- _UVSec: 0
|
||||
- _UseEmissiveIntensity: 0
|
||||
- _UseShadowThreshold: 0
|
||||
- _WorkflowMode: 1
|
||||
- _ZTestDepthEqualForOpaque: 3
|
||||
- _ZTestGBuffer: 4
|
||||
- _ZTestModeDistortion: 4
|
||||
- _ZTestTransparent: 4
|
||||
- _ZWrite: 1
|
||||
m_Colors:
|
||||
- _BaseColor: {r: 0.3059807, g: 0.32280162, b: 0.3396226, a: 1}
|
||||
- _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0}
|
||||
- _Color: {r: 0.30598068, g: 0.3228016, b: 0.33962256, a: 1}
|
||||
- _DiffusionProfileAsset: {r: 0, g: 0, b: 0, a: 0}
|
||||
- _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0}
|
||||
- _EmissionColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _EmissiveColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _EmissiveColorLDR: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _InvPrimScale: {r: 1, g: 1, b: 0, a: 0}
|
||||
- _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0}
|
||||
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
|
||||
- _SpecularColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0}
|
||||
- _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0}
|
||||
- _UVMappingMask: {r: 1, g: 0, b: 0, a: 0}
|
||||
- _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0}
|
||||
m_BuildTextureStacks: []
|
||||
m_AllowLocking: 1
|
||||
--- !u!114 &3035581460387152940
|
||||
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: 10
|
||||
8
Assets/ThirdParty/Tiny Giant Studio/Modular 3D Text/Materials/MText_Grey Dark.mat.meta
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c958ce690de9a0841b7b2d7f597ac79a
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
348
Assets/ThirdParty/Tiny Giant Studio/Modular 3D Text/Materials/MText_Grey.mat
vendored
Normal file
@@ -0,0 +1,348 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 8
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: MText_Grey
|
||||
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
|
||||
m_Parent: {fileID: 0}
|
||||
m_ModifiedSerializedProperties: 0
|
||||
m_ValidKeywords: []
|
||||
m_InvalidKeywords:
|
||||
- _NORMALMAP_TANGENT_SPACE
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap:
|
||||
RenderType: Opaque
|
||||
disabledShaderPasses:
|
||||
- DistortionVectors
|
||||
- MOTIONVECTORS
|
||||
- TransparentDepthPrepass
|
||||
- TransparentDepthPostpass
|
||||
- TransparentBackface
|
||||
m_LockedProperties:
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _AnisotropyMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _BaseColorMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _BaseMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _BentNormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _BentNormalMapOS:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _CoatMaskMap:
|
||||
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}
|
||||
- _DetailMap:
|
||||
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}
|
||||
- _DistortionVectorMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissiveColorMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _HeightMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _IridescenceMaskMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _IridescenceThicknessMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MaskMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MetallicGlossMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _NormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _NormalMapOS:
|
||||
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}
|
||||
- _SpecularColorMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _SubsurfaceMaskMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _TangentMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _TangentMapOS:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _ThicknessMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _TransmittanceColorMap:
|
||||
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:
|
||||
- _AORemapMax: 1
|
||||
- _AORemapMin: 0
|
||||
- _ATDistance: 1
|
||||
- _AlbedoAffectEmissive: 0
|
||||
- _AlphaClip: 0
|
||||
- _AlphaCutoff: 0.5
|
||||
- _AlphaCutoffEnable: 0
|
||||
- _AlphaCutoffPostpass: 0.5
|
||||
- _AlphaCutoffPrepass: 0.5
|
||||
- _AlphaCutoffShadow: 0.5
|
||||
- _AlphaDstBlend: 0
|
||||
- _AlphaSrcBlend: 1
|
||||
- _AlphaToMask: 0
|
||||
- _Anisotropy: 0
|
||||
- _Blend: 0
|
||||
- _BlendMode: 0
|
||||
- _BlendModePreserveSpecular: 1
|
||||
- _BumpScale: 1
|
||||
- _ClearCoatMask: 0
|
||||
- _ClearCoatSmoothness: 0
|
||||
- _CoatMask: 0
|
||||
- _Cull: 2
|
||||
- _CullMode: 2
|
||||
- _CullModeForward: 2
|
||||
- _Cutoff: 0.5
|
||||
- _DepthOffsetEnable: 0
|
||||
- _DetailAlbedoMapScale: 1
|
||||
- _DetailAlbedoScale: 1
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DetailNormalScale: 1
|
||||
- _DetailSmoothnessScale: 1
|
||||
- _DiffusionProfile: 0
|
||||
- _DiffusionProfileHash: 0
|
||||
- _DisplacementLockObjectScale: 1
|
||||
- _DisplacementLockTilingScale: 1
|
||||
- _DisplacementMode: 0
|
||||
- _DistortionBlendMode: 0
|
||||
- _DistortionBlurBlendMode: 0
|
||||
- _DistortionBlurDstBlend: 1
|
||||
- _DistortionBlurRemapMax: 1
|
||||
- _DistortionBlurRemapMin: 0
|
||||
- _DistortionBlurScale: 1
|
||||
- _DistortionBlurSrcBlend: 1
|
||||
- _DistortionDepthTest: 1
|
||||
- _DistortionDstBlend: 1
|
||||
- _DistortionEnable: 0
|
||||
- _DistortionScale: 1
|
||||
- _DistortionSrcBlend: 1
|
||||
- _DistortionVectorBias: -1
|
||||
- _DistortionVectorScale: 2
|
||||
- _DoubleSidedEnable: 0
|
||||
- _DoubleSidedNormalMode: 1
|
||||
- _DstBlend: 0
|
||||
- _DstBlendAlpha: 0
|
||||
- _EmissiveColorMode: 1
|
||||
- _EmissiveExposureWeight: 1
|
||||
- _EmissiveIntensity: 1
|
||||
- _EmissiveIntensityUnit: 0
|
||||
- _EnableBlendModePreserveSpecularLighting: 1
|
||||
- _EnableFogOnTransparent: 1
|
||||
- _EnableGeometricSpecularAA: 0
|
||||
- _EnableSpecularOcclusion: 0
|
||||
- _EnergyConservingSpecularColor: 1
|
||||
- _EnvironmentReflections: 1
|
||||
- _GlossMapScale: 1
|
||||
- _Glossiness: 0.9
|
||||
- _GlossyReflections: 1
|
||||
- _HdrpVersion: 2
|
||||
- _HeightAmplitude: 0.02
|
||||
- _HeightCenter: 0.5
|
||||
- _HeightMapParametrization: 0
|
||||
- _HeightMax: 1
|
||||
- _HeightMin: -1
|
||||
- _HeightOffset: 0
|
||||
- _HeightPoMAmplitude: 2
|
||||
- _HeightTessAmplitude: 2
|
||||
- _HeightTessCenter: 0.5
|
||||
- _InvTilingScale: 1
|
||||
- _Ior: 1
|
||||
- _IridescenceMask: 1
|
||||
- _IridescenceThickness: 1
|
||||
- _LinkDetailsWithBase: 1
|
||||
- _MaterialID: 1
|
||||
- _Metallic: 0
|
||||
- _Mode: 0
|
||||
- _NormalMapSpace: 0
|
||||
- _NormalScale: 1
|
||||
- _OcclusionStrength: 1
|
||||
- _PPDLodThreshold: 5
|
||||
- _PPDMaxSamples: 15
|
||||
- _PPDMinSamples: 5
|
||||
- _PPDPrimitiveLength: 1
|
||||
- _PPDPrimitiveWidth: 1
|
||||
- _Parallax: 0.02
|
||||
- _QueueOffset: 0
|
||||
- _ReceiveShadows: 1
|
||||
- _ReceivesSSR: 1
|
||||
- _RefractionModel: 0
|
||||
- _SSRefractionProjectionModel: 0
|
||||
- _Smoothness: 0.9
|
||||
- _SmoothnessRemapMax: 1
|
||||
- _SmoothnessRemapMin: 0
|
||||
- _SmoothnessTextureChannel: 0
|
||||
- _SpecularAAScreenSpaceVariance: 0.1
|
||||
- _SpecularAAThreshold: 0.2
|
||||
- _SpecularHighlights: 1
|
||||
- _SrcBlend: 1
|
||||
- _SrcBlendAlpha: 1
|
||||
- _StencilRef: 2
|
||||
- _StencilRefDepth: 0
|
||||
- _StencilRefDistortionVec: 64
|
||||
- _StencilRefGBuffer: 2
|
||||
- _StencilRefMV: 128
|
||||
- _StencilWriteMask: 3
|
||||
- _StencilWriteMaskDepth: 48
|
||||
- _StencilWriteMaskDistortionVec: 64
|
||||
- _StencilWriteMaskGBuffer: 51
|
||||
- _StencilWriteMaskMV: 176
|
||||
- _SubsurfaceMask: 1
|
||||
- _SupportDecals: 1
|
||||
- _Surface: 0
|
||||
- _SurfaceType: 0
|
||||
- _TexWorldScale: 1
|
||||
- _TexWorldScaleEmissive: 1
|
||||
- _Thickness: 1
|
||||
- _ThicknessMultiplier: 1
|
||||
- _TransmissionEnable: 1
|
||||
- _TransparentBackfaceEnable: 0
|
||||
- _TransparentCullMode: 2
|
||||
- _TransparentDepthPostpassEnable: 0
|
||||
- _TransparentDepthPrepassEnable: 0
|
||||
- _TransparentSortPriority: 0
|
||||
- _TransparentWritingMotionVec: 0
|
||||
- _UVBase: 0
|
||||
- _UVDetail: 0
|
||||
- _UVEmissive: 0
|
||||
- _UVSec: 0
|
||||
- _UseEmissiveIntensity: 0
|
||||
- _UseShadowThreshold: 0
|
||||
- _WorkflowMode: 1
|
||||
- _ZTestDepthEqualForOpaque: 3
|
||||
- _ZTestGBuffer: 4
|
||||
- _ZTestModeDistortion: 4
|
||||
- _ZTestTransparent: 4
|
||||
- _ZWrite: 1
|
||||
m_Colors:
|
||||
- _BaseColor: {r: 0.3396226, g: 0.3396226, b: 0.3396226, a: 1}
|
||||
- _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0}
|
||||
- _Color: {r: 0.33962256, g: 0.33962256, b: 0.33962256, a: 1}
|
||||
- _DiffusionProfileAsset: {r: 0, g: 0, b: 0, a: 0}
|
||||
- _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0}
|
||||
- _EmissionColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _EmissiveColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _EmissiveColorLDR: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _InvPrimScale: {r: 1, g: 1, b: 0, a: 0}
|
||||
- _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0}
|
||||
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
|
||||
- _SpecularColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0}
|
||||
- _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0}
|
||||
- _UVMappingMask: {r: 1, g: 0, b: 0, a: 0}
|
||||
- _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0}
|
||||
m_BuildTextureStacks: []
|
||||
m_AllowLocking: 1
|
||||
--- !u!114 &901620558970162410
|
||||
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: 10
|
||||
8
Assets/ThirdParty/Tiny Giant Studio/Modular 3D Text/Materials/MText_Grey.mat.meta
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b1b4721719ff98b4abf45943c7e47451
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
348
Assets/ThirdParty/Tiny Giant Studio/Modular 3D Text/Materials/MText_Red.mat
vendored
Normal file
@@ -0,0 +1,348 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &-6267457440488477271
|
||||
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: 10
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 8
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: MText_Red
|
||||
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
|
||||
m_Parent: {fileID: 0}
|
||||
m_ModifiedSerializedProperties: 0
|
||||
m_ValidKeywords: []
|
||||
m_InvalidKeywords:
|
||||
- _NORMALMAP_TANGENT_SPACE
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap:
|
||||
RenderType: Opaque
|
||||
disabledShaderPasses:
|
||||
- DistortionVectors
|
||||
- MOTIONVECTORS
|
||||
- TransparentDepthPrepass
|
||||
- TransparentDepthPostpass
|
||||
- TransparentBackface
|
||||
m_LockedProperties:
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _AnisotropyMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _BaseColorMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _BaseMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _BentNormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _BentNormalMapOS:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _CoatMaskMap:
|
||||
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}
|
||||
- _DetailMap:
|
||||
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}
|
||||
- _DistortionVectorMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissiveColorMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _HeightMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _IridescenceMaskMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _IridescenceThicknessMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MaskMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MetallicGlossMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _NormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _NormalMapOS:
|
||||
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}
|
||||
- _SpecularColorMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _SubsurfaceMaskMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _TangentMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _TangentMapOS:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _ThicknessMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _TransmittanceColorMap:
|
||||
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:
|
||||
- _AORemapMax: 1
|
||||
- _AORemapMin: 0
|
||||
- _ATDistance: 1
|
||||
- _AlbedoAffectEmissive: 0
|
||||
- _AlphaClip: 0
|
||||
- _AlphaCutoff: 0.5
|
||||
- _AlphaCutoffEnable: 0
|
||||
- _AlphaCutoffPostpass: 0.5
|
||||
- _AlphaCutoffPrepass: 0.5
|
||||
- _AlphaCutoffShadow: 0.5
|
||||
- _AlphaDstBlend: 0
|
||||
- _AlphaSrcBlend: 1
|
||||
- _AlphaToMask: 0
|
||||
- _Anisotropy: 0
|
||||
- _Blend: 0
|
||||
- _BlendMode: 0
|
||||
- _BlendModePreserveSpecular: 1
|
||||
- _BumpScale: 1
|
||||
- _ClearCoatMask: 0
|
||||
- _ClearCoatSmoothness: 0
|
||||
- _CoatMask: 0
|
||||
- _Cull: 2
|
||||
- _CullMode: 2
|
||||
- _CullModeForward: 2
|
||||
- _Cutoff: 0.5
|
||||
- _DepthOffsetEnable: 0
|
||||
- _DetailAlbedoMapScale: 1
|
||||
- _DetailAlbedoScale: 1
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DetailNormalScale: 1
|
||||
- _DetailSmoothnessScale: 1
|
||||
- _DiffusionProfile: 0
|
||||
- _DiffusionProfileHash: 0
|
||||
- _DisplacementLockObjectScale: 1
|
||||
- _DisplacementLockTilingScale: 1
|
||||
- _DisplacementMode: 0
|
||||
- _DistortionBlendMode: 0
|
||||
- _DistortionBlurBlendMode: 0
|
||||
- _DistortionBlurDstBlend: 1
|
||||
- _DistortionBlurRemapMax: 1
|
||||
- _DistortionBlurRemapMin: 0
|
||||
- _DistortionBlurScale: 1
|
||||
- _DistortionBlurSrcBlend: 1
|
||||
- _DistortionDepthTest: 1
|
||||
- _DistortionDstBlend: 1
|
||||
- _DistortionEnable: 0
|
||||
- _DistortionScale: 1
|
||||
- _DistortionSrcBlend: 1
|
||||
- _DistortionVectorBias: -1
|
||||
- _DistortionVectorScale: 2
|
||||
- _DoubleSidedEnable: 0
|
||||
- _DoubleSidedNormalMode: 1
|
||||
- _DstBlend: 0
|
||||
- _DstBlendAlpha: 0
|
||||
- _EmissiveColorMode: 1
|
||||
- _EmissiveExposureWeight: 1
|
||||
- _EmissiveIntensity: 1
|
||||
- _EmissiveIntensityUnit: 0
|
||||
- _EnableBlendModePreserveSpecularLighting: 1
|
||||
- _EnableFogOnTransparent: 1
|
||||
- _EnableGeometricSpecularAA: 0
|
||||
- _EnableSpecularOcclusion: 0
|
||||
- _EnergyConservingSpecularColor: 1
|
||||
- _EnvironmentReflections: 1
|
||||
- _GlossMapScale: 1
|
||||
- _Glossiness: 0.9
|
||||
- _GlossyReflections: 1
|
||||
- _HdrpVersion: 2
|
||||
- _HeightAmplitude: 0.02
|
||||
- _HeightCenter: 0.5
|
||||
- _HeightMapParametrization: 0
|
||||
- _HeightMax: 1
|
||||
- _HeightMin: -1
|
||||
- _HeightOffset: 0
|
||||
- _HeightPoMAmplitude: 2
|
||||
- _HeightTessAmplitude: 2
|
||||
- _HeightTessCenter: 0.5
|
||||
- _InvTilingScale: 1
|
||||
- _Ior: 1
|
||||
- _IridescenceMask: 1
|
||||
- _IridescenceThickness: 1
|
||||
- _LinkDetailsWithBase: 1
|
||||
- _MaterialID: 1
|
||||
- _Metallic: 0
|
||||
- _Mode: 0
|
||||
- _NormalMapSpace: 0
|
||||
- _NormalScale: 1
|
||||
- _OcclusionStrength: 1
|
||||
- _PPDLodThreshold: 5
|
||||
- _PPDMaxSamples: 15
|
||||
- _PPDMinSamples: 5
|
||||
- _PPDPrimitiveLength: 1
|
||||
- _PPDPrimitiveWidth: 1
|
||||
- _Parallax: 0.02
|
||||
- _QueueOffset: 0
|
||||
- _ReceiveShadows: 1
|
||||
- _ReceivesSSR: 1
|
||||
- _RefractionModel: 0
|
||||
- _SSRefractionProjectionModel: 0
|
||||
- _Smoothness: 0.9
|
||||
- _SmoothnessRemapMax: 1
|
||||
- _SmoothnessRemapMin: 0
|
||||
- _SmoothnessTextureChannel: 0
|
||||
- _SpecularAAScreenSpaceVariance: 0.1
|
||||
- _SpecularAAThreshold: 0.2
|
||||
- _SpecularHighlights: 1
|
||||
- _SrcBlend: 1
|
||||
- _SrcBlendAlpha: 1
|
||||
- _StencilRef: 2
|
||||
- _StencilRefDepth: 0
|
||||
- _StencilRefDistortionVec: 64
|
||||
- _StencilRefGBuffer: 2
|
||||
- _StencilRefMV: 128
|
||||
- _StencilWriteMask: 3
|
||||
- _StencilWriteMaskDepth: 48
|
||||
- _StencilWriteMaskDistortionVec: 64
|
||||
- _StencilWriteMaskGBuffer: 51
|
||||
- _StencilWriteMaskMV: 176
|
||||
- _SubsurfaceMask: 1
|
||||
- _SupportDecals: 1
|
||||
- _Surface: 0
|
||||
- _SurfaceType: 0
|
||||
- _TexWorldScale: 1
|
||||
- _TexWorldScaleEmissive: 1
|
||||
- _Thickness: 1
|
||||
- _ThicknessMultiplier: 1
|
||||
- _TransmissionEnable: 1
|
||||
- _TransparentBackfaceEnable: 0
|
||||
- _TransparentCullMode: 2
|
||||
- _TransparentDepthPostpassEnable: 0
|
||||
- _TransparentDepthPrepassEnable: 0
|
||||
- _TransparentSortPriority: 0
|
||||
- _TransparentWritingMotionVec: 0
|
||||
- _UVBase: 0
|
||||
- _UVDetail: 0
|
||||
- _UVEmissive: 0
|
||||
- _UVSec: 0
|
||||
- _UseEmissiveIntensity: 0
|
||||
- _UseShadowThreshold: 0
|
||||
- _WorkflowMode: 1
|
||||
- _ZTestDepthEqualForOpaque: 3
|
||||
- _ZTestGBuffer: 4
|
||||
- _ZTestModeDistortion: 4
|
||||
- _ZTestTransparent: 4
|
||||
- _ZWrite: 1
|
||||
m_Colors:
|
||||
- _BaseColor: {r: 1, g: 0.2877358, b: 0.2877358, a: 1}
|
||||
- _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0}
|
||||
- _Color: {r: 1, g: 0.28773576, b: 0.28773576, a: 1}
|
||||
- _DiffusionProfileAsset: {r: 0, g: 0, b: 0, a: 0}
|
||||
- _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0}
|
||||
- _EmissionColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _EmissiveColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _EmissiveColorLDR: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _InvPrimScale: {r: 1, g: 1, b: 0, a: 0}
|
||||
- _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0}
|
||||
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
|
||||
- _SpecularColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0}
|
||||
- _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0}
|
||||
- _UVMappingMask: {r: 1, g: 0, b: 0, a: 0}
|
||||
- _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0}
|
||||
m_BuildTextureStacks: []
|
||||
m_AllowLocking: 1
|
||||
8
Assets/ThirdParty/Tiny Giant Studio/Modular 3D Text/Materials/MText_Red.mat.meta
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3d8563705655a4245b274398956f938f
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
348
Assets/ThirdParty/Tiny Giant Studio/Modular 3D Text/Materials/MText_White Dark.mat
vendored
Normal file
@@ -0,0 +1,348 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 8
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: MText_White Dark
|
||||
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
|
||||
m_Parent: {fileID: 0}
|
||||
m_ModifiedSerializedProperties: 0
|
||||
m_ValidKeywords: []
|
||||
m_InvalidKeywords:
|
||||
- _NORMALMAP_TANGENT_SPACE
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap:
|
||||
RenderType: Opaque
|
||||
disabledShaderPasses:
|
||||
- DistortionVectors
|
||||
- MOTIONVECTORS
|
||||
- TransparentDepthPrepass
|
||||
- TransparentDepthPostpass
|
||||
- TransparentBackface
|
||||
m_LockedProperties:
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _AnisotropyMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _BaseColorMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _BaseMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _BentNormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _BentNormalMapOS:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _CoatMaskMap:
|
||||
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}
|
||||
- _DetailMap:
|
||||
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}
|
||||
- _DistortionVectorMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissiveColorMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _HeightMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _IridescenceMaskMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _IridescenceThicknessMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MaskMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MetallicGlossMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _NormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _NormalMapOS:
|
||||
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}
|
||||
- _SpecularColorMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _SubsurfaceMaskMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _TangentMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _TangentMapOS:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _ThicknessMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _TransmittanceColorMap:
|
||||
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:
|
||||
- _AORemapMax: 1
|
||||
- _AORemapMin: 0
|
||||
- _ATDistance: 1
|
||||
- _AlbedoAffectEmissive: 0
|
||||
- _AlphaClip: 0
|
||||
- _AlphaCutoff: 0.5
|
||||
- _AlphaCutoffEnable: 0
|
||||
- _AlphaCutoffPostpass: 0.5
|
||||
- _AlphaCutoffPrepass: 0.5
|
||||
- _AlphaCutoffShadow: 0.5
|
||||
- _AlphaDstBlend: 0
|
||||
- _AlphaSrcBlend: 1
|
||||
- _AlphaToMask: 0
|
||||
- _Anisotropy: 0
|
||||
- _Blend: 0
|
||||
- _BlendMode: 0
|
||||
- _BlendModePreserveSpecular: 1
|
||||
- _BumpScale: 1
|
||||
- _ClearCoatMask: 0
|
||||
- _ClearCoatSmoothness: 0
|
||||
- _CoatMask: 0
|
||||
- _Cull: 2
|
||||
- _CullMode: 2
|
||||
- _CullModeForward: 2
|
||||
- _Cutoff: 0.5
|
||||
- _DepthOffsetEnable: 0
|
||||
- _DetailAlbedoMapScale: 1
|
||||
- _DetailAlbedoScale: 1
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DetailNormalScale: 1
|
||||
- _DetailSmoothnessScale: 1
|
||||
- _DiffusionProfile: 0
|
||||
- _DiffusionProfileHash: 0
|
||||
- _DisplacementLockObjectScale: 1
|
||||
- _DisplacementLockTilingScale: 1
|
||||
- _DisplacementMode: 0
|
||||
- _DistortionBlendMode: 0
|
||||
- _DistortionBlurBlendMode: 0
|
||||
- _DistortionBlurDstBlend: 1
|
||||
- _DistortionBlurRemapMax: 1
|
||||
- _DistortionBlurRemapMin: 0
|
||||
- _DistortionBlurScale: 1
|
||||
- _DistortionBlurSrcBlend: 1
|
||||
- _DistortionDepthTest: 1
|
||||
- _DistortionDstBlend: 1
|
||||
- _DistortionEnable: 0
|
||||
- _DistortionScale: 1
|
||||
- _DistortionSrcBlend: 1
|
||||
- _DistortionVectorBias: -1
|
||||
- _DistortionVectorScale: 2
|
||||
- _DoubleSidedEnable: 0
|
||||
- _DoubleSidedNormalMode: 1
|
||||
- _DstBlend: 0
|
||||
- _DstBlendAlpha: 0
|
||||
- _EmissiveColorMode: 1
|
||||
- _EmissiveExposureWeight: 1
|
||||
- _EmissiveIntensity: 1
|
||||
- _EmissiveIntensityUnit: 0
|
||||
- _EnableBlendModePreserveSpecularLighting: 1
|
||||
- _EnableFogOnTransparent: 1
|
||||
- _EnableGeometricSpecularAA: 0
|
||||
- _EnableSpecularOcclusion: 0
|
||||
- _EnergyConservingSpecularColor: 1
|
||||
- _EnvironmentReflections: 1
|
||||
- _GlossMapScale: 1
|
||||
- _Glossiness: 0.9
|
||||
- _GlossyReflections: 1
|
||||
- _HdrpVersion: 2
|
||||
- _HeightAmplitude: 0.02
|
||||
- _HeightCenter: 0.5
|
||||
- _HeightMapParametrization: 0
|
||||
- _HeightMax: 1
|
||||
- _HeightMin: -1
|
||||
- _HeightOffset: 0
|
||||
- _HeightPoMAmplitude: 2
|
||||
- _HeightTessAmplitude: 2
|
||||
- _HeightTessCenter: 0.5
|
||||
- _InvTilingScale: 1
|
||||
- _Ior: 1
|
||||
- _IridescenceMask: 1
|
||||
- _IridescenceThickness: 1
|
||||
- _LinkDetailsWithBase: 1
|
||||
- _MaterialID: 1
|
||||
- _Metallic: 0
|
||||
- _Mode: 0
|
||||
- _NormalMapSpace: 0
|
||||
- _NormalScale: 1
|
||||
- _OcclusionStrength: 1
|
||||
- _PPDLodThreshold: 5
|
||||
- _PPDMaxSamples: 15
|
||||
- _PPDMinSamples: 5
|
||||
- _PPDPrimitiveLength: 1
|
||||
- _PPDPrimitiveWidth: 1
|
||||
- _Parallax: 0.02
|
||||
- _QueueOffset: 0
|
||||
- _ReceiveShadows: 1
|
||||
- _ReceivesSSR: 1
|
||||
- _RefractionModel: 0
|
||||
- _SSRefractionProjectionModel: 0
|
||||
- _Smoothness: 0.9
|
||||
- _SmoothnessRemapMax: 1
|
||||
- _SmoothnessRemapMin: 0
|
||||
- _SmoothnessTextureChannel: 0
|
||||
- _SpecularAAScreenSpaceVariance: 0.1
|
||||
- _SpecularAAThreshold: 0.2
|
||||
- _SpecularHighlights: 1
|
||||
- _SrcBlend: 1
|
||||
- _SrcBlendAlpha: 1
|
||||
- _StencilRef: 2
|
||||
- _StencilRefDepth: 0
|
||||
- _StencilRefDistortionVec: 64
|
||||
- _StencilRefGBuffer: 2
|
||||
- _StencilRefMV: 128
|
||||
- _StencilWriteMask: 3
|
||||
- _StencilWriteMaskDepth: 48
|
||||
- _StencilWriteMaskDistortionVec: 64
|
||||
- _StencilWriteMaskGBuffer: 51
|
||||
- _StencilWriteMaskMV: 176
|
||||
- _SubsurfaceMask: 1
|
||||
- _SupportDecals: 1
|
||||
- _Surface: 0
|
||||
- _SurfaceType: 0
|
||||
- _TexWorldScale: 1
|
||||
- _TexWorldScaleEmissive: 1
|
||||
- _Thickness: 1
|
||||
- _ThicknessMultiplier: 1
|
||||
- _TransmissionEnable: 1
|
||||
- _TransparentBackfaceEnable: 0
|
||||
- _TransparentCullMode: 2
|
||||
- _TransparentDepthPostpassEnable: 0
|
||||
- _TransparentDepthPrepassEnable: 0
|
||||
- _TransparentSortPriority: 0
|
||||
- _TransparentWritingMotionVec: 0
|
||||
- _UVBase: 0
|
||||
- _UVDetail: 0
|
||||
- _UVEmissive: 0
|
||||
- _UVSec: 0
|
||||
- _UseEmissiveIntensity: 0
|
||||
- _UseShadowThreshold: 0
|
||||
- _WorkflowMode: 1
|
||||
- _ZTestDepthEqualForOpaque: 3
|
||||
- _ZTestGBuffer: 4
|
||||
- _ZTestModeDistortion: 4
|
||||
- _ZTestTransparent: 4
|
||||
- _ZWrite: 1
|
||||
m_Colors:
|
||||
- _BaseColor: {r: 0.57547164, g: 0.5456123, b: 0.5456123, a: 1}
|
||||
- _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0}
|
||||
- _Color: {r: 0.57547164, g: 0.5456122, b: 0.5456122, a: 1}
|
||||
- _DiffusionProfileAsset: {r: 0, g: 0, b: 0, a: 0}
|
||||
- _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0}
|
||||
- _EmissionColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _EmissiveColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _EmissiveColorLDR: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _InvPrimScale: {r: 1, g: 1, b: 0, a: 0}
|
||||
- _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0}
|
||||
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
|
||||
- _SpecularColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0}
|
||||
- _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0}
|
||||
- _UVMappingMask: {r: 1, g: 0, b: 0, a: 0}
|
||||
- _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0}
|
||||
m_BuildTextureStacks: []
|
||||
m_AllowLocking: 1
|
||||
--- !u!114 &2059750375297562573
|
||||
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: 10
|
||||
8
Assets/ThirdParty/Tiny Giant Studio/Modular 3D Text/Materials/MText_White Dark.mat.meta
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 01026a7aa911b8543bf3d8c45775fe16
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/ThirdParty/Tiny Giant Studio/Modular 3D Text/Models.meta
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7897f8edd21139d4daab1ee963878674
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/ThirdParty/Tiny Giant Studio/Modular 3D Text/Models/Graphics.fbx
vendored
Normal file
559
Assets/ThirdParty/Tiny Giant Studio/Modular 3D Text/Models/Graphics.fbx.meta
vendored
Normal file
@@ -0,0 +1,559 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7783501d3631dfa4eb7f33038f872c35
|
||||
ModelImporter:
|
||||
serializedVersion: 19301
|
||||
internalIDToNameTable:
|
||||
- first:
|
||||
1: 100000
|
||||
second: //RootNode
|
||||
- first:
|
||||
1: 100002
|
||||
second: Button Baveled Larg
|
||||
- first:
|
||||
1: 100004
|
||||
second: Button Baveled Large Extra
|
||||
- first:
|
||||
1: 100006
|
||||
second: Button Baveled Medium
|
||||
- first:
|
||||
1: 100008
|
||||
second: Button Baveled Small
|
||||
- first:
|
||||
1: 100010
|
||||
second: Button Baveled Small Extra
|
||||
- first:
|
||||
1: 100012
|
||||
second: Button Simple Large
|
||||
- first:
|
||||
1: 100014
|
||||
second: Button Simple Large Extra
|
||||
- first:
|
||||
1: 100016
|
||||
second: Button Simple Large Extra.001
|
||||
- first:
|
||||
1: 100018
|
||||
second: Button Simple Large.001
|
||||
- first:
|
||||
1: 100020
|
||||
second: Button Simple Medium
|
||||
- first:
|
||||
1: 100022
|
||||
second: Button Simple Medium.001
|
||||
- first:
|
||||
1: 100024
|
||||
second: Button Simple Small
|
||||
- first:
|
||||
1: 100026
|
||||
second: Button Simple Small Extra
|
||||
- first:
|
||||
1: 100028
|
||||
second: Button Simple Small Extra.001
|
||||
- first:
|
||||
1: 100030
|
||||
second: Button Simple Small.001
|
||||
- first:
|
||||
1: 100032
|
||||
second: Button Baveled Large
|
||||
- first:
|
||||
1: 100034
|
||||
second: Button Sty;ozed 1 Medium
|
||||
- first:
|
||||
1: 100036
|
||||
second: Button Stylized 1 Large
|
||||
- first:
|
||||
1: 100038
|
||||
second: Button Stylized 1 Large Extra
|
||||
- first:
|
||||
1: 100040
|
||||
second: Button Stylized 1 Small
|
||||
- first:
|
||||
1: 100042
|
||||
second: Button Stylized 1 Small Extra
|
||||
- first:
|
||||
1: 100044
|
||||
second: Baveled Cube
|
||||
- first:
|
||||
1: 100046
|
||||
second: Handle Bar
|
||||
- first:
|
||||
1: 100048
|
||||
second: Slider Handle 10
|
||||
- first:
|
||||
1: 100050
|
||||
second: Arrow
|
||||
- first:
|
||||
1: 100052
|
||||
second: 'Baveled Arrow '
|
||||
- first:
|
||||
1: 100054
|
||||
second: Correct Icon
|
||||
- first:
|
||||
1: 100056
|
||||
second: ProgressBar Graphic
|
||||
- first:
|
||||
1: 100058
|
||||
second: ProgressBar Handle
|
||||
- first:
|
||||
4: 400000
|
||||
second: //RootNode
|
||||
- first:
|
||||
4: 400002
|
||||
second: Button Baveled Larg
|
||||
- first:
|
||||
4: 400004
|
||||
second: Button Baveled Large Extra
|
||||
- first:
|
||||
4: 400006
|
||||
second: Button Baveled Medium
|
||||
- first:
|
||||
4: 400008
|
||||
second: Button Baveled Small
|
||||
- first:
|
||||
4: 400010
|
||||
second: Button Baveled Small Extra
|
||||
- first:
|
||||
4: 400012
|
||||
second: Button Simple Large
|
||||
- first:
|
||||
4: 400014
|
||||
second: Button Simple Large Extra
|
||||
- first:
|
||||
4: 400016
|
||||
second: Button Simple Large Extra.001
|
||||
- first:
|
||||
4: 400018
|
||||
second: Button Simple Large.001
|
||||
- first:
|
||||
4: 400020
|
||||
second: Button Simple Medium
|
||||
- first:
|
||||
4: 400022
|
||||
second: Button Simple Medium.001
|
||||
- first:
|
||||
4: 400024
|
||||
second: Button Simple Small
|
||||
- first:
|
||||
4: 400026
|
||||
second: Button Simple Small Extra
|
||||
- first:
|
||||
4: 400028
|
||||
second: Button Simple Small Extra.001
|
||||
- first:
|
||||
4: 400030
|
||||
second: Button Simple Small.001
|
||||
- first:
|
||||
4: 400032
|
||||
second: Button Baveled Large
|
||||
- first:
|
||||
4: 400034
|
||||
second: Button Sty;ozed 1 Medium
|
||||
- first:
|
||||
4: 400036
|
||||
second: Button Stylized 1 Large
|
||||
- first:
|
||||
4: 400038
|
||||
second: Button Stylized 1 Large Extra
|
||||
- first:
|
||||
4: 400040
|
||||
second: Button Stylized 1 Small
|
||||
- first:
|
||||
4: 400042
|
||||
second: Button Stylized 1 Small Extra
|
||||
- first:
|
||||
4: 400044
|
||||
second: Baveled Cube
|
||||
- first:
|
||||
4: 400046
|
||||
second: Handle Bar
|
||||
- first:
|
||||
4: 400048
|
||||
second: Slider Handle 10
|
||||
- first:
|
||||
4: 400050
|
||||
second: Arrow
|
||||
- first:
|
||||
4: 400052
|
||||
second: 'Baveled Arrow '
|
||||
- first:
|
||||
4: 400054
|
||||
second: Correct Icon
|
||||
- first:
|
||||
4: 400056
|
||||
second: ProgressBar Graphic
|
||||
- first:
|
||||
4: 400058
|
||||
second: ProgressBar Handle
|
||||
- first:
|
||||
21: 2100000
|
||||
second: Material
|
||||
- first:
|
||||
21: 2100002
|
||||
second: No Name
|
||||
- first:
|
||||
21: 2100004
|
||||
second: Material.002
|
||||
- first:
|
||||
23: 2300000
|
||||
second: //RootNode
|
||||
- first:
|
||||
23: 2300002
|
||||
second: Button Baveled Larg
|
||||
- first:
|
||||
23: 2300004
|
||||
second: Button Baveled Large Extra
|
||||
- first:
|
||||
23: 2300006
|
||||
second: Button Baveled Medium
|
||||
- first:
|
||||
23: 2300008
|
||||
second: Button Baveled Small
|
||||
- first:
|
||||
23: 2300010
|
||||
second: Button Baveled Small Extra
|
||||
- first:
|
||||
23: 2300012
|
||||
second: Button Simple Large
|
||||
- first:
|
||||
23: 2300014
|
||||
second: Button Simple Large Extra
|
||||
- first:
|
||||
23: 2300016
|
||||
second: Button Simple Large Extra.001
|
||||
- first:
|
||||
23: 2300018
|
||||
second: Button Simple Large.001
|
||||
- first:
|
||||
23: 2300020
|
||||
second: Button Simple Medium
|
||||
- first:
|
||||
23: 2300022
|
||||
second: Button Simple Medium.001
|
||||
- first:
|
||||
23: 2300024
|
||||
second: Button Simple Small
|
||||
- first:
|
||||
23: 2300026
|
||||
second: Button Simple Small Extra
|
||||
- first:
|
||||
23: 2300028
|
||||
second: Button Simple Small Extra.001
|
||||
- first:
|
||||
23: 2300030
|
||||
second: Button Simple Small.001
|
||||
- first:
|
||||
23: 2300032
|
||||
second: Button Baveled Large
|
||||
- first:
|
||||
23: 2300034
|
||||
second: Button Sty;ozed 1 Medium
|
||||
- first:
|
||||
23: 2300036
|
||||
second: Button Stylized 1 Large
|
||||
- first:
|
||||
23: 2300038
|
||||
second: Button Stylized 1 Large Extra
|
||||
- first:
|
||||
23: 2300040
|
||||
second: Button Stylized 1 Small
|
||||
- first:
|
||||
23: 2300042
|
||||
second: Button Stylized 1 Small Extra
|
||||
- first:
|
||||
23: 2300044
|
||||
second: Baveled Cube
|
||||
- first:
|
||||
23: 2300046
|
||||
second: Handle Bar
|
||||
- first:
|
||||
23: 2300048
|
||||
second: Slider Handle 10
|
||||
- first:
|
||||
23: 2300050
|
||||
second: Arrow
|
||||
- first:
|
||||
23: 2300052
|
||||
second: 'Baveled Arrow '
|
||||
- first:
|
||||
23: 2300054
|
||||
second: Correct Icon
|
||||
- first:
|
||||
23: 2300056
|
||||
second: ProgressBar Graphic
|
||||
- first:
|
||||
23: 2300058
|
||||
second: ProgressBar Handle
|
||||
- first:
|
||||
33: 3300000
|
||||
second: //RootNode
|
||||
- first:
|
||||
33: 3300002
|
||||
second: Button Baveled Larg
|
||||
- first:
|
||||
33: 3300004
|
||||
second: Button Baveled Large Extra
|
||||
- first:
|
||||
33: 3300006
|
||||
second: Button Baveled Medium
|
||||
- first:
|
||||
33: 3300008
|
||||
second: Button Baveled Small
|
||||
- first:
|
||||
33: 3300010
|
||||
second: Button Baveled Small Extra
|
||||
- first:
|
||||
33: 3300012
|
||||
second: Button Simple Large
|
||||
- first:
|
||||
33: 3300014
|
||||
second: Button Simple Large Extra
|
||||
- first:
|
||||
33: 3300016
|
||||
second: Button Simple Large Extra.001
|
||||
- first:
|
||||
33: 3300018
|
||||
second: Button Simple Large.001
|
||||
- first:
|
||||
33: 3300020
|
||||
second: Button Simple Medium
|
||||
- first:
|
||||
33: 3300022
|
||||
second: Button Simple Medium.001
|
||||
- first:
|
||||
33: 3300024
|
||||
second: Button Simple Small
|
||||
- first:
|
||||
33: 3300026
|
||||
second: Button Simple Small Extra
|
||||
- first:
|
||||
33: 3300028
|
||||
second: Button Simple Small Extra.001
|
||||
- first:
|
||||
33: 3300030
|
||||
second: Button Simple Small.001
|
||||
- first:
|
||||
33: 3300032
|
||||
second: Button Baveled Large
|
||||
- first:
|
||||
33: 3300034
|
||||
second: Button Sty;ozed 1 Medium
|
||||
- first:
|
||||
33: 3300036
|
||||
second: Button Stylized 1 Large
|
||||
- first:
|
||||
33: 3300038
|
||||
second: Button Stylized 1 Large Extra
|
||||
- first:
|
||||
33: 3300040
|
||||
second: Button Stylized 1 Small
|
||||
- first:
|
||||
33: 3300042
|
||||
second: Button Stylized 1 Small Extra
|
||||
- first:
|
||||
33: 3300044
|
||||
second: Baveled Cube
|
||||
- first:
|
||||
33: 3300046
|
||||
second: Handle Bar
|
||||
- first:
|
||||
33: 3300048
|
||||
second: Slider Handle 10
|
||||
- first:
|
||||
33: 3300050
|
||||
second: Arrow
|
||||
- first:
|
||||
33: 3300052
|
||||
second: 'Baveled Arrow '
|
||||
- first:
|
||||
33: 3300054
|
||||
second: Correct Icon
|
||||
- first:
|
||||
33: 3300056
|
||||
second: ProgressBar Graphic
|
||||
- first:
|
||||
33: 3300058
|
||||
second: ProgressBar Handle
|
||||
- first:
|
||||
43: 4300000
|
||||
second: Button
|
||||
- first:
|
||||
43: 4300002
|
||||
second: Cube
|
||||
- first:
|
||||
43: 4300004
|
||||
second: Button Simple Large
|
||||
- first:
|
||||
43: 4300006
|
||||
second: Button Simple Medium
|
||||
- first:
|
||||
43: 4300008
|
||||
second: Button Simple Small
|
||||
- first:
|
||||
43: 4300010
|
||||
second: Button Simple Small Extra
|
||||
- first:
|
||||
43: 4300012
|
||||
second: Button Simple Large Extra
|
||||
- first:
|
||||
43: 4300014
|
||||
second: Button Simple Large.001
|
||||
- first:
|
||||
43: 4300016
|
||||
second: Button Simple Medium.001
|
||||
- first:
|
||||
43: 4300018
|
||||
second: Button Simple Small.001
|
||||
- first:
|
||||
43: 4300020
|
||||
second: Button Simple Small Extra.001
|
||||
- first:
|
||||
43: 4300022
|
||||
second: Button Simple Large Extra.001
|
||||
- first:
|
||||
43: 4300024
|
||||
second: Button Baveled Larg
|
||||
- first:
|
||||
43: 4300026
|
||||
second: Button Baveled Medium
|
||||
- first:
|
||||
43: 4300028
|
||||
second: Button Baveled Small
|
||||
- first:
|
||||
43: 4300030
|
||||
second: Button Baveled Small Extra
|
||||
- first:
|
||||
43: 4300032
|
||||
second: Button Baveled Large Extra
|
||||
- first:
|
||||
43: 4300034
|
||||
second: Button Stylized 1 Large
|
||||
- first:
|
||||
43: 4300036
|
||||
second: Button Sty;ozed 1 Medium
|
||||
- first:
|
||||
43: 4300038
|
||||
second: Button Stylized 1 Small
|
||||
- first:
|
||||
43: 4300040
|
||||
second: Button Stylized 1 Small Extra
|
||||
- first:
|
||||
43: 4300042
|
||||
second: Button Stylized 1 Large Extra
|
||||
- first:
|
||||
43: 4300044
|
||||
second: Button Baveled Large
|
||||
- first:
|
||||
43: 4300046
|
||||
second: Baveled Cube
|
||||
- first:
|
||||
43: 4300048
|
||||
second: Slider Handle 10
|
||||
- first:
|
||||
43: 4300050
|
||||
second: Handle Bar
|
||||
- first:
|
||||
43: 4300052
|
||||
second: Arrow
|
||||
- first:
|
||||
43: 4300054
|
||||
second: 'Baveled Arrow '
|
||||
- first:
|
||||
43: 4300056
|
||||
second: Correct Icon
|
||||
- first:
|
||||
43: 4300058
|
||||
second: ProgressBar Graphic
|
||||
- first:
|
||||
43: 4300060
|
||||
second: ProgressBar Handle
|
||||
externalObjects: {}
|
||||
materials:
|
||||
materialImportMode: 0
|
||||
materialName: 0
|
||||
materialSearch: 1
|
||||
materialLocation: 1
|
||||
animations:
|
||||
legacyGenerateAnimations: 4
|
||||
bakeSimulation: 0
|
||||
resampleCurves: 1
|
||||
optimizeGameObjects: 0
|
||||
motionNodeName:
|
||||
rigImportErrors:
|
||||
rigImportWarnings:
|
||||
animationImportErrors:
|
||||
animationImportWarnings:
|
||||
animationRetargetingWarnings:
|
||||
animationDoRetargetingWarnings: 0
|
||||
importAnimatedCustomProperties: 0
|
||||
importConstraints: 0
|
||||
animationCompression: 1
|
||||
animationRotationError: 0.5
|
||||
animationPositionError: 0.5
|
||||
animationScaleError: 0.5
|
||||
animationWrapMode: 0
|
||||
extraExposedTransformPaths: []
|
||||
extraUserProperties: []
|
||||
clipAnimations: []
|
||||
isReadable: 1
|
||||
meshes:
|
||||
lODScreenPercentages: []
|
||||
globalScale: 0.5
|
||||
meshCompression: 0
|
||||
addColliders: 0
|
||||
useSRGBMaterialColor: 1
|
||||
sortHierarchyByName: 1
|
||||
importVisibility: 1
|
||||
importBlendShapes: 1
|
||||
importCameras: 1
|
||||
importLights: 1
|
||||
fileIdsGeneration: 1
|
||||
swapUVChannels: 0
|
||||
generateSecondaryUV: 0
|
||||
useFileUnits: 1
|
||||
keepQuads: 0
|
||||
weldVertices: 1
|
||||
preserveHierarchy: 0
|
||||
skinWeightsMode: 0
|
||||
maxBonesPerVertex: 4
|
||||
minBoneWeight: 0.001
|
||||
meshOptimizationFlags: -1
|
||||
indexFormat: 0
|
||||
secondaryUVAngleDistortion: 8
|
||||
secondaryUVAreaDistortion: 15.000001
|
||||
secondaryUVHardAngle: 88
|
||||
secondaryUVPackMargin: 4
|
||||
useFileScale: 1
|
||||
tangentSpace:
|
||||
normalSmoothAngle: 60
|
||||
normalImportMode: 0
|
||||
tangentImportMode: 3
|
||||
normalCalculationMode: 4
|
||||
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
|
||||
blendShapeNormalImportMode: 1
|
||||
normalSmoothingSource: 0
|
||||
referencedClips: []
|
||||
importAnimation: 0
|
||||
humanDescription:
|
||||
serializedVersion: 3
|
||||
human: []
|
||||
skeleton: []
|
||||
armTwist: 0.5
|
||||
foreArmTwist: 0.5
|
||||
upperLegTwist: 0.5
|
||||
legTwist: 0.5
|
||||
armStretch: 0.05
|
||||
legStretch: 0.05
|
||||
feetSpacing: 0
|
||||
globalScale: 0.5
|
||||
rootMotionBoneName:
|
||||
hasTranslationDoF: 0
|
||||
hasExtraRoot: 0
|
||||
skeletonHasParents: 1
|
||||
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||
autoGenerateAvatarMappingIfUnspecified: 1
|
||||
animationType: 0
|
||||
humanoidOversampling: 1
|
||||
avatarSetup: 0
|
||||
additionalBone: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/ThirdParty/Tiny Giant Studio/Tiny Giant Studio.meta
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9f4e873d914f0024eb68a980e34fe7d0
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/ThirdParty/Tiny Giant Studio/Tiny Giant Studio/Common.meta
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 21bddd74262a6d249b35c390f9c9255f
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/ThirdParty/Tiny Giant Studio/Tiny Giant Studio/Common/Artworks.meta
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5c8bdb788f37a3a48a8907fc577ee5b2
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/ThirdParty/Tiny Giant Studio/Tiny Giant Studio/Common/Artworks/DarkModeIcon.png
vendored
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
123
Assets/ThirdParty/Tiny Giant Studio/Tiny Giant Studio/Common/Artworks/DarkModeIcon.png.meta
vendored
Normal file
@@ -0,0 +1,123 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c6825acc7f98d024291633f2b31940ae
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 12
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMasterTextureLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 2
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Server
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID:
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/ThirdParty/Tiny Giant Studio/Tiny Giant Studio/Common/Artworks/DarkModeIconBG.png
vendored
Normal file
|
After Width: | Height: | Size: 63 KiB |
123
Assets/ThirdParty/Tiny Giant Studio/Tiny Giant Studio/Common/Artworks/DarkModeIconBG.png.meta
vendored
Normal file
@@ -0,0 +1,123 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4560912dfe622c440bea0056c40e0399
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 12
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMasterTextureLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 2
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Server
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID:
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/ThirdParty/Tiny Giant Studio/Tiny Giant Studio/Common/Artworks/FacebookIcon.png
vendored
Normal file
|
After Width: | Height: | Size: 703 B |
123
Assets/ThirdParty/Tiny Giant Studio/Tiny Giant Studio/Common/Artworks/FacebookIcon.png.meta
vendored
Normal file
@@ -0,0 +1,123 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ab92f6a1c069b1c42a0efdaf8131b5c1
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 12
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMasterTextureLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 2
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Server
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID:
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/ThirdParty/Tiny Giant Studio/Tiny Giant Studio/Common/Artworks/Information.png
vendored
Normal file
|
After Width: | Height: | Size: 239 B |
123
Assets/ThirdParty/Tiny Giant Studio/Tiny Giant Studio/Common/Artworks/Information.png.meta
vendored
Normal file
@@ -0,0 +1,123 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2303a5be81186da4f8658cdb0e3584fe
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 12
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMasterTextureLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 0
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 2
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Server
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID:
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/ThirdParty/Tiny Giant Studio/Tiny Giant Studio/Common/Artworks/LightModeIcon.png
vendored
Normal file
|
After Width: | Height: | Size: 6.2 KiB |
123
Assets/ThirdParty/Tiny Giant Studio/Tiny Giant Studio/Common/Artworks/LightModeIcon.png.meta
vendored
Normal file
@@ -0,0 +1,123 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c8d41ea569fe91a45a1e9262519dfc0e
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 12
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMasterTextureLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 2
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Server
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID:
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/ThirdParty/Tiny Giant Studio/Tiny Giant Studio/Common/Artworks/LightModeIconBG.png
vendored
Normal file
|
After Width: | Height: | Size: 53 KiB |
123
Assets/ThirdParty/Tiny Giant Studio/Tiny Giant Studio/Common/Artworks/LightModeIconBG.png.meta
vendored
Normal file
@@ -0,0 +1,123 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5b028d63d1dc1a64e9b9cc5d044d2365
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 12
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMasterTextureLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 2
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Server
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID:
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/ThirdParty/Tiny Giant Studio/Tiny Giant Studio/Common/Artworks/RedditIcon.png
vendored
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
123
Assets/ThirdParty/Tiny Giant Studio/Tiny Giant Studio/Common/Artworks/RedditIcon.png.meta
vendored
Normal file
@@ -0,0 +1,123 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c0d38168509c6ce49bf9630f8a70c31c
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 12
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMasterTextureLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 0
|
||||
wrapV: 0
|
||||
wrapW: 0
|
||||
nPOTScale: 1
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 0
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 0
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Server
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID:
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/ThirdParty/Tiny Giant Studio/Tiny Giant Studio/Common/Fonts.meta
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 66e2e5489dd66d94cb017e6d46983800
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
2759
Assets/ThirdParty/Tiny Giant Studio/Tiny Giant Studio/Common/Fonts/Montserrat-Bold SDF.asset
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2acd469fc18d2e04fb4f4a73bb7baa9c
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/ThirdParty/Tiny Giant Studio/Tiny Giant Studio/Common/Fonts/Montserrat-Bold.ttf
vendored
Normal file
22
Assets/ThirdParty/Tiny Giant Studio/Tiny Giant Studio/Common/Fonts/Montserrat-Bold.ttf.meta
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a9b28104babb56c499abe3937ca16cea
|
||||
TrueTypeFontImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 4
|
||||
fontSize: 16
|
||||
forceTextureCase: -2
|
||||
characterSpacing: 0
|
||||
characterPadding: 1
|
||||
includeFontData: 1
|
||||
fontNames:
|
||||
- Montserrat
|
||||
fallbackFontReferences:
|
||||
- {fileID: 12800000, guid: e8239e9a7fbaa2048a9e65d5d35d76ce, type: 3}
|
||||
customCharacters:
|
||||
fontRenderingMode: 0
|
||||
ascentCalculationMode: 1
|
||||
useLegacyBoundsCalculation: 0
|
||||
shouldRoundAdvanceValue: 1
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
2791
Assets/ThirdParty/Tiny Giant Studio/Tiny Giant Studio/Common/Fonts/Montserrat-Regular SDF.asset
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5f7aecc8015b29a4fa747b92096f9790
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/ThirdParty/Tiny Giant Studio/Tiny Giant Studio/Common/Fonts/Montserrat-Regular.ttf
vendored
Normal file
21
Assets/ThirdParty/Tiny Giant Studio/Tiny Giant Studio/Common/Fonts/Montserrat-Regular.ttf.meta
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e8239e9a7fbaa2048a9e65d5d35d76ce
|
||||
TrueTypeFontImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 4
|
||||
fontSize: 16
|
||||
forceTextureCase: -2
|
||||
characterSpacing: 0
|
||||
characterPadding: 1
|
||||
includeFontData: 1
|
||||
fontNames:
|
||||
- Montserrat
|
||||
fallbackFontReferences: []
|
||||
customCharacters:
|
||||
fontRenderingMode: 0
|
||||
ascentCalculationMode: 1
|
||||
useLegacyBoundsCalculation: 0
|
||||
shouldRoundAdvanceValue: 1
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
2739
Assets/ThirdParty/Tiny Giant Studio/Tiny Giant Studio/Common/Fonts/Montserrat-SemiBold SDF.asset
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3f2d54698aa06f3499c2f510a4aa170e
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/ThirdParty/Tiny Giant Studio/Tiny Giant Studio/Common/Fonts/Montserrat-SemiBold.ttf
vendored
Normal file
23
Assets/ThirdParty/Tiny Giant Studio/Tiny Giant Studio/Common/Fonts/Montserrat-SemiBold.ttf.meta
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9adadeb836c409344991102d1e896531
|
||||
TrueTypeFontImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 4
|
||||
fontSize: 16
|
||||
forceTextureCase: -2
|
||||
characterSpacing: 0
|
||||
characterPadding: 1
|
||||
includeFontData: 1
|
||||
fontNames:
|
||||
- Montserrat
|
||||
fallbackFontReferences:
|
||||
- {fileID: 12800000, guid: e8239e9a7fbaa2048a9e65d5d35d76ce, type: 3}
|
||||
- {fileID: 12800000, guid: a9b28104babb56c499abe3937ca16cea, type: 3}
|
||||
customCharacters:
|
||||
fontRenderingMode: 0
|
||||
ascentCalculationMode: 1
|
||||
useLegacyBoundsCalculation: 0
|
||||
shouldRoundAdvanceValue: 1
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/ThirdParty/Tiny Giant Studio/Tiny Giant Studio/Editor.meta
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c95859766bff2b140a11d4fcf2ec7759
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/ThirdParty/Tiny Giant Studio/Tiny Giant Studio/Editor/CommonScript.meta
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a4c7bb03880fbae45a0ffc51e8f417ac
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,13 @@
|
||||
namespace TinyGiantStudio.EditorHelpers
|
||||
{
|
||||
public enum FieldSize
|
||||
{
|
||||
tiny,
|
||||
small,
|
||||
normal,
|
||||
large,
|
||||
extraLarge,
|
||||
gigantic,
|
||||
mega
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c64f94b7e05bd3f4e929d988cad3f3ef
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
169
Assets/ThirdParty/Tiny Giant Studio/Tiny Giant Studio/Editor/CommonScript/MText_Editor_Methods.cs
vendored
Normal file
@@ -0,0 +1,169 @@
|
||||
using System.Reflection;
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
namespace TinyGiantStudio.EditorHelpers
|
||||
{
|
||||
/// <summary>
|
||||
/// This helps draw common stuff shared by editor scripts in a uniform manner for IMGUI
|
||||
/// </summary>
|
||||
public static class MText_Editor_Methods
|
||||
{
|
||||
private static readonly float defaultTinyHorizontalFieldSize = 50f;
|
||||
private static readonly float defaultSmallHorizontalFieldSize = 72.5f;
|
||||
private static readonly float defaultNormalltHorizontalFieldSize = 100;
|
||||
private static readonly float defaultLargeHorizontalFieldSize = 120f;
|
||||
private static readonly float defaultExtraLargeHorizontalFieldSize = 155f;
|
||||
private static readonly float defaultGiganticHorizontalFieldSize = 220;
|
||||
private static readonly float defaultMegaHorizontalFieldSize = 300;
|
||||
|
||||
private static GUIStyle defaultLabel;
|
||||
private static GUIStyle defaultMultilineLabel;
|
||||
|
||||
public static void HorizontalField(SerializedProperty property, string label, string toolTip = "", FieldSize fieldSize = FieldSize.normal)
|
||||
{
|
||||
if (property == null)
|
||||
return;
|
||||
|
||||
float myMaxWidth = GetMyMaxWidth(fieldSize);
|
||||
float defaultWidth = EditorGUIUtility.labelWidth;
|
||||
EditorGUIUtility.labelWidth = myMaxWidth;
|
||||
|
||||
GUILayout.BeginHorizontal();
|
||||
GUIContent gUIContent = new GUIContent(label, toolTip);
|
||||
EditorGUILayout.PropertyField(property, gUIContent);
|
||||
GUILayout.EndHorizontal();
|
||||
|
||||
EditorGUIUtility.labelWidth = defaultWidth;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="property"></param>
|
||||
/// <param name="label"></param>
|
||||
/// <param name="toolTip"></param>
|
||||
/// <param name="fieldSize"></param>
|
||||
/// <param name="applySizeToPropertyField">Reduces total width taken by the property</param>
|
||||
public static void ItalicHorizontalField(SerializedProperty property, string label, string toolTip = "", FieldSize fieldSize = FieldSize.normal, bool applySizeToPropertyField = false)
|
||||
{
|
||||
if (property == null)
|
||||
return;
|
||||
|
||||
GenerateStyle();
|
||||
|
||||
float myMaxWidth = GetMyMaxWidth(fieldSize);
|
||||
|
||||
GUILayout.BeginHorizontal();
|
||||
EditorGUILayout.LabelField(new GUIContent(label, toolTip), defaultLabel, GUILayout.MaxWidth(myMaxWidth));
|
||||
if (applySizeToPropertyField)
|
||||
EditorGUILayout.PropertyField(property, GUIContent.none, GUILayout.MaxWidth(myMaxWidth / 2));
|
||||
else
|
||||
EditorGUILayout.PropertyField(property, GUIContent.none);
|
||||
GUILayout.EndHorizontal();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="property"></param>
|
||||
/// <param name="label"></param>
|
||||
/// <param name="toolTip"></param>
|
||||
/// <param name="fieldSize"></param>
|
||||
/// <param name="applySizeToPropertyField">Reduces total width taken by the property</param>
|
||||
public static void DisabledItalicHorizontalField(SerializedProperty property, string label, string toolTip = "", FieldSize fieldSize = FieldSize.normal)
|
||||
{
|
||||
if (property == null)
|
||||
return;
|
||||
|
||||
GenerateStyle();
|
||||
|
||||
float myMaxWidth = GetMyMaxWidth(fieldSize);
|
||||
GUI.enabled = false;
|
||||
GUILayout.BeginHorizontal();
|
||||
EditorGUILayout.LabelField(new GUIContent(label, toolTip), defaultLabel, GUILayout.MaxWidth(myMaxWidth));
|
||||
EditorGUILayout.PropertyField(property, GUIContent.none);
|
||||
GUILayout.EndHorizontal();
|
||||
GUI.enabled = true;
|
||||
}
|
||||
|
||||
public static void PreviewField(SerializedProperty property, Object targetObject, string label, string toolTip = "")
|
||||
{
|
||||
if (property == null) return;
|
||||
|
||||
GenerateStyle();
|
||||
|
||||
if (targetObject)
|
||||
{
|
||||
//Texture2D texture = AssetPreview.GetAssetPreview(targetObject);
|
||||
GUILayout.Box(AssetPreview.GetAssetPreview(targetObject), GUIStyle.none, GUILayout.MaxWidth(40), GUILayout.MaxHeight(40));
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
GUILayout.BeginVertical();
|
||||
GUIContent content = new GUIContent(label, toolTip);
|
||||
float minWidth = defaultMultilineLabel.CalcSize(content).x;
|
||||
EditorGUILayout.ObjectField(property, new GUIContent(""), GUILayout.MinWidth(minWidth));
|
||||
EditorGUILayout.LabelField(content, defaultMultilineLabel);
|
||||
GUILayout.EndVertical();
|
||||
}
|
||||
catch
|
||||
{
|
||||
//Debug.Log("Error " + property.ToString());
|
||||
}
|
||||
}
|
||||
|
||||
private static float GetMyMaxWidth(FieldSize fieldSize)
|
||||
{
|
||||
return fieldSize == FieldSize.tiny ? defaultTinyHorizontalFieldSize : fieldSize == FieldSize.small ? defaultSmallHorizontalFieldSize : fieldSize == FieldSize.normal ? defaultNormalltHorizontalFieldSize : fieldSize == FieldSize.large ? defaultLargeHorizontalFieldSize : fieldSize == FieldSize.extraLarge ? defaultExtraLargeHorizontalFieldSize : fieldSize == FieldSize.gigantic ? defaultGiganticHorizontalFieldSize : fieldSize == FieldSize.mega ? defaultMegaHorizontalFieldSize : defaultNormalltHorizontalFieldSize;
|
||||
}
|
||||
|
||||
private static void GenerateStyle()
|
||||
{
|
||||
if (defaultMultilineLabel == null)
|
||||
{
|
||||
defaultMultilineLabel = new GUIStyle(EditorStyles.wordWrappedLabel)
|
||||
{
|
||||
fontSize = 10,
|
||||
fontStyle = FontStyle.Italic,
|
||||
alignment = TextAnchor.MiddleCenter,
|
||||
};
|
||||
if (EditorGUIUtility.isProSkin)
|
||||
defaultMultilineLabel.normal.textColor = new Color(0.9f, 0.9f, 0.9f, 0.75f);
|
||||
else
|
||||
defaultMultilineLabel.normal.textColor = new Color(0.1f, 0.1f, 0.1f, 0.75f);
|
||||
}
|
||||
if (defaultLabel == null)
|
||||
{
|
||||
defaultLabel = new GUIStyle(EditorStyles.whiteMiniLabel)
|
||||
{
|
||||
//fontStyle = FontStyle.Italic,
|
||||
fontSize = 12
|
||||
};
|
||||
if (EditorGUIUtility.isProSkin)
|
||||
defaultLabel.normal.textColor = new Color(0.9f, 0.9f, 0.9f, 0.75f);
|
||||
else
|
||||
defaultLabel.normal.textColor = new Color(0.1f, 0.1f, 0.1f, 0.75f);
|
||||
}
|
||||
}
|
||||
|
||||
private delegate bool DelegateExecuteMenuItemWithTemporaryContext(string menuItemPath, UnityEngine.Object[] objects);
|
||||
|
||||
private static DelegateExecuteMenuItemWithTemporaryContext ExecuteMenuItemWithTemporaryContext;
|
||||
|
||||
public static void RemoveRectTransform(this GameObject gameObject)
|
||||
{
|
||||
var rectTransform = gameObject.GetComponent<RectTransform>();
|
||||
if (rectTransform != null)
|
||||
{
|
||||
if (ExecuteMenuItemWithTemporaryContext == null)
|
||||
{
|
||||
ExecuteMenuItemWithTemporaryContext = typeof(EditorApplication).GetMethod("ExecuteMenuItemWithTemporaryContext", BindingFlags.Static | BindingFlags.NonPublic)
|
||||
.CreateDelegate(typeof(DelegateExecuteMenuItemWithTemporaryContext)) as DelegateExecuteMenuItemWithTemporaryContext;
|
||||
}
|
||||
ExecuteMenuItemWithTemporaryContext("CONTEXT/Component/Remove Component", new UnityEngine.Object[] { rectTransform });
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 22cac2b4858a1474ea0ae59d4c12a512
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/ThirdParty/Tiny Giant Studio/Tiny Giant Studio/Editor/Modular 3D Layouts.meta
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9d9e8526c353c79498fa914f13cd5947
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,169 @@
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
using TinyGiantStudio.Modules;
|
||||
|
||||
#if MODULAR_3D_TEXT
|
||||
using TinyGiantStudio.Text;
|
||||
#endif
|
||||
|
||||
using TinyGiantStudio.EditorHelpers;
|
||||
|
||||
|
||||
namespace TinyGiantStudio.Layout
|
||||
{
|
||||
[CustomEditor(typeof(CircularLayoutGroup))]
|
||||
public class CircularLayoutGroupEditor : Editor
|
||||
{
|
||||
CircularLayoutGroup myTarget;
|
||||
SerializedObject soTarget;
|
||||
|
||||
SerializedProperty autoItemSize;
|
||||
SerializedProperty angle;
|
||||
SerializedProperty useAngle;
|
||||
SerializedProperty style;
|
||||
|
||||
SerializedProperty spread;
|
||||
SerializedProperty radius;
|
||||
SerializedProperty radiusDecreaseRate;
|
||||
|
||||
SerializedProperty alwaysUpdateInPlayMode;
|
||||
SerializedProperty alwaysUpdateBounds;
|
||||
|
||||
SerializedProperty elementUpdater;
|
||||
SerializedProperty showSceneViewGizmo;
|
||||
|
||||
Texture rightIcon;
|
||||
Texture leftIcon;
|
||||
|
||||
|
||||
|
||||
void OnEnable()
|
||||
{
|
||||
myTarget = (CircularLayoutGroup)target;
|
||||
soTarget = new SerializedObject(target);
|
||||
|
||||
rightIcon = EditorGUIUtility.Load("Assets/Plugins/Tiny Giant Studio/Modular 3D Layouts/Utility/Editor Icons/Icon_Right.png") as Texture;
|
||||
leftIcon = EditorGUIUtility.Load("Assets/Plugins/Tiny Giant Studio/Modular 3D Layouts/Utility/Editor Icons/Icon_Left.png") as Texture;
|
||||
|
||||
FindProperties();
|
||||
}
|
||||
|
||||
public override void OnInspectorGUI()
|
||||
{
|
||||
soTarget.Update();
|
||||
EditorGUI.BeginChangeCheck();
|
||||
//EditorGUILayout.PropertyField(direction, GUIContent.none);
|
||||
|
||||
GUILayout.BeginHorizontal();
|
||||
float size = 38;
|
||||
if (myTarget.direction != CircularLayoutGroup.Direction.left)
|
||||
GUI.color = Color.gray;
|
||||
if (GUILayout.Button(leftIcon, GUILayout.Height(size), GUILayout.Width(size))) //need to add undo
|
||||
{
|
||||
myTarget.direction = CircularLayoutGroup.Direction.left;
|
||||
EditorUtility.SetDirty(myTarget);
|
||||
#if MODULAR_3D_TEXT
|
||||
if (myTarget.GetComponent<Modular3DText>())
|
||||
myTarget.GetComponent<Modular3DText>().CleanUpdateText();
|
||||
else
|
||||
#endif
|
||||
myTarget.UpdateLayout();
|
||||
|
||||
}
|
||||
|
||||
GUI.color = Color.white;
|
||||
|
||||
GUILayout.BeginVertical();
|
||||
GUILayout.BeginHorizontal();
|
||||
EditorGUILayout.PropertyField(useAngle, GUIContent.none, GUILayout.MaxWidth(15));
|
||||
|
||||
if (!myTarget.useAngle)
|
||||
GUI.color = Color.gray;
|
||||
EditorGUILayout.PropertyField(angle, GUIContent.none);
|
||||
|
||||
GUILayout.EndHorizontal();
|
||||
if (myTarget.useAngle)
|
||||
GUI.color = Color.gray;
|
||||
else
|
||||
GUI.color = Color.white;
|
||||
EditorGUILayout.PropertyField(style, GUIContent.none);
|
||||
GUILayout.EndVertical();
|
||||
|
||||
|
||||
if (myTarget.direction != CircularLayoutGroup.Direction.right)
|
||||
GUI.color = Color.gray;
|
||||
else
|
||||
GUI.color = Color.white;
|
||||
|
||||
if (GUILayout.Button(rightIcon, GUILayout.Height(size), GUILayout.Width(size))) //need to add undo
|
||||
{
|
||||
myTarget.direction = CircularLayoutGroup.Direction.right;
|
||||
EditorUtility.SetDirty(myTarget);
|
||||
#if MODULAR_3D_TEXT
|
||||
if (myTarget.GetComponent<Modular3DText>())
|
||||
myTarget.GetComponent<Modular3DText>().CleanUpdateText();
|
||||
else
|
||||
#endif
|
||||
myTarget.UpdateLayout();
|
||||
|
||||
}
|
||||
GUI.color = Color.white;
|
||||
GUILayout.EndHorizontal();
|
||||
|
||||
EditorGUILayout.PropertyField(spread);
|
||||
EditorGUILayout.PropertyField(radius);
|
||||
MText_Editor_Methods.HorizontalField(radiusDecreaseRate, "Radius Decrease Rate", "", FieldSize.extraLarge);
|
||||
DrawAutoItemSize();
|
||||
|
||||
if (ModuleDrawer.ElementUpdatersExist())
|
||||
ModuleDrawer.ElementUpdaterContainerList("Element Updater", "", myTarget.elementUpdater, elementUpdater, soTarget);
|
||||
|
||||
GUILayout.Space(5);
|
||||
|
||||
MText_Editor_Methods.ItalicHorizontalField(alwaysUpdateInPlayMode, "Always update in playmode", "For performance, it's better to leave it to false and call UpdateLayout() after making changes.\nTurn this on if you are in a hurry or testing stuff.", FieldSize.gigantic);
|
||||
MText_Editor_Methods.ItalicHorizontalField(alwaysUpdateBounds, "Always update bounds", "For performance, it's better to leave it to false and call GetAllChildBounds() when a bound(size of an element) changes", FieldSize.gigantic);
|
||||
MText_Editor_Methods.ItalicHorizontalField(showSceneViewGizmo, "Show Scene View Gizmo", "", FieldSize.gigantic);
|
||||
|
||||
GUILayout.Space(5);
|
||||
if (EditorGUI.EndChangeCheck())
|
||||
{
|
||||
if (soTarget.ApplyModifiedProperties())
|
||||
{
|
||||
#if MODULAR_3D_TEXT
|
||||
if (myTarget.GetComponent<Modular3DText>())
|
||||
myTarget.GetComponent<Modular3DText>().CleanUpdateText();
|
||||
#endif
|
||||
}
|
||||
//EditorUtility.SetDirty(myTarget);
|
||||
}
|
||||
}
|
||||
|
||||
private void DrawAutoItemSize()
|
||||
{
|
||||
#if MODULAR_3D_TEXT
|
||||
if (!myTarget.GetComponent<Modular3DText>())
|
||||
#endif
|
||||
{
|
||||
EditorGUILayout.PropertyField(autoItemSize);
|
||||
}
|
||||
}
|
||||
|
||||
void FindProperties()
|
||||
{
|
||||
autoItemSize = soTarget.FindProperty("autoItemSize");
|
||||
useAngle = soTarget.FindProperty("useAngle");
|
||||
angle = soTarget.FindProperty("angle");
|
||||
style = soTarget.FindProperty("style");
|
||||
|
||||
spread = soTarget.FindProperty("spread");
|
||||
radius = soTarget.FindProperty("radius");
|
||||
radiusDecreaseRate = soTarget.FindProperty("radiusDecreaseRate");
|
||||
|
||||
alwaysUpdateInPlayMode = soTarget.FindProperty("alwaysUpdateInPlayMode");
|
||||
alwaysUpdateBounds = soTarget.FindProperty("alwaysUpdateBounds");
|
||||
|
||||
elementUpdater = soTarget.FindProperty("elementUpdater");
|
||||
showSceneViewGizmo = soTarget.FindProperty("showSceneViewGizmo");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: aea7f963759a71340af71b416098e2ad
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,547 @@
|
||||
using UnityEditor;
|
||||
using UnityEditor.AnimatedValues;
|
||||
using UnityEngine;
|
||||
using TinyGiantStudio.Modules;
|
||||
|
||||
#if MODULAR_3D_TEXT
|
||||
|
||||
using TinyGiantStudio.Text;
|
||||
|
||||
#endif
|
||||
|
||||
using TinyGiantStudio.EditorHelpers;
|
||||
|
||||
namespace TinyGiantStudio.Layout
|
||||
{
|
||||
[CustomEditor(typeof(GridLayoutGroup))]
|
||||
public class GridLayoutGroupEditor : Editor
|
||||
{
|
||||
#if MODULAR_3D_TEXT
|
||||
public AssetSettings settings;
|
||||
#endif
|
||||
|
||||
private GridLayoutGroup myTarget;
|
||||
private SerializedObject soTarget;
|
||||
|
||||
private SerializedProperty autoItemSize;
|
||||
|
||||
//SerializedProperty justiceHorizontal;
|
||||
private SerializedProperty justiceHorizontalPercent;
|
||||
|
||||
//SerializedProperty justiceVertical;
|
||||
//SerializedProperty JusticeVerticalPercent;
|
||||
private SerializedProperty spacing;
|
||||
|
||||
private SerializedProperty width;
|
||||
private SerializedProperty height;
|
||||
private SerializedProperty lines;
|
||||
private SerializedProperty bounds;
|
||||
private SerializedProperty lineSpacingStyle;
|
||||
private SerializedProperty verticalOverflow;
|
||||
private SerializedProperty elementUpdater;
|
||||
|
||||
private SerializedProperty alwaysUpdateInPlayMode;
|
||||
private SerializedProperty alwaysUpdateBounds;
|
||||
|
||||
private SerializedProperty showSceneViewGizmo;
|
||||
|
||||
//style
|
||||
private static GUIStyle toggleStyle = null;
|
||||
|
||||
private static GUIStyle foldOutStyle = null;
|
||||
private static GUIStyle defaultLabel = null;
|
||||
|
||||
private AnimBool showDebug;
|
||||
|
||||
private static Color openedFoldoutTitleColor = new Color(124 / 255f, 170 / 255f, 239 / 255f, 0.9f);
|
||||
private static Color toggledOnButtonColor = Color.white;
|
||||
private static Color toggledOffButtonColor = Color.gray;
|
||||
|
||||
private Texture justiceHorizontalTexture;
|
||||
|
||||
private void OnEnable()
|
||||
{
|
||||
myTarget = (GridLayoutGroup)target;
|
||||
soTarget = new SerializedObject(target);
|
||||
|
||||
FindProperties();
|
||||
|
||||
#if MODULAR_3D_TEXT
|
||||
if (!settings)
|
||||
settings = StaticMethods.VerifySettings(settings);
|
||||
#endif
|
||||
|
||||
justiceHorizontalTexture = EditorGUIUtility.Load("Assets/Plugins/Tiny Giant Studio/Modular 3D Layouts/Utility/Editor Icons/Justice Horizontal.png") as Texture;
|
||||
|
||||
if (myTarget.gameObject.GetComponentInParent<Canvas>())
|
||||
{
|
||||
if (!myTarget.gameObject.GetComponent<RectTransform>())
|
||||
{
|
||||
myTarget.gameObject.AddComponent<RectTransform>();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (myTarget.gameObject.GetComponent<RectTransform>())
|
||||
{
|
||||
MText_Editor_Methods.RemoveRectTransform(myTarget.gameObject);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public override void OnInspectorGUI()
|
||||
{
|
||||
soTarget.Update();
|
||||
GenerateStyle();
|
||||
EditorGUI.BeginChangeCheck();
|
||||
|
||||
EditorGUILayout.Space(6);
|
||||
DrawSize();
|
||||
EditorGUILayout.Space(6);
|
||||
DrawAlignment();
|
||||
EditorGUILayout.Space(6);
|
||||
DrawControls();
|
||||
|
||||
EditorGUILayout.Space(5);
|
||||
if (ModuleDrawer.ElementUpdatersExist())
|
||||
ModuleDrawer.ElementUpdaterContainerList("Element Updater", "", myTarget.elementUpdater, elementUpdater, soTarget);
|
||||
EditorGUILayout.Space(5);
|
||||
|
||||
MText_Editor_Methods.ItalicHorizontalField(alwaysUpdateInPlayMode, "Always update in playmode", "For performance, it's better to leave it to false and call UpdateLayout() after making changes.\nTurn this on if you are in a hurry or testing stuff.", FieldSize.gigantic);
|
||||
MText_Editor_Methods.ItalicHorizontalField(alwaysUpdateBounds, "Always update bounds", "For performance, it's better to leave it to false and call GetAllChildBounds() when a bound(size of an element) changes", FieldSize.gigantic);
|
||||
MText_Editor_Methods.ItalicHorizontalField(showSceneViewGizmo, "Show Scene View Gizmo", "", FieldSize.gigantic);
|
||||
|
||||
EditorGUILayout.Space(15);
|
||||
DrawDebug();
|
||||
|
||||
if (EditorGUI.EndChangeCheck())
|
||||
{
|
||||
Alignment anchor = myTarget.Anchor;
|
||||
if (soTarget.ApplyModifiedProperties())
|
||||
{
|
||||
#if MODULAR_3D_TEXT
|
||||
if (myTarget.GetComponent<Modular3DText>())
|
||||
{
|
||||
if (anchor != myTarget.Anchor)
|
||||
{
|
||||
myTarget.GetComponent<Modular3DText>().CleanUpdateText();
|
||||
}
|
||||
else
|
||||
{
|
||||
//if (!myTarget.GetComponent<Modular3DText>().ShouldItCreateChild())
|
||||
{
|
||||
myTarget.GetComponent<Modular3DText>().CleanUpdateText();
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
//EditorUtility.SetDirty(myTarget);
|
||||
}
|
||||
}
|
||||
|
||||
private void DrawControls()
|
||||
{
|
||||
GUILayout.BeginHorizontal();
|
||||
EditorGUILayout.LabelField("Spacing", defaultLabel, GUILayout.MaxWidth(75));
|
||||
EditorGUILayout.PropertyField(spacing, GUIContent.none);
|
||||
GUILayout.EndHorizontal();
|
||||
|
||||
#if MODULAR_3D_TEXT
|
||||
if (!myTarget.GetComponent<Modular3DText>())
|
||||
#endif
|
||||
{
|
||||
EditorGUILayout.Space(5);
|
||||
EditorGUILayout.PropertyField(autoItemSize);
|
||||
MText_Editor_Methods.HorizontalField(lineSpacingStyle, "Line Spacing Style", "", FieldSize.large);
|
||||
}
|
||||
MText_Editor_Methods.HorizontalField(verticalOverflow, "Vertical Overflow", "", FieldSize.large);
|
||||
}
|
||||
|
||||
private void DrawAlignment()
|
||||
{
|
||||
Color originalColor = GUI.color;
|
||||
|
||||
GUILayout.BeginHorizontal();
|
||||
|
||||
if (IsHorizontallyLeft())
|
||||
GUI.color = toggledOnButtonColor;
|
||||
else
|
||||
GUI.color = toggledOffButtonColor;
|
||||
if (LeftButton(EditorGUIUtility.IconContent("d_align_horizontally_left")))
|
||||
{
|
||||
Undo.RecordObject(myTarget, "Update layout");
|
||||
if (myTarget.Anchor == Alignment.UpperCenter || myTarget.Anchor == Alignment.UpperRight)
|
||||
myTarget.Anchor = Alignment.UpperLeft;
|
||||
if (myTarget.Anchor == Alignment.MiddleCenter || myTarget.Anchor == Alignment.MiddleRight)
|
||||
myTarget.Anchor = Alignment.MiddleLeft;
|
||||
if (myTarget.Anchor == Alignment.LowerCenter || myTarget.Anchor == Alignment.LowerRight)
|
||||
myTarget.Anchor = Alignment.LowerLeft;
|
||||
EditorUtility.SetDirty(myTarget);
|
||||
}
|
||||
|
||||
if (IsHorizontallyCentered())
|
||||
GUI.color = toggledOnButtonColor;
|
||||
else
|
||||
GUI.color = toggledOffButtonColor;
|
||||
if (MidButton(EditorGUIUtility.IconContent("d_align_horizontally_center")))
|
||||
{
|
||||
Undo.RecordObject(myTarget, "Update layout");
|
||||
if (myTarget.Anchor == Alignment.UpperLeft || myTarget.Anchor == Alignment.UpperRight)
|
||||
myTarget.Anchor = Alignment.UpperCenter;
|
||||
if (myTarget.Anchor == Alignment.MiddleLeft || myTarget.Anchor == Alignment.MiddleRight)
|
||||
myTarget.Anchor = Alignment.MiddleCenter;
|
||||
if (myTarget.Anchor == Alignment.LowerLeft || myTarget.Anchor == Alignment.LowerRight)
|
||||
myTarget.Anchor = Alignment.LowerCenter;
|
||||
EditorUtility.SetDirty(myTarget);
|
||||
}
|
||||
|
||||
if (IsHorizontallyRight())
|
||||
GUI.color = toggledOnButtonColor;
|
||||
else
|
||||
GUI.color = toggledOffButtonColor;
|
||||
if (RightButton(EditorGUIUtility.IconContent("d_align_horizontally_right")))
|
||||
{
|
||||
Undo.RecordObject(myTarget, "Update layout");
|
||||
if (myTarget.Anchor == Alignment.UpperLeft || myTarget.Anchor == Alignment.UpperCenter)
|
||||
myTarget.Anchor = Alignment.UpperRight;
|
||||
if (myTarget.Anchor == Alignment.MiddleLeft || myTarget.Anchor == Alignment.MiddleCenter)
|
||||
myTarget.Anchor = Alignment.MiddleRight;
|
||||
if (myTarget.Anchor == Alignment.LowerLeft || myTarget.Anchor == Alignment.LowerCenter)
|
||||
myTarget.Anchor = Alignment.LowerRight;
|
||||
EditorUtility.SetDirty(myTarget);
|
||||
}
|
||||
|
||||
GUI.color = originalColor;
|
||||
|
||||
GUILayout.EndHorizontal();
|
||||
|
||||
GUILayout.BeginHorizontal();
|
||||
|
||||
if (IsVerticallyUp())
|
||||
GUI.color = toggledOnButtonColor;
|
||||
else
|
||||
GUI.color = toggledOffButtonColor;
|
||||
if (LeftButton(EditorGUIUtility.IconContent("d_align_vertically_top")))
|
||||
{
|
||||
Undo.RecordObject(myTarget, "Update layout");
|
||||
if (myTarget.Anchor == Alignment.MiddleLeft || myTarget.Anchor == Alignment.LowerLeft)
|
||||
myTarget.Anchor = Alignment.UpperLeft;
|
||||
if (myTarget.Anchor == Alignment.MiddleCenter || myTarget.Anchor == Alignment.LowerCenter)
|
||||
myTarget.Anchor = Alignment.UpperCenter;
|
||||
if (myTarget.Anchor == Alignment.MiddleRight || myTarget.Anchor == Alignment.LowerRight)
|
||||
myTarget.Anchor = Alignment.UpperRight;
|
||||
EditorUtility.SetDirty(myTarget);
|
||||
}
|
||||
|
||||
if (IsVerticallyMiddle())
|
||||
GUI.color = toggledOnButtonColor;
|
||||
else
|
||||
GUI.color = toggledOffButtonColor;
|
||||
if (MidButton(EditorGUIUtility.IconContent("d_align_vertically_center")))
|
||||
{
|
||||
Undo.RecordObject(myTarget, "Update layout");
|
||||
if (myTarget.Anchor == Alignment.UpperLeft || myTarget.Anchor == Alignment.LowerLeft)
|
||||
myTarget.Anchor = Alignment.MiddleLeft;
|
||||
if (myTarget.Anchor == Alignment.UpperCenter || myTarget.Anchor == Alignment.LowerCenter)
|
||||
myTarget.Anchor = Alignment.MiddleCenter;
|
||||
if (myTarget.Anchor == Alignment.UpperRight || myTarget.Anchor == Alignment.LowerRight)
|
||||
myTarget.Anchor = Alignment.MiddleRight;
|
||||
EditorUtility.SetDirty(myTarget);
|
||||
}
|
||||
|
||||
if (IsVerticallyBottom())
|
||||
GUI.color = toggledOnButtonColor;
|
||||
else
|
||||
GUI.color = toggledOffButtonColor;
|
||||
if (RightButton(EditorGUIUtility.IconContent("d_align_vertically_bottom")))
|
||||
{
|
||||
Undo.RecordObject(myTarget, "Update layout");
|
||||
if (myTarget.Anchor == Alignment.UpperLeft || myTarget.Anchor == Alignment.MiddleLeft)
|
||||
myTarget.Anchor = Alignment.LowerLeft;
|
||||
if (myTarget.Anchor == Alignment.UpperCenter || myTarget.Anchor == Alignment.MiddleCenter)
|
||||
myTarget.Anchor = Alignment.LowerCenter;
|
||||
if (myTarget.Anchor == Alignment.UpperRight || myTarget.Anchor == Alignment.MiddleRight)
|
||||
myTarget.Anchor = Alignment.LowerRight;
|
||||
EditorUtility.SetDirty(myTarget);
|
||||
}
|
||||
|
||||
GUI.color = originalColor;
|
||||
|
||||
//EditorGUILayout.LabelField(GUIContent.none, GUILayout.MaxWidth(1.5f), GUILayout.MinWidth(1.5f));
|
||||
|
||||
//var verticalJustice = Resources.Load("Justice Vertical") as Texture;
|
||||
|
||||
//GUIContent verticalJusticeContent;
|
||||
|
||||
//if (verticalJustice)
|
||||
// verticalJusticeContent = new GUIContent(verticalJustice, "Vertical Justice.\nTry to fill the full height with content.");
|
||||
//else
|
||||
// verticalJusticeContent = new GUIContent("Justice Horizontal");
|
||||
|
||||
//if (myTarget.JusticeVertical)
|
||||
// GUI.color = toggledOnButtonColor;
|
||||
//else
|
||||
// GUI.color = toggledOffButtonColor;
|
||||
|
||||
//if (LeftButton(verticalJusticeContent))
|
||||
//{
|
||||
// myTarget.JusticeVertical = !myTarget.JusticeVertical;
|
||||
//}
|
||||
|
||||
//if (myTarget.JusticeVertical)
|
||||
//{
|
||||
// EditorGUILayout.LabelField(GUIContent.none, GUILayout.MinWidth(1), GUILayout.MaxWidth(1));
|
||||
// EditorGUILayout.LabelField(new GUIContent("%", "Justice will be only be applied if the elements hold equal/more than the % height"), GUILayout.MinWidth(15), GUILayout.MaxWidth(15));
|
||||
// EditorGUILayout.PropertyField(JusticeVerticalPercent, GUIContent.none, GUILayout.MinWidth(50), GUILayout.MaxWidth(50));
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
//EditorGUILayout.LabelField(GUIContent.none, GUILayout.MinWidth(1), GUILayout.MaxWidth(1));
|
||||
//EditorGUILayout.LabelField(GUIContent.none, GUILayout.MinWidth(15), GUILayout.MaxWidth(15));
|
||||
//EditorGUILayout.LabelField(GUIContent.none, GUILayout.MinWidth(50), GUILayout.MaxWidth(50));
|
||||
//}
|
||||
GUILayout.EndHorizontal();
|
||||
GUILayout.Space(5);
|
||||
|
||||
GUILayout.BeginHorizontal();
|
||||
JusticeHorizontal();
|
||||
GUILayout.EndHorizontal();
|
||||
|
||||
GUI.color = originalColor;
|
||||
}
|
||||
|
||||
private void JusticeHorizontal()
|
||||
{
|
||||
GUIContent content;
|
||||
|
||||
if (justiceHorizontalTexture)
|
||||
content = new GUIContent(justiceHorizontalTexture, "Horizontal Justice.\nTry to fill the full width with content.");
|
||||
else
|
||||
content = new GUIContent("Justice Horizontal");
|
||||
|
||||
if (myTarget.JusticeHorizontal)
|
||||
GUI.color = toggledOnButtonColor;
|
||||
else
|
||||
GUI.color = toggledOffButtonColor;
|
||||
|
||||
if (MidButton(content))
|
||||
{
|
||||
Undo.RecordObject(myTarget, "Update layout");
|
||||
myTarget.JusticeHorizontal = !myTarget.JusticeHorizontal;
|
||||
}
|
||||
|
||||
if (myTarget.JusticeHorizontal)
|
||||
{
|
||||
GUI.color = toggledOnButtonColor;
|
||||
EditorGUILayout.LabelField(new GUIContent("%", "Justice will be only be applied if the elements hold equal/more than the % width"), GUILayout.MinWidth(15), GUILayout.MaxWidth(15));
|
||||
EditorGUILayout.PropertyField(justiceHorizontalPercent, GUIContent.none, GUILayout.MinWidth(50), GUILayout.MaxWidth(50));
|
||||
}
|
||||
else
|
||||
{
|
||||
EditorGUILayout.LabelField(GUIContent.none, GUILayout.MinWidth(15), GUILayout.MaxWidth(15));
|
||||
EditorGUILayout.LabelField(GUIContent.none, GUILayout.MinWidth(50), GUILayout.MaxWidth(50));
|
||||
}
|
||||
}
|
||||
|
||||
private bool IsHorizontallyLeft()
|
||||
{
|
||||
if (myTarget.Anchor == Alignment.UpperLeft || myTarget.Anchor == Alignment.MiddleLeft || myTarget.Anchor == Alignment.LowerLeft)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
private bool IsHorizontallyCentered()
|
||||
{
|
||||
if (myTarget.Anchor == Alignment.UpperCenter || myTarget.Anchor == Alignment.MiddleCenter || myTarget.Anchor == Alignment.LowerCenter)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
private bool IsHorizontallyRight()
|
||||
{
|
||||
if (myTarget.Anchor == Alignment.UpperRight || myTarget.Anchor == Alignment.MiddleRight || myTarget.Anchor == Alignment.LowerRight)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
private bool IsVerticallyUp()
|
||||
{
|
||||
if (myTarget.Anchor == Alignment.UpperLeft || myTarget.Anchor == Alignment.UpperCenter || myTarget.Anchor == Alignment.UpperRight)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
private bool IsVerticallyMiddle()
|
||||
{
|
||||
if (myTarget.Anchor == Alignment.MiddleLeft || myTarget.Anchor == Alignment.MiddleCenter || myTarget.Anchor == Alignment.MiddleRight)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
private bool IsVerticallyBottom()
|
||||
{
|
||||
if (myTarget.Anchor == Alignment.LowerLeft || myTarget.Anchor == Alignment.LowerCenter || myTarget.Anchor == Alignment.LowerRight)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
private void DrawSize()
|
||||
{
|
||||
if (myTarget.GetComponent<RectTransform>())
|
||||
return;
|
||||
|
||||
float labelWidth = EditorGUIUtility.labelWidth;
|
||||
|
||||
GUILayout.BeginHorizontal();
|
||||
|
||||
EditorGUIUtility.labelWidth = 50;
|
||||
EditorGUILayout.PropertyField(width);
|
||||
EditorGUILayout.PropertyField(height);
|
||||
GUILayout.EndHorizontal();
|
||||
|
||||
EditorGUIUtility.labelWidth = labelWidth;
|
||||
}
|
||||
|
||||
private void DrawDebug()
|
||||
{
|
||||
GUILayout.BeginVertical(EditorStyles.helpBox);
|
||||
EditorGUI.indentLevel = 1;
|
||||
|
||||
GUILayout.BeginVertical(EditorStyles.toolbar);
|
||||
showDebug.target = EditorGUILayout.Foldout(showDebug.target, "Debug", true, foldOutStyle);
|
||||
GUILayout.EndVertical();
|
||||
|
||||
if (EditorGUILayout.BeginFadeGroup(showDebug.faded))
|
||||
{
|
||||
//DrawUILine(blueFaded);
|
||||
EditorGUI.indentLevel = 1;
|
||||
EditorGUILayout.PropertyField(lines);
|
||||
EditorGUILayout.PropertyField(bounds);
|
||||
|
||||
GUILayout.Space(5);
|
||||
}
|
||||
EditorGUILayout.EndFadeGroup();
|
||||
GUILayout.EndVertical();
|
||||
}
|
||||
|
||||
private void FindProperties()
|
||||
{
|
||||
autoItemSize = soTarget.FindProperty("autoItemSize");
|
||||
|
||||
//justiceHorizontal = soTarget.FindProperty("_justiceHorizontal");
|
||||
//justiceVertical = soTarget.FindProperty("_justiceVertical");
|
||||
justiceHorizontalPercent = soTarget.FindProperty("_justiceHorizontalPercent");
|
||||
//JusticeVerticalPercent = soTarget.FindProperty("_justiceVerticalPercent");
|
||||
spacing = soTarget.FindProperty("_spacing");
|
||||
width = soTarget.FindProperty("_width");
|
||||
height = soTarget.FindProperty("_height");
|
||||
lines = soTarget.FindProperty("lines");
|
||||
bounds = soTarget.FindProperty("bounds");
|
||||
lineSpacingStyle = soTarget.FindProperty("_lineSpacingStyle");
|
||||
verticalOverflow = soTarget.FindProperty("_verticalOverflow");
|
||||
elementUpdater = soTarget.FindProperty("elementUpdater");
|
||||
|
||||
alwaysUpdateInPlayMode = soTarget.FindProperty("alwaysUpdateInPlayMode");
|
||||
alwaysUpdateBounds = soTarget.FindProperty("alwaysUpdateBounds");
|
||||
|
||||
showSceneViewGizmo = soTarget.FindProperty("showSceneViewGizmo");
|
||||
|
||||
showDebug = new AnimBool(false);
|
||||
showDebug.valueChanged.AddListener(Repaint);
|
||||
}
|
||||
|
||||
private void GenerateStyle()
|
||||
{
|
||||
#if MODULAR_3D_TEXT
|
||||
if (EditorGUIUtility.isProSkin)
|
||||
{
|
||||
if (settings)
|
||||
openedFoldoutTitleColor = settings.openedFoldoutTitleColor_darkSkin;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (settings)
|
||||
openedFoldoutTitleColor = settings.openedFoldoutTitleColor_lightSkin;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (toggleStyle == null)
|
||||
{
|
||||
toggleStyle = new GUIStyle(GUI.skin.button);
|
||||
toggleStyle.margin = new RectOffset(0, 0, toggleStyle.margin.top, toggleStyle.margin.bottom);
|
||||
}
|
||||
|
||||
if (foldOutStyle == null)
|
||||
{
|
||||
foldOutStyle = new GUIStyle(EditorStyles.foldout)
|
||||
{
|
||||
overflow = new RectOffset(-10, 0, 3, 0),
|
||||
padding = new RectOffset(15, 0, -3, 0),
|
||||
fontStyle = FontStyle.Bold
|
||||
};
|
||||
foldOutStyle.onNormal.textColor = openedFoldoutTitleColor;
|
||||
}
|
||||
|
||||
if (defaultLabel == null)
|
||||
{
|
||||
defaultLabel = new GUIStyle(EditorStyles.whiteMiniLabel)
|
||||
{
|
||||
fontStyle = FontStyle.Italic,
|
||||
fontSize = 12
|
||||
};
|
||||
defaultLabel.normal.textColor = ThemeBasedLabelColor();
|
||||
}
|
||||
|
||||
EditorStyles.popup.fontSize = 11;
|
||||
EditorStyles.popup.fixedHeight = 18;
|
||||
}
|
||||
|
||||
|
||||
private Color ThemeBasedLabelColor()
|
||||
{
|
||||
if (EditorGUIUtility.isProSkin)
|
||||
return new Color(0.9f, 0.9f, 0.9f, 0.75f);
|
||||
else
|
||||
return new Color(0.1f, 0.1f, 0.1f, 0.75f);
|
||||
}
|
||||
|
||||
|
||||
private bool LeftButton(GUIContent content)
|
||||
{
|
||||
bool clicked = false;
|
||||
Rect rect = GUILayoutUtility.GetRect(20, 20);
|
||||
|
||||
GUI.BeginGroup(rect);
|
||||
if (GUI.Button(new Rect(0, 0, rect.width + toggleStyle.border.right, rect.height), content, toggleStyle))
|
||||
clicked = true;
|
||||
|
||||
GUI.EndGroup();
|
||||
return clicked;
|
||||
}
|
||||
|
||||
private bool MidButton(GUIContent content)
|
||||
{
|
||||
bool clicked = false;
|
||||
Rect rect = GUILayoutUtility.GetRect(20, 20);
|
||||
|
||||
GUI.BeginGroup(rect);
|
||||
if (GUI.Button(new Rect(-toggleStyle.border.left, 0, rect.width + toggleStyle.border.left + toggleStyle.border.right, rect.height), content, toggleStyle))
|
||||
clicked = true;
|
||||
GUI.EndGroup();
|
||||
return clicked;
|
||||
}
|
||||
|
||||
private bool RightButton(GUIContent content)
|
||||
{
|
||||
bool clicked = false;
|
||||
Rect rect = GUILayoutUtility.GetRect(20, 20);
|
||||
|
||||
GUI.BeginGroup(rect);
|
||||
if (GUI.Button(new Rect(-toggleStyle.border.left, 0, rect.width + toggleStyle.border.left, rect.height), content, toggleStyle))
|
||||
clicked = true;
|
||||
GUI.EndGroup();
|
||||
return clicked;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 94169001ec1b9f14da13c5409a4edd74
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,109 @@
|
||||
using TinyGiantStudio.EditorHelpers;
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
|
||||
namespace TinyGiantStudio.Layout
|
||||
{
|
||||
[CustomEditor(typeof(LayoutElement))]
|
||||
public class LayoutElementEditor : Editor
|
||||
{
|
||||
LayoutElement myTarget;
|
||||
SerializedObject soTarget;
|
||||
|
||||
SerializedProperty autoCalculateSize;
|
||||
|
||||
SerializedProperty width;
|
||||
SerializedProperty height;
|
||||
|
||||
SerializedProperty xOffset;
|
||||
SerializedProperty yOffset;
|
||||
SerializedProperty zOffset;
|
||||
|
||||
SerializedProperty ignoreElement;
|
||||
SerializedProperty lineBreak;
|
||||
SerializedProperty space;
|
||||
|
||||
|
||||
void OnEnable()
|
||||
{
|
||||
myTarget = (LayoutElement)target;
|
||||
soTarget = new SerializedObject(target);
|
||||
|
||||
FindProperties();
|
||||
}
|
||||
public override void OnInspectorGUI()
|
||||
{
|
||||
soTarget.Update();
|
||||
GenerateStyle();
|
||||
EditorGUI.BeginChangeCheck();
|
||||
|
||||
if (myTarget.ignoreElement || myTarget.lineBreak || myTarget.space)
|
||||
GUI.enabled = false;
|
||||
|
||||
MText_Editor_Methods.ItalicHorizontalField(autoCalculateSize, "Auto Calculate Size", "", FieldSize.large);
|
||||
GUILayout.Space(10);
|
||||
|
||||
if (myTarget.autoCalculateSize)
|
||||
GUI.enabled = false;
|
||||
|
||||
GUILayout.BeginHorizontal();
|
||||
MText_Editor_Methods.HorizontalField(height, "Height", "", FieldSize.tiny);
|
||||
GUILayout.FlexibleSpace();
|
||||
MText_Editor_Methods.HorizontalField(width, "Width", "", FieldSize.tiny);
|
||||
GUILayout.FlexibleSpace();
|
||||
GUILayout.EndHorizontal();
|
||||
|
||||
GUI.enabled = true;
|
||||
if (myTarget.ignoreElement || myTarget.lineBreak || myTarget.space)
|
||||
GUI.enabled = false;
|
||||
|
||||
GUILayout.BeginVertical();
|
||||
GUILayout.Label("Offset");
|
||||
EditorGUI.indentLevel = 2;
|
||||
MText_Editor_Methods.HorizontalField(xOffset, "X", "", FieldSize.tiny);
|
||||
MText_Editor_Methods.HorizontalField(yOffset, "Y", "", FieldSize.tiny);
|
||||
MText_Editor_Methods.HorizontalField(zOffset, "Z", "", FieldSize.tiny);
|
||||
GUILayout.EndHorizontal();
|
||||
|
||||
GUILayout.Space(10);
|
||||
EditorGUI.indentLevel = 0;
|
||||
GUI.enabled = true;
|
||||
MText_Editor_Methods.HorizontalField(ignoreElement, "Ignore Element", "Ignores this element in layout group.", FieldSize.extraLarge);
|
||||
if (myTarget.ignoreElement)
|
||||
GUI.enabled = false;
|
||||
MText_Editor_Methods.HorizontalField(lineBreak, "LineBreak", "Used in Grid layout.\nEnds current line and moves everything after it to next one.", FieldSize.extraLarge);
|
||||
MText_Editor_Methods.HorizontalField(space, "Space", "Used in Grid layout.", FieldSize.extraLarge);
|
||||
|
||||
|
||||
if (EditorGUI.EndChangeCheck())
|
||||
{
|
||||
if (soTarget.ApplyModifiedProperties())
|
||||
{
|
||||
EditorUtility.SetDirty(myTarget);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void GenerateStyle()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void FindProperties()
|
||||
{
|
||||
autoCalculateSize = soTarget.FindProperty("autoCalculateSize");
|
||||
|
||||
width = soTarget.FindProperty("width");
|
||||
height = soTarget.FindProperty("height");
|
||||
|
||||
xOffset = soTarget.FindProperty("xOffset");
|
||||
yOffset = soTarget.FindProperty("yOffset");
|
||||
zOffset = soTarget.FindProperty("zOffset");
|
||||
|
||||
ignoreElement = soTarget.FindProperty("ignoreElement");
|
||||
lineBreak = soTarget.FindProperty("lineBreak");
|
||||
space = soTarget.FindProperty("space");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1012e2a46d4c30a46ab12520d6276d43
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,62 @@
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
namespace TinyGiantStudio.Layout
|
||||
{
|
||||
public class LayoutsMenuItem : MonoBehaviour //monobehaviour is required for destroy immediate/instantiate etc.
|
||||
{
|
||||
[UnityEditor.MenuItem("GameObject/3D Object/Tiny Giant Studio/Layouts/Grid", false, 30001)]
|
||||
static void CreateGrid(MenuCommand menuCommand)
|
||||
{
|
||||
// Create a custom game object
|
||||
GameObject go = new GameObject("Grid Layout (M3D)");
|
||||
go.AddComponent<GridLayoutGroup>();
|
||||
|
||||
// Ensure it gets reparented if this was a context click (otherwise does nothing)
|
||||
GameObjectUtility.SetParentAndAlign(go, menuCommand.context as GameObject);
|
||||
// Register the creation in the undo system
|
||||
Undo.RegisterCreatedObjectUndo(go, "Create " + go.name);
|
||||
Selection.activeObject = go;
|
||||
}
|
||||
[UnityEditor.MenuItem("GameObject/3D Object/Tiny Giant Studio/Layouts/Circular", false, 30002)]
|
||||
static void CreateCircle(MenuCommand menuCommand)
|
||||
{
|
||||
// Create a custom game object
|
||||
GameObject go = new GameObject("Circular Layout (M3D)");
|
||||
go.AddComponent<CircularLayoutGroup>();
|
||||
|
||||
// Ensure it gets reparented if this was a context click (otherwise does nothing)
|
||||
GameObjectUtility.SetParentAndAlign(go, menuCommand.context as GameObject);
|
||||
// Register the creation in the undo system
|
||||
Undo.RegisterCreatedObjectUndo(go, "Create " + go.name);
|
||||
Selection.activeObject = go;
|
||||
}
|
||||
[UnityEditor.MenuItem("GameObject/3D Object/Tiny Giant Studio/Layouts/Linear", false, 30003)]
|
||||
static void CreateLinearLayout(MenuCommand menuCommand)
|
||||
{
|
||||
// Create a custom game object
|
||||
GameObject go = new GameObject("Linear Layout (M3D)");
|
||||
go.AddComponent<LinearLayoutGroup>().alignment = LinearLayoutGroup.Alignment.HorizontalMiddle;
|
||||
|
||||
// Ensure it gets reparented if this was a context click (otherwise does nothing)
|
||||
GameObjectUtility.SetParentAndAlign(go, menuCommand.context as GameObject);
|
||||
// Register the creation in the undo system
|
||||
Undo.RegisterCreatedObjectUndo(go, "Create " + go.name);
|
||||
Selection.activeObject = go;
|
||||
}
|
||||
|
||||
[UnityEditor.MenuItem("GameObject/3D Object/Tiny Giant Studio/Layouts/3D Volume", false, 30001)]
|
||||
static void CreateVolumeLayout(MenuCommand menuCommand)
|
||||
{
|
||||
// Create a custom game object
|
||||
GameObject go = new GameObject("Volume Layout (M3D)");
|
||||
go.AddComponent<VolumeLayoutGroup>();
|
||||
|
||||
// Ensure it gets reparented if this was a context click (otherwise does nothing)
|
||||
GameObjectUtility.SetParentAndAlign(go, menuCommand.context as GameObject);
|
||||
// Register the creation in the undo system
|
||||
Undo.RegisterCreatedObjectUndo(go, "Create " + go.name);
|
||||
Selection.activeObject = go;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9e89237dd518ea34fb201b5e59ad0ffc
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,332 @@
|
||||
using UnityEditor;
|
||||
using UnityEditor.AnimatedValues;
|
||||
using UnityEngine;
|
||||
using TinyGiantStudio.Modules;
|
||||
|
||||
#if MODULAR_3D_TEXT
|
||||
|
||||
using TinyGiantStudio.Text;
|
||||
|
||||
#endif
|
||||
|
||||
using TinyGiantStudio.EditorHelpers;
|
||||
|
||||
namespace TinyGiantStudio.Layout
|
||||
{
|
||||
[CustomEditor(typeof(LinearLayoutGroup))]
|
||||
public class LinearLayoutGroupEditor : Editor
|
||||
{
|
||||
#if MODULAR_3D_TEXT
|
||||
private static AssetSettings settings;
|
||||
#endif
|
||||
|
||||
private LinearLayoutGroup myTarget;
|
||||
private SerializedObject soTarget;
|
||||
|
||||
private SerializedProperty autoItemSize;
|
||||
private SerializedProperty spacing;
|
||||
private SerializedProperty width;
|
||||
private SerializedProperty overflow;
|
||||
private SerializedProperty addCharacterWidthWhenCaclulatingOverflow;
|
||||
private SerializedProperty alignment;
|
||||
private SerializedProperty elementUpdater;
|
||||
|
||||
private SerializedProperty alwaysUpdateInPlayMode;
|
||||
private SerializedProperty alwaysUpdateBounds;
|
||||
|
||||
private SerializedProperty randomizeRotations;
|
||||
private SerializedProperty minimumRandomRotation;
|
||||
private SerializedProperty maximumRandomRotation;
|
||||
|
||||
private SerializedProperty bounds;
|
||||
|
||||
private AnimBool showDebug;
|
||||
|
||||
private static GUIStyle foldOutStyle = null;
|
||||
private static GUIStyle toggleStyle = null;
|
||||
|
||||
private static Color openedFoldoutTitleColor = new Color(124 / 255f, 170 / 255f, 239 / 255f, 0.9f);
|
||||
|
||||
private LinearLayoutGroup.Alignment secondaryAlignment;
|
||||
|
||||
private void OnEnable()
|
||||
{
|
||||
myTarget = (LinearLayoutGroup)target;
|
||||
soTarget = new SerializedObject(target);
|
||||
|
||||
#if MODULAR_3D_TEXT
|
||||
if (!settings)
|
||||
settings = StaticMethods.VerifySettings(settings);
|
||||
#endif
|
||||
FindProperties();
|
||||
}
|
||||
|
||||
public override void OnInspectorGUI()
|
||||
{
|
||||
GenerateStlye();
|
||||
secondaryAlignment = myTarget.secondaryAlignment;
|
||||
EditorGUI.BeginChangeCheck();
|
||||
|
||||
Alignment();
|
||||
|
||||
EditorGUILayout.Space(5);
|
||||
#if MODULAR_3D_TEXT
|
||||
if (!myTarget.gameObject.GetComponent<Modular3DText>())
|
||||
EditorGUILayout.PropertyField(autoItemSize);
|
||||
#endif
|
||||
EditorGUILayout.PropertyField(spacing);
|
||||
if (myTarget.alignment == LinearLayoutGroup.Alignment.HorizontalMiddle || myTarget.alignment == LinearLayoutGroup.Alignment.Left || myTarget.alignment == LinearLayoutGroup.Alignment.Right)
|
||||
{
|
||||
EditorGUILayout.PropertyField(overflow);
|
||||
if (myTarget.overflow != Overflow.overflow)
|
||||
EditorGUILayout.PropertyField(addCharacterWidthWhenCaclulatingOverflow);
|
||||
}
|
||||
#if MODULAR_3D_TEXT
|
||||
if (myTarget.alignment == LinearLayoutGroup.Alignment.HorizontalMiddle || myTarget.alignment == LinearLayoutGroup.Alignment.Left || myTarget.alignment == LinearLayoutGroup.Alignment.Right)
|
||||
{
|
||||
if (!myTarget.gameObject.GetComponent<Modular3DText>())
|
||||
{
|
||||
if (myTarget.overflow != Overflow.overflow)
|
||||
EditorGUILayout.PropertyField(width);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (myTarget.gameObject.GetComponent<Modular3DText>().autoFontSize || myTarget.overflow != Overflow.overflow)
|
||||
EditorGUILayout.PropertyField(width);
|
||||
}
|
||||
}
|
||||
#else
|
||||
if (myTarget.overflow != Overflow.overflow)
|
||||
EditorGUILayout.PropertyField(width);
|
||||
#endif
|
||||
|
||||
EditorGUILayout.Space(5);
|
||||
EditorGUILayout.PropertyField(randomizeRotations);
|
||||
if (myTarget.randomizeRotations)
|
||||
{
|
||||
EditorGUILayout.PropertyField(minimumRandomRotation);
|
||||
EditorGUILayout.PropertyField(maximumRandomRotation);
|
||||
}
|
||||
|
||||
EditorGUILayout.Space(5);
|
||||
if (ModuleDrawer.ElementUpdatersExist())
|
||||
ModuleDrawer.ElementUpdaterContainerList("Element Updater", "", myTarget.elementUpdater, elementUpdater, soTarget);
|
||||
|
||||
EditorGUILayout.Space(5);
|
||||
MText_Editor_Methods.ItalicHorizontalField(alwaysUpdateInPlayMode, "Always update in playmode", "For performance, it's better to leave it to false and call UpdateLayout() after making changes.\nTurn this on if you are in a hurry or testing stuff.", FieldSize.gigantic);
|
||||
MText_Editor_Methods.ItalicHorizontalField(alwaysUpdateBounds, "Always update bounds", "For performance, it's better to leave it to false and call GetAllChildBounds() when a bound(size of an element) changes", FieldSize.gigantic);
|
||||
EditorGUILayout.Space(5);
|
||||
|
||||
DebugFoldout();
|
||||
if (EditorGUI.EndChangeCheck())
|
||||
{
|
||||
//soTarget.ApplyModifiedProperties();
|
||||
LinearLayoutGroup.Alignment anchor = myTarget.alignment;
|
||||
if (soTarget.ApplyModifiedProperties())
|
||||
{
|
||||
myTarget.rotationChanged = true;
|
||||
|
||||
#if MODULAR_3D_TEXT
|
||||
if (myTarget.GetComponent<Modular3DText>())
|
||||
{
|
||||
if (anchor != myTarget.alignment)
|
||||
{
|
||||
myTarget.GetComponent<Modular3DText>().CleanUpdateText();
|
||||
}
|
||||
else
|
||||
{
|
||||
//if (!myTarget.GetComponent<Modular3DText>().ShouldItCreateChild())
|
||||
{
|
||||
myTarget.GetComponent<Modular3DText>().CleanUpdateText();
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
//EditorUtility.SetDirty(myTarget);
|
||||
|
||||
if (secondaryAlignment != myTarget.secondaryAlignment)
|
||||
{
|
||||
Undo.RecordObject(myTarget, "Update secondary alignment");
|
||||
myTarget.secondaryAlignment = secondaryAlignment;
|
||||
#if MODULAR_3D_TEXT
|
||||
if (myTarget.GetComponent<Modular3DText>())
|
||||
{
|
||||
myTarget.GetComponent<Modular3DText>().CleanUpdateText();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private static Color toggledOnButtonColor = Color.white;
|
||||
private static Color toggledOffButtonColor = Color.gray;
|
||||
|
||||
private void Alignment()
|
||||
{
|
||||
EditorGUILayout.PropertyField(alignment, GUIContent.none);
|
||||
|
||||
if (myTarget.alignment == LinearLayoutGroup.Alignment.Left || myTarget.alignment == LinearLayoutGroup.Alignment.HorizontalMiddle || myTarget.alignment == LinearLayoutGroup.Alignment.Right)
|
||||
{
|
||||
GUILayout.BeginHorizontal();
|
||||
Color originalColor = GUI.color;
|
||||
|
||||
if (myTarget.secondaryAlignment == LinearLayoutGroup.Alignment.Top)
|
||||
GUI.color = toggledOnButtonColor;
|
||||
else
|
||||
GUI.color = toggledOffButtonColor;
|
||||
if (LeftButton(EditorGUIUtility.IconContent("d_align_vertically_top")))
|
||||
{
|
||||
//Undo.RecordObject(myTarget, "Changed secondary alignment");
|
||||
secondaryAlignment = LinearLayoutGroup.Alignment.Top;
|
||||
//myTarget.secondaryAlignment = LinearLayoutGroup.Alignment.Top;
|
||||
//if (myTarget.GetComponent<Modular3DText>())
|
||||
//{
|
||||
// myTarget.GetComponent<Modular3DText>().CleanUpdateText();
|
||||
//}
|
||||
}
|
||||
|
||||
if (myTarget.secondaryAlignment == LinearLayoutGroup.Alignment.VerticleMiddle)
|
||||
GUI.color = toggledOnButtonColor;
|
||||
else
|
||||
GUI.color = toggledOffButtonColor;
|
||||
if (MidButton(EditorGUIUtility.IconContent("d_align_vertically_center")))
|
||||
{
|
||||
//Undo.RecordObject(myTarget, "Changed secondary alignment");
|
||||
secondaryAlignment = LinearLayoutGroup.Alignment.VerticleMiddle;
|
||||
//myTarget.secondaryAlignment = LinearLayoutGroup.Alignment.VerticleMiddle;
|
||||
//if (myTarget.GetComponent<Modular3DText>())
|
||||
//{
|
||||
// myTarget.GetComponent<Modular3DText>().CleanUpdateText();
|
||||
//}
|
||||
}
|
||||
|
||||
if (myTarget.secondaryAlignment == LinearLayoutGroup.Alignment.Bottom)
|
||||
GUI.color = toggledOnButtonColor;
|
||||
else
|
||||
GUI.color = toggledOffButtonColor;
|
||||
if (RightButton(EditorGUIUtility.IconContent("d_align_vertically_bottom")))
|
||||
{
|
||||
//Undo.RecordObject(myTarget, "Changed secondary alignment");
|
||||
secondaryAlignment = LinearLayoutGroup.Alignment.Bottom;
|
||||
//myTarget.secondaryAlignment = LinearLayoutGroup.Alignment.Bottom;
|
||||
//if (myTarget.GetComponent<Modular3DText>())
|
||||
//{
|
||||
// myTarget.GetComponent<Modular3DText>().CleanUpdateText();
|
||||
//}
|
||||
}
|
||||
GUILayout.EndHorizontal();
|
||||
GUI.color = originalColor;
|
||||
}
|
||||
}
|
||||
|
||||
private static void GenerateStlye()
|
||||
{
|
||||
#if MODULAR_3D_TEXT
|
||||
if (EditorGUIUtility.isProSkin)
|
||||
{
|
||||
if (settings)
|
||||
openedFoldoutTitleColor = settings.openedFoldoutTitleColor_darkSkin;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (settings)
|
||||
openedFoldoutTitleColor = settings.openedFoldoutTitleColor_lightSkin;
|
||||
}
|
||||
#endif
|
||||
if (foldOutStyle == null)
|
||||
{
|
||||
foldOutStyle = new GUIStyle(EditorStyles.foldout)
|
||||
{
|
||||
overflow = new RectOffset(-10, 0, 3, 0),
|
||||
padding = new RectOffset(15, 0, -3, 0),
|
||||
fontStyle = FontStyle.Bold
|
||||
};
|
||||
foldOutStyle.onNormal.textColor = openedFoldoutTitleColor;
|
||||
}
|
||||
|
||||
if (toggleStyle == null)
|
||||
{
|
||||
toggleStyle = new GUIStyle(GUI.skin.button);
|
||||
toggleStyle.margin = new RectOffset(0, 0, toggleStyle.margin.top, toggleStyle.margin.bottom);
|
||||
}
|
||||
}
|
||||
|
||||
private void DebugFoldout()
|
||||
{
|
||||
GUILayout.BeginVertical(EditorStyles.helpBox);
|
||||
EditorGUI.indentLevel = 1;
|
||||
GUILayout.BeginVertical(EditorStyles.toolbar);
|
||||
showDebug.target = EditorGUILayout.Foldout(showDebug.target, "Debug", true, foldOutStyle);
|
||||
GUILayout.EndVertical();
|
||||
if (EditorGUILayout.BeginFadeGroup(showDebug.faded))
|
||||
{
|
||||
EditorGUILayout.PropertyField(bounds);
|
||||
}
|
||||
EditorGUILayout.EndFadeGroup();
|
||||
GUILayout.EndVertical();
|
||||
}
|
||||
|
||||
private bool LeftButton(GUIContent content)
|
||||
{
|
||||
bool clicked = false;
|
||||
Rect rect = GUILayoutUtility.GetRect(20, 20);
|
||||
|
||||
GUI.BeginGroup(rect);
|
||||
if (GUI.Button(new Rect(0, 0, rect.width + toggleStyle.border.right, rect.height), content, toggleStyle))
|
||||
clicked = true;
|
||||
|
||||
GUI.EndGroup();
|
||||
return clicked;
|
||||
}
|
||||
|
||||
private bool MidButton(GUIContent content)
|
||||
{
|
||||
bool clicked = false;
|
||||
Rect rect = GUILayoutUtility.GetRect(20, 20);
|
||||
|
||||
GUI.BeginGroup(rect);
|
||||
if (GUI.Button(new Rect(-toggleStyle.border.left, 0, rect.width + toggleStyle.border.left + toggleStyle.border.right, rect.height), content, toggleStyle))
|
||||
clicked = true;
|
||||
GUI.EndGroup();
|
||||
return clicked;
|
||||
}
|
||||
|
||||
private bool RightButton(GUIContent content)
|
||||
{
|
||||
bool clicked = false;
|
||||
Rect rect = GUILayoutUtility.GetRect(20, 20);
|
||||
|
||||
GUI.BeginGroup(rect);
|
||||
if (GUI.Button(new Rect(-toggleStyle.border.left, 0, rect.width + toggleStyle.border.left, rect.height), content, toggleStyle))
|
||||
clicked = true;
|
||||
GUI.EndGroup();
|
||||
return clicked;
|
||||
}
|
||||
|
||||
private void FindProperties()
|
||||
{
|
||||
autoItemSize = soTarget.FindProperty("autoItemSize");
|
||||
spacing = soTarget.FindProperty("spacing");
|
||||
width = soTarget.FindProperty("width");
|
||||
overflow = soTarget.FindProperty("overflow");
|
||||
addCharacterWidthWhenCaclulatingOverflow = soTarget.FindProperty("addCharacterWidthWhenCaclulatingOverflow");
|
||||
|
||||
randomizeRotations = soTarget.FindProperty("randomizeRotations");
|
||||
minimumRandomRotation = soTarget.FindProperty("_minimumRandomRotation");
|
||||
maximumRandomRotation = soTarget.FindProperty("maximumRandomRotation");
|
||||
|
||||
alignment = soTarget.FindProperty("alignment");
|
||||
|
||||
alwaysUpdateInPlayMode = soTarget.FindProperty("alwaysUpdateInPlayMode");
|
||||
alwaysUpdateBounds = soTarget.FindProperty("alwaysUpdateBounds");
|
||||
|
||||
elementUpdater = soTarget.FindProperty("elementUpdater");
|
||||
|
||||
bounds = soTarget.FindProperty("bounds");
|
||||
|
||||
showDebug = new AnimBool(false);
|
||||
showDebug.valueChanged.AddListener(Repaint);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 87ef9c375a8559b4d8b48297f88c144a
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,589 @@
|
||||
using UnityEditor;
|
||||
using UnityEditor.AnimatedValues;
|
||||
using UnityEngine;
|
||||
using TinyGiantStudio.Modules;
|
||||
|
||||
#if MODULAR_3D_TEXT
|
||||
using TinyGiantStudio.Text;
|
||||
#endif
|
||||
using TinyGiantStudio.EditorHelpers;
|
||||
|
||||
namespace TinyGiantStudio.Layout
|
||||
{
|
||||
[CustomEditor(typeof(VolumeLayoutGroup))]
|
||||
public class VolumeLayoutGroupEditor : Editor
|
||||
{
|
||||
#if MODULAR_3D_TEXT
|
||||
public AssetSettings settings;
|
||||
#endif
|
||||
|
||||
VolumeLayoutGroup myTarget;
|
||||
SerializedObject soTarget;
|
||||
|
||||
SerializedProperty autoItemSize;
|
||||
//SerializedProperty justiceHorizontal;
|
||||
SerializedProperty justiceHorizontalPercent;
|
||||
//SerializedProperty justiceVertical;
|
||||
//SerializedProperty JusticeVerticalPercent;
|
||||
SerializedProperty spacing;
|
||||
SerializedProperty width;
|
||||
SerializedProperty height;
|
||||
SerializedProperty depth;
|
||||
|
||||
SerializedProperty lines;
|
||||
SerializedProperty bounds;
|
||||
SerializedProperty lineSpacingStyle;
|
||||
SerializedProperty verticalOverflow;
|
||||
SerializedProperty elementUpdater;
|
||||
|
||||
SerializedProperty alwaysUpdateInPlayMode;
|
||||
SerializedProperty alwaysUpdateBounds;
|
||||
SerializedProperty showSceneViewGizmo;
|
||||
|
||||
//style
|
||||
static GUIStyle areaTitle = null;
|
||||
static GUIStyle toggleStyle = null;
|
||||
static GUIStyle foldOutStyle = null;
|
||||
static GUIStyle defaultLabel = null;
|
||||
|
||||
AnimBool showDebug;
|
||||
|
||||
static Color openedFoldoutTitleColor = new Color(124 / 255f, 170 / 255f, 239 / 255f, 0.9f);
|
||||
static Color toggledOnButtonColor = Color.white;
|
||||
static Color toggledOffButtonColor = Color.gray;
|
||||
|
||||
Texture justiceHorizontalTexture;
|
||||
|
||||
|
||||
|
||||
void OnEnable()
|
||||
{
|
||||
myTarget = (VolumeLayoutGroup)target;
|
||||
soTarget = new SerializedObject(target);
|
||||
|
||||
FindProperties();
|
||||
|
||||
#if MODULAR_3D_TEXT
|
||||
if (!settings)
|
||||
settings = StaticMethods.VerifySettings(settings);
|
||||
#endif
|
||||
|
||||
justiceHorizontalTexture = EditorGUIUtility.Load("Assets/Plugins/Tiny Giant Studio/Modular 3D Layouts/Utility/Editor Icons/Justice Horizontal.png") as Texture;
|
||||
|
||||
|
||||
if (myTarget.gameObject.GetComponentInParent<Canvas>())
|
||||
{
|
||||
if (!myTarget.gameObject.GetComponent<RectTransform>())
|
||||
myTarget.gameObject.AddComponent<RectTransform>();
|
||||
}
|
||||
else
|
||||
{
|
||||
if (myTarget.gameObject.GetComponent<RectTransform>())
|
||||
MText_Editor_Methods.RemoveRectTransform(myTarget.gameObject);
|
||||
}
|
||||
}
|
||||
|
||||
public override void OnInspectorGUI()
|
||||
{
|
||||
soTarget.Update();
|
||||
GenerateStyle();
|
||||
EditorGUI.BeginChangeCheck();
|
||||
|
||||
EditorGUILayout.Space(6);
|
||||
DrawAlignment();
|
||||
EditorGUILayout.Space(6);
|
||||
DrawSize();
|
||||
DrawControls();
|
||||
|
||||
EditorGUILayout.Space(5);
|
||||
if (ModuleDrawer.ElementUpdatersExist())
|
||||
ModuleDrawer.ElementUpdaterContainerList("Element Updater", "", myTarget.elementUpdater, elementUpdater, soTarget);
|
||||
EditorGUILayout.Space(5);
|
||||
MText_Editor_Methods.ItalicHorizontalField(alwaysUpdateInPlayMode, "Always update in playmode", "For performance, it's better to leave it to false and call UpdateLayout() after making changes.\nTurn this on if you are in a hurry or testing stuff.", FieldSize.gigantic);
|
||||
MText_Editor_Methods.ItalicHorizontalField(alwaysUpdateBounds, "Always update bounds", "For performance, it's better to leave it to false and call GetAllChildBounds() when a bound(size of an element) changes", FieldSize.gigantic);
|
||||
MText_Editor_Methods.ItalicHorizontalField(showSceneViewGizmo, "Show Scene View Gizmo", "", FieldSize.gigantic);
|
||||
|
||||
EditorGUILayout.Space(15);
|
||||
DrawDebug();
|
||||
|
||||
if (EditorGUI.EndChangeCheck())
|
||||
{
|
||||
Alignment anchor = myTarget.Anchor;
|
||||
if (soTarget.ApplyModifiedProperties())
|
||||
{
|
||||
#if MODULAR_3D_TEXT
|
||||
if (myTarget.GetComponent<Modular3DText>())
|
||||
{
|
||||
if (anchor != myTarget.Anchor)
|
||||
{
|
||||
myTarget.GetComponent<Modular3DText>().CleanUpdateText();
|
||||
}
|
||||
else
|
||||
{
|
||||
//if (!myTarget.GetComponent<Modular3DText>().ShouldItCreateChild())
|
||||
{
|
||||
myTarget.GetComponent<Modular3DText>().CleanUpdateText();
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
//EditorUtility.SetDirty(myTarget);
|
||||
}
|
||||
}
|
||||
|
||||
void DrawControls()
|
||||
{
|
||||
GUILayout.BeginHorizontal();
|
||||
EditorGUILayout.LabelField("Spacing", defaultLabel, GUILayout.MaxWidth(75));
|
||||
EditorGUILayout.PropertyField(spacing, GUIContent.none);
|
||||
GUILayout.EndHorizontal();
|
||||
|
||||
#if MODULAR_3D_TEXT
|
||||
if (!myTarget.GetComponent<Modular3DText>())
|
||||
#endif
|
||||
{
|
||||
EditorGUILayout.Space(5);
|
||||
EditorGUILayout.PropertyField(autoItemSize);
|
||||
MText_Editor_Methods.HorizontalField(lineSpacingStyle, "Line Spacing Style", "", FieldSize.large);
|
||||
}
|
||||
MText_Editor_Methods.HorizontalField(verticalOverflow, "Vertical Overflow", "", FieldSize.large);
|
||||
}
|
||||
|
||||
void DrawAlignment()
|
||||
{
|
||||
DrawXandYalignment();
|
||||
DrawZalignment();
|
||||
}
|
||||
|
||||
void DrawXandYalignment()
|
||||
{
|
||||
Color originalColor = GUI.color;
|
||||
|
||||
GUILayout.BeginVertical(EditorStyles.helpBox);
|
||||
GUILayout.BeginVertical(EditorStyles.toolbar);
|
||||
GUILayout.Label("Alignment X and Y", areaTitle);
|
||||
GUILayout.EndVertical();
|
||||
|
||||
GUILayout.BeginHorizontal();
|
||||
|
||||
if (IsHorizontallyLeft())
|
||||
GUI.color = toggledOnButtonColor;
|
||||
else
|
||||
GUI.color = toggledOffButtonColor;
|
||||
if (LeftButton(EditorGUIUtility.IconContent("d_align_horizontally_left")))
|
||||
{
|
||||
Undo.RecordObject(myTarget, "Update layout");
|
||||
if (myTarget.Anchor == Alignment.UpperCenter || myTarget.Anchor == Alignment.UpperRight)
|
||||
myTarget.Anchor = Alignment.UpperLeft;
|
||||
if (myTarget.Anchor == Alignment.MiddleCenter || myTarget.Anchor == Alignment.MiddleRight)
|
||||
myTarget.Anchor = Alignment.MiddleLeft;
|
||||
if (myTarget.Anchor == Alignment.LowerCenter || myTarget.Anchor == Alignment.LowerRight)
|
||||
myTarget.Anchor = Alignment.LowerLeft;
|
||||
EditorUtility.SetDirty(myTarget);
|
||||
}
|
||||
|
||||
|
||||
if (IsHorizontallyCentered())
|
||||
GUI.color = toggledOnButtonColor;
|
||||
else
|
||||
GUI.color = toggledOffButtonColor;
|
||||
if (MidButton(EditorGUIUtility.IconContent("d_align_horizontally_center")))
|
||||
{
|
||||
Undo.RecordObject(myTarget, "Update layout");
|
||||
if (myTarget.Anchor == Alignment.UpperLeft || myTarget.Anchor == Alignment.UpperRight)
|
||||
myTarget.Anchor = Alignment.UpperCenter;
|
||||
if (myTarget.Anchor == Alignment.MiddleLeft || myTarget.Anchor == Alignment.MiddleRight)
|
||||
myTarget.Anchor = Alignment.MiddleCenter;
|
||||
if (myTarget.Anchor == Alignment.LowerLeft || myTarget.Anchor == Alignment.LowerRight)
|
||||
myTarget.Anchor = Alignment.LowerCenter;
|
||||
EditorUtility.SetDirty(myTarget);
|
||||
}
|
||||
|
||||
|
||||
if (IsHorizontallyRight())
|
||||
GUI.color = toggledOnButtonColor;
|
||||
else
|
||||
GUI.color = toggledOffButtonColor;
|
||||
if (RightButton(EditorGUIUtility.IconContent("d_align_horizontally_right")))
|
||||
{
|
||||
Undo.RecordObject(myTarget, "Update layout");
|
||||
if (myTarget.Anchor == Alignment.UpperLeft || myTarget.Anchor == Alignment.UpperCenter)
|
||||
myTarget.Anchor = Alignment.UpperRight;
|
||||
if (myTarget.Anchor == Alignment.MiddleLeft || myTarget.Anchor == Alignment.MiddleCenter)
|
||||
myTarget.Anchor = Alignment.MiddleRight;
|
||||
if (myTarget.Anchor == Alignment.LowerLeft || myTarget.Anchor == Alignment.LowerCenter)
|
||||
myTarget.Anchor = Alignment.LowerRight;
|
||||
EditorUtility.SetDirty(myTarget);
|
||||
}
|
||||
|
||||
GUI.color = originalColor;
|
||||
|
||||
GUILayout.EndHorizontal();
|
||||
|
||||
|
||||
|
||||
GUILayout.BeginHorizontal();
|
||||
|
||||
if (IsVerticallyUp())
|
||||
GUI.color = toggledOnButtonColor;
|
||||
else
|
||||
GUI.color = toggledOffButtonColor;
|
||||
if (LeftButton(EditorGUIUtility.IconContent("d_align_vertically_top")))
|
||||
{
|
||||
Undo.RecordObject(myTarget, "Update layout");
|
||||
if (myTarget.Anchor == Alignment.MiddleLeft || myTarget.Anchor == Alignment.LowerLeft)
|
||||
myTarget.Anchor = Alignment.UpperLeft;
|
||||
if (myTarget.Anchor == Alignment.MiddleCenter || myTarget.Anchor == Alignment.LowerCenter)
|
||||
myTarget.Anchor = Alignment.UpperCenter;
|
||||
if (myTarget.Anchor == Alignment.MiddleRight || myTarget.Anchor == Alignment.LowerRight)
|
||||
myTarget.Anchor = Alignment.UpperRight;
|
||||
EditorUtility.SetDirty(myTarget);
|
||||
}
|
||||
|
||||
|
||||
if (IsVerticallyMiddle())
|
||||
GUI.color = toggledOnButtonColor;
|
||||
else
|
||||
GUI.color = toggledOffButtonColor;
|
||||
if (MidButton(EditorGUIUtility.IconContent("d_align_vertically_center")))
|
||||
{
|
||||
Undo.RecordObject(myTarget, "Update layout");
|
||||
if (myTarget.Anchor == Alignment.UpperLeft || myTarget.Anchor == Alignment.LowerLeft)
|
||||
myTarget.Anchor = Alignment.MiddleLeft;
|
||||
if (myTarget.Anchor == Alignment.UpperCenter || myTarget.Anchor == Alignment.LowerCenter)
|
||||
myTarget.Anchor = Alignment.MiddleCenter;
|
||||
if (myTarget.Anchor == Alignment.UpperRight || myTarget.Anchor == Alignment.LowerRight)
|
||||
myTarget.Anchor = Alignment.MiddleRight;
|
||||
EditorUtility.SetDirty(myTarget);
|
||||
}
|
||||
|
||||
|
||||
if (IsVerticallyBottom())
|
||||
GUI.color = toggledOnButtonColor;
|
||||
else
|
||||
GUI.color = toggledOffButtonColor;
|
||||
if (RightButton(EditorGUIUtility.IconContent("d_align_vertically_bottom")))
|
||||
{
|
||||
Undo.RecordObject(myTarget, "Update layout");
|
||||
if (myTarget.Anchor == Alignment.UpperLeft || myTarget.Anchor == Alignment.MiddleLeft)
|
||||
myTarget.Anchor = Alignment.LowerLeft;
|
||||
if (myTarget.Anchor == Alignment.UpperCenter || myTarget.Anchor == Alignment.MiddleCenter)
|
||||
myTarget.Anchor = Alignment.LowerCenter;
|
||||
if (myTarget.Anchor == Alignment.UpperRight || myTarget.Anchor == Alignment.MiddleRight)
|
||||
myTarget.Anchor = Alignment.LowerRight;
|
||||
EditorUtility.SetDirty(myTarget);
|
||||
}
|
||||
|
||||
|
||||
GUI.color = originalColor;
|
||||
|
||||
|
||||
GUILayout.EndHorizontal();
|
||||
GUILayout.Space(5);
|
||||
|
||||
GUILayout.BeginHorizontal();
|
||||
JusticeHorizontal();
|
||||
GUILayout.EndHorizontal();
|
||||
|
||||
GUI.color = originalColor;
|
||||
GUILayout.EndVertical();
|
||||
}
|
||||
void DrawZalignment()
|
||||
{
|
||||
Color originalColor = GUI.color;
|
||||
|
||||
GUILayout.BeginVertical(EditorStyles.helpBox);
|
||||
GUILayout.BeginVertical(EditorStyles.toolbar);
|
||||
GUILayout.Label("Alignment Z axis", areaTitle);
|
||||
GUILayout.EndVertical();
|
||||
|
||||
GUILayout.BeginHorizontal();
|
||||
|
||||
if (myTarget.DepthAlignment == DepthAlignment.front)
|
||||
GUI.color = toggledOnButtonColor;
|
||||
else
|
||||
GUI.color = toggledOffButtonColor;
|
||||
if (LeftButton(EditorGUIUtility.IconContent("d_align_horizontally_left")))
|
||||
{
|
||||
Undo.RecordObject(myTarget, "Update layout");
|
||||
myTarget.DepthAlignment = DepthAlignment.front;
|
||||
EditorUtility.SetDirty(myTarget);
|
||||
}
|
||||
|
||||
|
||||
if (myTarget.DepthAlignment == DepthAlignment.middle)
|
||||
GUI.color = toggledOnButtonColor;
|
||||
else
|
||||
GUI.color = toggledOffButtonColor;
|
||||
if (MidButton(EditorGUIUtility.IconContent("d_align_horizontally_center")))
|
||||
{
|
||||
Undo.RecordObject(myTarget, "Update layout");
|
||||
myTarget.DepthAlignment = DepthAlignment.middle;
|
||||
EditorUtility.SetDirty(myTarget);
|
||||
}
|
||||
|
||||
|
||||
if (myTarget.DepthAlignment == DepthAlignment.back)
|
||||
GUI.color = toggledOnButtonColor;
|
||||
else
|
||||
GUI.color = toggledOffButtonColor;
|
||||
if (RightButton(EditorGUIUtility.IconContent("d_align_horizontally_right")))
|
||||
{
|
||||
Undo.RecordObject(myTarget, "Update layout");
|
||||
myTarget.DepthAlignment = DepthAlignment.back;
|
||||
EditorUtility.SetDirty(myTarget);
|
||||
}
|
||||
|
||||
GUI.color = originalColor;
|
||||
|
||||
GUILayout.EndHorizontal();
|
||||
|
||||
GUILayout.Space(5);
|
||||
|
||||
GUI.color = originalColor;
|
||||
GUILayout.EndVertical();
|
||||
}
|
||||
void JusticeHorizontal()
|
||||
{
|
||||
GUIContent content;
|
||||
|
||||
if (justiceHorizontalTexture)
|
||||
content = new GUIContent(justiceHorizontalTexture, "Horizontal Justice.\nTry to fill the full width with content.");
|
||||
else
|
||||
content = new GUIContent("Justice Horizontal");
|
||||
|
||||
if (myTarget.JusticeHorizontal)
|
||||
GUI.color = toggledOnButtonColor;
|
||||
else
|
||||
GUI.color = toggledOffButtonColor;
|
||||
|
||||
if (MidButton(content))
|
||||
{
|
||||
Undo.RecordObject(myTarget, "Update layout");
|
||||
myTarget.JusticeHorizontal = !myTarget.JusticeHorizontal;
|
||||
}
|
||||
|
||||
if (myTarget.JusticeHorizontal)
|
||||
{
|
||||
GUI.color = toggledOnButtonColor;
|
||||
EditorGUILayout.LabelField(new GUIContent("%", "Justice will be only be applied if the elements hold equal/more than the % width"), GUILayout.MinWidth(15), GUILayout.MaxWidth(15));
|
||||
EditorGUILayout.PropertyField(justiceHorizontalPercent, GUIContent.none, GUILayout.MinWidth(50), GUILayout.MaxWidth(50));
|
||||
}
|
||||
else
|
||||
{
|
||||
EditorGUILayout.LabelField(GUIContent.none, GUILayout.MinWidth(15), GUILayout.MaxWidth(15));
|
||||
EditorGUILayout.LabelField(GUIContent.none, GUILayout.MinWidth(50), GUILayout.MaxWidth(50));
|
||||
}
|
||||
}
|
||||
|
||||
bool IsHorizontallyLeft()
|
||||
{
|
||||
if (myTarget.Anchor == Alignment.UpperLeft || myTarget.Anchor == Alignment.MiddleLeft || myTarget.Anchor == Alignment.LowerLeft)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
bool IsHorizontallyCentered()
|
||||
{
|
||||
if (myTarget.Anchor == Alignment.UpperCenter || myTarget.Anchor == Alignment.MiddleCenter || myTarget.Anchor == Alignment.LowerCenter)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
bool IsHorizontallyRight()
|
||||
{
|
||||
if (myTarget.Anchor == Alignment.UpperRight || myTarget.Anchor == Alignment.MiddleRight || myTarget.Anchor == Alignment.LowerRight)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
bool IsVerticallyUp()
|
||||
{
|
||||
if (myTarget.Anchor == Alignment.UpperLeft || myTarget.Anchor == Alignment.UpperCenter || myTarget.Anchor == Alignment.UpperRight)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
bool IsVerticallyMiddle()
|
||||
{
|
||||
if (myTarget.Anchor == Alignment.MiddleLeft || myTarget.Anchor == Alignment.MiddleCenter || myTarget.Anchor == Alignment.MiddleRight)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
bool IsVerticallyBottom()
|
||||
{
|
||||
if (myTarget.Anchor == Alignment.LowerLeft || myTarget.Anchor == Alignment.LowerCenter || myTarget.Anchor == Alignment.LowerRight)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private void DrawSize()
|
||||
{
|
||||
float labelWidth = EditorGUIUtility.labelWidth;
|
||||
|
||||
GUILayout.BeginHorizontal();
|
||||
|
||||
EditorGUIUtility.labelWidth = 35;
|
||||
EditorGUILayout.PropertyField(width, GUILayout.MinWidth(60));
|
||||
GUILayout.Space(5);
|
||||
EditorGUIUtility.labelWidth = 45;
|
||||
EditorGUILayout.PropertyField(height, GUILayout.MinWidth(70));
|
||||
GUILayout.Space(5);
|
||||
EditorGUIUtility.labelWidth = 37;
|
||||
EditorGUILayout.PropertyField(depth, GUILayout.MinWidth(62));
|
||||
GUILayout.EndHorizontal();
|
||||
|
||||
EditorGUIUtility.labelWidth = labelWidth;
|
||||
}
|
||||
|
||||
|
||||
void DrawDebug()
|
||||
{
|
||||
GUILayout.BeginVertical(EditorStyles.helpBox);
|
||||
EditorGUI.indentLevel = 1;
|
||||
|
||||
GUILayout.BeginVertical(EditorStyles.toolbar);
|
||||
showDebug.target = EditorGUILayout.Foldout(showDebug.target, "Debug", true, defaultLabel);
|
||||
GUILayout.EndVertical();
|
||||
|
||||
if (EditorGUILayout.BeginFadeGroup(showDebug.faded))
|
||||
{
|
||||
//DrawUILine(blueFaded);
|
||||
EditorGUI.indentLevel = 1;
|
||||
EditorGUILayout.PropertyField(lines);
|
||||
EditorGUILayout.PropertyField(bounds);
|
||||
|
||||
GUILayout.Space(5);
|
||||
}
|
||||
EditorGUILayout.EndFadeGroup();
|
||||
GUILayout.EndVertical();
|
||||
}
|
||||
|
||||
void FindProperties()
|
||||
{
|
||||
autoItemSize = soTarget.FindProperty("autoItemSize");
|
||||
|
||||
//justiceHorizontal = soTarget.FindProperty("_justiceHorizontal");
|
||||
//justiceVertical = soTarget.FindProperty("_justiceVertical");
|
||||
justiceHorizontalPercent = soTarget.FindProperty("_justiceHorizontalPercent");
|
||||
//JusticeVerticalPercent = soTarget.FindProperty("_justiceVerticalPercent");
|
||||
spacing = soTarget.FindProperty("_spacing");
|
||||
width = soTarget.FindProperty("_width");
|
||||
height = soTarget.FindProperty("_height");
|
||||
depth = soTarget.FindProperty("_depth");
|
||||
lines = soTarget.FindProperty("lines");
|
||||
bounds = soTarget.FindProperty("bounds");
|
||||
lineSpacingStyle = soTarget.FindProperty("_lineSpacingStyle");
|
||||
verticalOverflow = soTarget.FindProperty("_verticalOverflow");
|
||||
elementUpdater = soTarget.FindProperty("elementUpdater");
|
||||
|
||||
alwaysUpdateInPlayMode = soTarget.FindProperty("alwaysUpdateInPlayMode");
|
||||
alwaysUpdateBounds = soTarget.FindProperty("alwaysUpdateBounds");
|
||||
showSceneViewGizmo = soTarget.FindProperty("showSceneViewGizmo");
|
||||
|
||||
|
||||
showDebug = new AnimBool(false);
|
||||
showDebug.valueChanged.AddListener(Repaint);
|
||||
}
|
||||
|
||||
void GenerateStyle()
|
||||
{
|
||||
#if MODULAR_3D_TEXT
|
||||
if (EditorGUIUtility.isProSkin)
|
||||
{
|
||||
if (settings)
|
||||
openedFoldoutTitleColor = settings.openedFoldoutTitleColor_darkSkin;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (settings)
|
||||
openedFoldoutTitleColor = settings.openedFoldoutTitleColor_lightSkin;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (toggleStyle == null)
|
||||
{
|
||||
toggleStyle = new GUIStyle(GUI.skin.button);
|
||||
toggleStyle.margin = new RectOffset(0, 0, toggleStyle.margin.top, toggleStyle.margin.bottom);
|
||||
}
|
||||
|
||||
if (foldOutStyle == null)
|
||||
{
|
||||
foldOutStyle = new GUIStyle(EditorStyles.foldout)
|
||||
{
|
||||
overflow = new RectOffset(-10, 0, 3, 0),
|
||||
padding = new RectOffset(15, 0, -3, 0),
|
||||
fontStyle = FontStyle.Bold
|
||||
};
|
||||
foldOutStyle.onNormal.textColor = openedFoldoutTitleColor;
|
||||
}
|
||||
|
||||
if (defaultLabel == null)
|
||||
{
|
||||
defaultLabel = new GUIStyle(EditorStyles.whiteMiniLabel)
|
||||
{
|
||||
fontStyle = FontStyle.Italic,
|
||||
fontSize = 12
|
||||
};
|
||||
defaultLabel.normal.textColor = ThemeBasedLabelColor();
|
||||
}
|
||||
|
||||
if (areaTitle == null)
|
||||
{
|
||||
areaTitle = new GUIStyle(EditorStyles.centeredGreyMiniLabel)
|
||||
{
|
||||
fontStyle = FontStyle.BoldAndItalic,
|
||||
fontSize = 12,
|
||||
};
|
||||
areaTitle.normal.textColor = ThemeBasedLabelColor();
|
||||
}
|
||||
}
|
||||
private Color ThemeBasedLabelColor()
|
||||
{
|
||||
if (EditorGUIUtility.isProSkin)
|
||||
return new Color(0.9f, 0.9f, 0.9f, 0.75f);
|
||||
else
|
||||
return new Color(0.1f, 0.1f, 0.1f, 0.75f);
|
||||
}
|
||||
bool LeftButton(GUIContent content)
|
||||
{
|
||||
bool clicked = false;
|
||||
Rect rect = GUILayoutUtility.GetRect(20, 20);
|
||||
|
||||
GUI.BeginGroup(rect);
|
||||
if (GUI.Button(new Rect(0, 0, rect.width + toggleStyle.border.right, rect.height), content, toggleStyle))
|
||||
clicked = true;
|
||||
|
||||
GUI.EndGroup();
|
||||
return clicked;
|
||||
}
|
||||
bool MidButton(GUIContent content)
|
||||
{
|
||||
bool clicked = false;
|
||||
Rect rect = GUILayoutUtility.GetRect(20, 20);
|
||||
|
||||
|
||||
GUI.BeginGroup(rect);
|
||||
if (GUI.Button(new Rect(-toggleStyle.border.left, 0, rect.width + toggleStyle.border.left + toggleStyle.border.right, rect.height), content, toggleStyle))
|
||||
clicked = true;
|
||||
GUI.EndGroup();
|
||||
return clicked;
|
||||
}
|
||||
bool RightButton(GUIContent content)
|
||||
{
|
||||
bool clicked = false;
|
||||
Rect rect = GUILayoutUtility.GetRect(20, 20);
|
||||
|
||||
|
||||
GUI.BeginGroup(rect);
|
||||
if (GUI.Button(new Rect(-toggleStyle.border.left, 0, rect.width + toggleStyle.border.left, rect.height), content, toggleStyle))
|
||||
clicked = true;
|
||||
GUI.EndGroup();
|
||||
return clicked;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a13306138407f8049b474d4c95f6a008
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/ThirdParty/Tiny Giant Studio/Tiny Giant Studio/Editor/Modular 3D Text.meta
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5564a9a28d55ba24faea21ee664b370c
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bef710f39b6936a41907de8746a256cc
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,87 @@
|
||||
.tab {
|
||||
-unity-font: url('project://database/Assets/Plugins/Tiny%20Giant%20Studio/Common/Fonts/Montserrat-Regular.ttf?fileID=12800000&guid=e8239e9a7fbaa2048a9e65d5d35d76ce&type=3#Montserrat-Regular');
|
||||
border-top-left-radius: 20px;
|
||||
border-bottom-left-radius: 20px;
|
||||
border-top-right-radius: 20px;
|
||||
border-bottom-right-radius: 20px;
|
||||
padding-left: 20px;
|
||||
padding-right: 20px;
|
||||
padding-top: 12px;
|
||||
padding-bottom: 12px;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
border-left-width: 0;
|
||||
border-right-width: 0;
|
||||
border-top-width: 0;
|
||||
border-bottom-width: 0;
|
||||
-unity-font-definition: url('project://database/Assets/Plugins/Tiny%20Giant%20Studio/Common/Fonts/Montserrat-Regular%20SDF.asset?fileID=11400000&guid=5f7aecc8015b29a4fa747b92096f9790&type=2#Montserrat-Regular SDF');
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
-unity-text-align: upper-right;
|
||||
flex-grow: 0;
|
||||
transition-duration: 0.25s;
|
||||
transition-timing-function: ease-out-sine;
|
||||
}
|
||||
|
||||
.tab:hover {
|
||||
background-color: rgba(255, 255, 255, 0.04);
|
||||
flex-grow: 0;
|
||||
}
|
||||
|
||||
.tab:active {
|
||||
background-color: rgb(55, 89, 20);
|
||||
}
|
||||
|
||||
.tabSelected {
|
||||
background-color: rgba(75, 75, 75, 0.39);
|
||||
}
|
||||
|
||||
.layoutBox {
|
||||
border-top-left-radius: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
border-top-right-radius: 3px;
|
||||
border-bottom-right-radius: 3px;
|
||||
background-color: rgba(255, 255, 255, 0.1);
|
||||
border-left-width: 1px;
|
||||
border-right-width: 1px;
|
||||
border-top-width: 1px;
|
||||
border-bottom-width: 1px;
|
||||
border-left-color: rgba(0, 0, 0, 0.39);
|
||||
border-right-color: rgba(0, 0, 0, 0.39);
|
||||
border-top-color: rgba(0, 0, 0, 0.39);
|
||||
border-bottom-color: rgba(0, 0, 0, 0.39);
|
||||
min-width: 100px;
|
||||
flex-grow: 1;
|
||||
flex-shrink: 1;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.layoutBox #Header {
|
||||
margin-left: 1px;
|
||||
margin-right: 1px;
|
||||
margin-top: 1px;
|
||||
margin-bottom: 1px;
|
||||
padding-left: 7px;
|
||||
padding-right: 5px;
|
||||
padding-top: 5px;
|
||||
padding-bottom: 5px;
|
||||
transition-duration: 0.25s;
|
||||
border-bottom-width: 1px;
|
||||
border-left-color: rgba(0, 0, 0, 0.39);
|
||||
border-right-color: rgba(0, 0, 0, 0.39);
|
||||
border-top-color: rgba(0, 0, 0, 0.39);
|
||||
border-bottom-color: rgba(0, 0, 0, 0.39);
|
||||
background-color: rgba(0, 0, 0, 0.08);
|
||||
border-top-left-radius: 2px;
|
||||
border-bottom-left-radius: 0;
|
||||
border-top-right-radius: 2px;
|
||||
border-bottom-right-radius: 0;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2d255180f2b49634aa9e30899f3a6b9b
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
|
||||
disableValidation: 0
|
||||
@@ -0,0 +1,17 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f8846095eb4f331478ddcfd308a430d5
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences:
|
||||
- m_ViewDataDictionary: {instanceID: 0}
|
||||
- visualTreeAsset: {fileID: 9197481963319205126, guid: b8291685ff5a0eb439f171f91413f5c7,
|
||||
type: 3}
|
||||
- previewTemplate: {fileID: 9197481963319205126, guid: f29633cd449c15840af3cb0764084a4e,
|
||||
type: 3}
|
||||
- font: {instanceID: 0}
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,427 @@
|
||||
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../../../../../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="True">
|
||||
<ui:Template name="ThemeSwitcher" src="project://database/Assets/Plugins/Tiny%20Giant%20Studio/Modular%203D%20Text/Scripts/Editor/Common/ThemeSwitcher.uxml?fileID=9197481963319205126&guid=dcb2a8406bd7c26499a68e30bea7b554&type=3#ThemeSwitcher" />
|
||||
<ui:Template name="MaterialPreviewField" src="project://database/Assets/Plugins/Tiny%20Giant%20Studio/Modular%203D%20Text/Scripts/Editor/Common/UITemplates/MaterialPreviewField.uxml?fileID=9197481963319205126&guid=f9b7d00c49222a643bea2cb12294425c&type=3#MaterialPreviewField" />
|
||||
<ui:Template name="PreviewGroupBox" src="project://database/Assets/Plugins/Tiny%20Giant%20Studio/Modular%203D%20Text/Scripts/Editor/Asset%20Window/PreviewGroupBox.uxml?fileID=9197481963319205126&guid=f29633cd449c15840af3cb0764084a4e&type=3#PreviewGroupBox" />
|
||||
<ui:Template name="NoteTemplate" src="project://database/Assets/Plugins/Tiny%20Giant%20Studio/Modular%203D%20Text/Scripts/Editor/Asset%20Window/NoteTemplate.uxml?fileID=9197481963319205126&guid=c0185360e083a384499af4b8227c7ef8&type=3#NoteTemplate" />
|
||||
<Style src="project://database/Assets/Plugins/Tiny%20Giant%20Studio/Modular%203D%20Text/Scripts/Editor/Common/TGSStyleSheet.uss?fileID=7433441132597879392&guid=bc57b45100516604c92a14e686605401&type=3#TGSStyleSheet" />
|
||||
<Style src="project://database/Assets/Plugins/Tiny%20Giant%20Studio/Modular%203D%20Text/Scripts/Editor/Style%20Sheet/Foldout.uss?fileID=7433441132597879392&guid=987989d65ef9e0249b0a484e8e68c2de&type=3#Foldout" />
|
||||
<Style src="project://database/Assets/Plugins/Tiny%20Giant%20Studio/Modular%203D%20Text/Scripts/Editor/Asset%20Window/AssetWindowStyleSheet.uss?fileID=7433441132597879392&guid=2d255180f2b49634aa9e30899f3a6b9b&type=3#AssetWindowStyleSheet" />
|
||||
<Style src="project://database/Assets/Plugins/Tiny%20Giant%20Studio/Modular%203D%20Text/Scripts/Editor/Style%20Sheet/FieldsStyleSheet.uss?fileID=7433441132597879392&guid=1276a5a60d904be48b1fc0dc9fb1dc37&type=3#FieldsStyleSheet" />
|
||||
<ui:GroupBox name="RootHolder" style="margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; flex-shrink: 1; flex-grow: 1; transition-duration: 1s;">
|
||||
<ui:GroupBox name="Header" style="flex-direction: column;">
|
||||
<ui:GroupBox name="Main" style="flex-direction: row; flex-grow: 1; margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; justify-content: center; align-items: center; flex-shrink: 1;">
|
||||
<ui:GroupBox style="margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; min-height: auto; min-width: auto;">
|
||||
<ui:Button text="Modular 3D Text" display-tooltip-when-elided="true" name="AssetNameButton" class="textButton darkThemeLinkText" style="background-color: rgba(88, 88, 88, 0); border-left-width: 0; border-right-width: 0; border-top-width: 0; border-bottom-width: 0; -unity-text-align: middle-center; font-size: 15px; display: flex; -unity-font-style: bold;" />
|
||||
<ui:GroupBox name="HorizontalGroup" style="flex-direction: row; margin-left: 0; margin-right: 0; margin-top: 2px; margin-bottom: 2px; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; align-items: center; justify-content: center;">
|
||||
<ui:Label text="Version" display-tooltip-when-elided="true" name="Label" style="margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 2px; padding-right: 2px; padding-top: 2px; padding-bottom: 2px;" />
|
||||
<ui:Label text="4.9.1c" display-tooltip-when-elided="true" name="AssetVersion" style="margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 2px; padding-right: 2px; padding-top: 2px; padding-bottom: 2px; -unity-font-definition: url("project://database/Assets/Plugins/Tiny%20Giant%20Studio/Common/Fonts/Montserrat-Bold%20SDF.asset?fileID=11400000&guid=2acd469fc18d2e04fb4f4a73bb7baa9c&type=2#Montserrat-Bold SDF"); -unity-font: url("project://database/Assets/Plugins/Tiny%20Giant%20Studio/Common/Fonts/Montserrat-Bold.ttf?fileID=12800000&guid=a9b28104babb56c499abe3937ca16cea&type=3#Montserrat-Bold"); -unity-font-style: normal; font-size: 14px;" />
|
||||
<ui:Label text="|" display-tooltip-when-elided="true" name="Divider" style="margin-left: 5px; margin-right: 5px; display: none;" />
|
||||
<ui:Button text="( Check Update )" display-tooltip-when-elided="true" name="CheckUpdateButton" class="textButton darkThemeLinkText" style="font-size: 10px;" />
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
<ui:GroupBox name="FloatingButtonGroup" style="flex-direction: row; justify-content: flex-end; align-items: flex-start; margin-left: 0; margin-right: 20px; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; flex-grow: 0; flex-shrink: 0; display: flex; position: absolute; top: 10px; left: auto; right: 10px;">
|
||||
<ui:Instance template="ThemeSwitcher" name="ThemeSwitcher" style="display: none;" />
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
<ui:VisualElement name="Container" style="flex-grow: 1; margin-left: 10px; margin-right: 10px; margin-top: 10px; flex-shrink: 1; flex-direction: column;">
|
||||
<ui:GroupBox name="TabsGroupBox" style="margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 10px; min-width: auto; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; flex-direction: row;">
|
||||
<ui:VisualElement style="min-height: 1px; flex-grow: 1;" />
|
||||
<ui:GroupBox name="Tabs" style="flex-direction: row; margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; align-items: center; justify-content: center; border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; border-bottom-width: 1px; border-top-left-radius: 20px; border-bottom-left-radius: 20px; border-top-right-radius: 20px; border-bottom-right-radius: 20px; border-left-color: rgba(0, 0, 0, 0.39); border-right-color: rgba(0, 0, 0, 0.39); border-top-color: rgba(0, 0, 0, 0.39); border-bottom-color: rgba(0, 0, 0, 0.39); flex-shrink: 0; flex-grow: 0; overflow: hidden;">
|
||||
<ui:Button display-tooltip-when-elided="true" name="InformationTabButton" class="tab tabSelected" style="flex-shrink: 1; flex-direction: row; flex-grow: 0; align-items: center;">
|
||||
<ui:VisualElement name="Icon" style="background-image: url("project://database/Assets/Plugins/Tiny%20Giant%20Studio/Common/Artworks/Information.png?fileID=2800000&guid=2303a5be81186da4f8658cdb0e3584fe&type=3#Information"); width: 12px; height: 12px; margin-right: 5px; display: none;" />
|
||||
<ui:Label text="Information" display-tooltip-when-elided="true" style="margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; font-size: 13px;" />
|
||||
</ui:Button>
|
||||
<ui:Button display-tooltip-when-elided="true" name="SettingsTabButton" class="tab" style="flex-shrink: 1; flex-direction: row; flex-grow: 0; align-items: center;">
|
||||
<ui:VisualElement name="Icon" style="background-image: url("project://database/Assets/Plugins/Tiny%20Giant%20Studio/Modular%203D%20Text/Utility/Editor%20Icons/M3D%20Font.png?fileID=2800000&guid=71a3aa7acb042be428e37e7c6720ac87&type=3#M3D Font"); width: 12px; height: 12px; margin-right: 5px; display: none;" />
|
||||
<ui:Label text="Settings" display-tooltip-when-elided="true" style="margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; font-size: 13px;" />
|
||||
</ui:Button>
|
||||
<ui:Button display-tooltip-when-elided="true" name="CreateFontTabButton" class="tab" style="flex-shrink: 1; flex-direction: row; flex-grow: 0; align-items: center; display: flex;">
|
||||
<ui:VisualElement name="Icon" style="background-image: url("project://database/Assets/Plugins/Tiny%20Giant%20Studio/Modular%203D%20Text/Utility/Editor%20Icons/M3D%20Font.png?fileID=2800000&guid=71a3aa7acb042be428e37e7c6720ac87&type=3#M3D Font"); width: 12px; height: 12px; margin-right: 5px; display: none;" />
|
||||
<ui:Label text="Create Font" display-tooltip-when-elided="true" style="margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; font-size: 13px;" />
|
||||
</ui:Button>
|
||||
<ui:Button display-tooltip-when-elided="true" name="UtilityTabButton" class="tab" style="flex-shrink: 1; flex-direction: row; flex-grow: 0; align-items: center;">
|
||||
<ui:VisualElement name="Icon" style="background-image: url("project://database/Assets/Plugins/Tiny%20Giant%20Studio/Modular%203D%20Text/Utility/Editor%20Icons/M3D%20Font.png?fileID=2800000&guid=71a3aa7acb042be428e37e7c6720ac87&type=3#M3D Font"); width: 12px; height: 12px; margin-right: 5px; display: none;" />
|
||||
<ui:Label text="Utility" display-tooltip-when-elided="true" style="margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; font-size: 13px;" />
|
||||
</ui:Button>
|
||||
</ui:GroupBox>
|
||||
<ui:VisualElement style="min-height: 1px; flex-grow: 1;" />
|
||||
</ui:GroupBox>
|
||||
<ui:VisualElement name="Content" style="background-color: rgba(0, 0, 0, 0.04); border-left-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-bottom-right-radius: 0; border-bottom-left-radius: 0; border-left-color: rgba(0, 0, 0, 0.39); border-right-color: rgba(0, 0, 0, 0.39); border-top-color: rgba(0, 0, 0, 0.39); border-bottom-color: rgba(0, 0, 0, 0.39); flex-grow: 1; border-top-width: 1px; border-top-left-radius: 0; border-top-right-radius: 0;">
|
||||
<ui:GroupBox name="InformationContent" style="flex-grow: 0; margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; min-width: auto; min-height: auto; flex-shrink: 1; background-color: rgba(0, 0, 0, 0); display: none;">
|
||||
<ui:ScrollView style="min-width: auto; min-height: auto; flex-grow: 0; flex-shrink: 1; padding-right: 0; border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; border-bottom-width: 1px; padding-left: 0; padding-top: 0; padding-bottom: 0;">
|
||||
<ui:Button text="Documentation" display-tooltip-when-elided="true" name="DocumentationButton" style="min-height: 35px; margin-bottom: 8px; font-size: 13px; margin-left: 8px; margin-right: 8px; margin-top: 8px; flex-grow: 1;" />
|
||||
<ui:Button text="Change Log" display-tooltip-when-elided="true" name="ChangeLogButton" style="min-height: 35px; margin-bottom: 6px; font-size: 13px; margin-left: 6px; margin-right: 6px; margin-top: 6px; flex-grow: 1;" />
|
||||
<ui:GroupBox style="flex-direction: row; flex-wrap: wrap; flex-shrink: 1; margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 5px; padding-right: 5px; padding-top: 5px; padding-bottom: 5px; align-items: stretch; justify-content: center;">
|
||||
<ui:GroupBox name="Support" class="layoutBox">
|
||||
<ui:GroupBox name="Header">
|
||||
<ui:Label text="Discuss" display-tooltip-when-elided="true" enable-rich-text="true" />
|
||||
</ui:GroupBox>
|
||||
<ui:Label text="Join the conversation in Unity Forum. Share your work, concerns or questions." display-tooltip-when-elided="true" style="margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; opacity: 0.8; white-space: normal; padding-left: 10px; padding-right: 10px; padding-top: 10px; padding-bottom: 10px; -unity-font-style: italic;" />
|
||||
<ui:Button text="Open forum post" display-tooltip-when-elided="true" name="ForumButton" style="min-height: 35px; font-size: 13px;" />
|
||||
</ui:GroupBox>
|
||||
<ui:GroupBox name="ForumBox" class="layoutBox" style="margin-top: 5px; margin-left: 0; margin-right: 0; margin-bottom: 0;">
|
||||
<ui:GroupBox name="Header">
|
||||
<ui:Label text="Support" display-tooltip-when-elided="true" enable-rich-text="true" name="Label" />
|
||||
</ui:GroupBox>
|
||||
<ui:Label text="Need assistance with anything? Drop me a email anytime. Always happy to help." display-tooltip-when-elided="true" style="margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; opacity: 0.8; white-space: normal; padding-left: 10px; padding-right: 10px; padding-top: 10px; padding-bottom: 10px; -unity-font-style: italic;" />
|
||||
<ui:GroupBox style="margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; flex-direction: row; justify-content: center;">
|
||||
<ui:Button text="Send email" display-tooltip-when-elided="true" name="SendEmailButton" tooltip="FerdowsurAsif@gmail.com" style="min-height: 35px; margin-bottom: 10px; font-size: 13px; margin-left: 10px; margin-right: 10px; margin-top: 10px; flex-grow: 1; flex-shrink: 1;" />
|
||||
<ui:Button text="Copy email" display-tooltip-when-elided="true" name="CopyEmailButton" tooltip="FerdowsurAsif@gmail.com" style="min-height: 35px; margin-bottom: 10px; font-size: 13px; margin-left: 10px; margin-right: 10px; margin-top: 10px; flex-grow: 1; flex-shrink: 1;" />
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
<ui:GroupBox name="Review" style="padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0;">
|
||||
<ui:Button text="Leave a review" display-tooltip-when-elided="true" name="ReviewButton" class="Button normalButton" style="min-height: 35px; margin-bottom: 5px; font-size: 13px; margin-left: 10px; margin-right: 10px; margin-top: 10px;" />
|
||||
<ui:Label text="Thank you for choosing my asset. I hope you are enjoying it and finding it useful. Your feedback is very important to me and other potential buyers. If you are satisfied with the asset, please consider leaving a 5-star review and sharing your positive experience. It will only take a minute, but it will make a huge difference for me and my asset. I appreciate your support and I will continue to work hard to improve the asset." display-tooltip-when-elided="true" style="margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; opacity: 0.8; white-space: normal; padding-left: 10px; padding-right: 10px; padding-top: 0; padding-bottom: 10px; -unity-font-style: italic; -unity-text-align: upper-center;" />
|
||||
</ui:GroupBox>
|
||||
</ui:ScrollView>
|
||||
</ui:GroupBox>
|
||||
<ui:GroupBox name="SettingsContent" style="flex-grow: 0; margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; min-width: auto; min-height: auto; flex-shrink: 1; background-color: rgba(0, 0, 0, 0); display: flex;">
|
||||
<ui:ScrollView style="min-width: auto; min-height: auto; flex-grow: 1; flex-shrink: 1; padding-right: 10px; border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; border-bottom-width: 1px; padding-left: 5px; padding-top: 5px; padding-bottom: 5px;">
|
||||
<ui:Foldout text="Input Settings" name="InputSettingsFoldout" value="true" class="unity-foldout__dark" style="display: flex; max-width: none; min-width: auto; margin-top: 0;">
|
||||
<ui:Toggle label="Auto-generate Scene input System" value="false" tooltip="If enabled, will automatically create the M3D Input System gameobject in the scene when appropriate 3D UI is created." name="AutoGenerateSceneInputSystemToggle" style="margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 5px; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0;" />
|
||||
<ui:Toggle label="Don't auto create raycaster if XR Toolkit exists" value="false" name="DontAutoCreateRaycasterOrButtonIfVRtoolkitExists" class="toggleThemeSupported" style="margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 5px; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0;" />
|
||||
<ui:GroupBox name="InputActionAssetGroup" style="margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; flex-direction: row; flex-grow: 0; justify-content: flex-start; align-items: center;">
|
||||
<uie:ObjectField label="Input Action Asset" name="InputActionAssetField" style="flex-grow: 0; flex-shrink: 1; margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0;" />
|
||||
<ui:Button text="Apply to scene" display-tooltip-when-elided="true" name="ApplyInputActionAssetButton" style="margin-left: 10px; flex-shrink: 0;" />
|
||||
</ui:GroupBox>
|
||||
</ui:Foldout>
|
||||
<ui:GroupBox name="DefaultValues" class="layoutBox" style="min-width: auto; flex-grow: 1; flex-shrink: 1; width: auto; height: auto; max-width: none; display: flex;">
|
||||
<ui:GroupBox name="Header">
|
||||
<ui:Label text="Default values" display-tooltip-when-elided="true" enable-rich-text="true" style="flex-grow: 1;" />
|
||||
</ui:GroupBox>
|
||||
<ui:Foldout text="Text" name="TextSettingsFoldout" value="true" class="unity-foldout__dark" style="display: flex; max-width: none; min-width: auto; flex-direction: column; margin-left: 5px; margin-right: 5px; margin-top: 5px; margin-bottom: 5px;">
|
||||
<ui:GroupBox name="Layout" style="margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; flex-direction: row;">
|
||||
<ui:GroupBox style="min-width: auto; flex-shrink: 1; flex-grow: 1;">
|
||||
<ui:GroupBox style="flex-direction: row; margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0;">
|
||||
<uie:ObjectField name="TextDefaultFontField" label="Font" style="display: flex; max-width: 50%; flex-grow: 1;" />
|
||||
<ui:Button text="Apply" display-tooltip-when-elided="true" name="ApplyDefaultTextFontToSceneButton" tooltip="Apply to scene, otherwise, the value is only used for new elements" class="Button normalButton" />
|
||||
</ui:GroupBox>
|
||||
<ui:GroupBox style="flex-direction: row; margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0;">
|
||||
<uie:Vector3Field name="TextDefaultSizeField" label="Size" value="8,8,8" style="flex-grow: 1;" />
|
||||
<ui:Button text="Apply" display-tooltip-when-elided="true" name="ApplyDefaultTextSizeToSceneButton" tooltip="Apply to scene, otherwise, the value is only used for new elements" class="Button normalButton" />
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
<ui:GroupBox name="Row" style="display: flex; margin-left: 5px; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; justify-content: flex-start; align-items: center; flex-direction: row; flex-shrink: 0; flex-grow: 1;">
|
||||
<ui:Instance template="MaterialPreviewField" name="TextMaterialPreviewField" />
|
||||
<ui:GroupBox name="Row" style="display: flex; margin-left: 2px; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; justify-content: center; align-items: stretch; flex-grow: 0;">
|
||||
<ui:Button text="Apply" display-tooltip-when-elided="true" name="ApplyDefaultTextMaterialToSceneButton" tooltip="Apply to scene, otherwise, the value is only used for new elements" class="Button normalButton" />
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
</ui:Foldout>
|
||||
<ui:Foldout text="Button" name="ButtonSettingsFoldout" value="false" class="unity-foldout__dark" style="display: flex; max-width: none; min-width: auto; flex-direction: column; margin-left: 5px; margin-right: 5px; margin-top: 5px; margin-bottom: 5px;">
|
||||
<ui:GroupBox name="NormalStyleGroupBox" class="layoutBox" style="min-width: auto; flex-grow: 0; flex-shrink: 1; width: auto; height: auto; max-width: none;">
|
||||
<ui:GroupBox name="Top" style="margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 10px; padding-right: 5px; padding-top: 5px; padding-bottom: 5px; border-bottom-width: 1px; border-left-color: rgba(0, 0, 0, 0.2); border-right-color: rgba(0, 0, 0, 0.2); border-top-color: rgba(0, 0, 0, 0.2); border-bottom-color: rgba(0, 0, 0, 0.2); background-color: rgba(0, 0, 0, 0.08); border-top-left-radius: 10px; border-top-right-radius: 10px;">
|
||||
<ui:Label text="Normal" display-tooltip-when-elided="true" enable-rich-text="true" style="flex-grow: 1;" />
|
||||
</ui:GroupBox>
|
||||
<ui:GroupBox name="TextSizeGroupBox" style="margin-left: 10px; margin-right: 10px; margin-top: 5px; margin-bottom: 5px; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; flex-direction: row; flex-grow: 0; flex-shrink: 1;">
|
||||
<ui:Label text="Size" display-tooltip-when-elided="true" />
|
||||
<uie:Vector3Field name="TextSize" value="8,8,8" style="flex-grow: 1;" />
|
||||
<ui:Button text="Apply" display-tooltip-when-elided="true" name="ApplyTextSizeButton" tooltip="Apply to scene, otherwise, the value is only used for new elements" class="Button normalButton" />
|
||||
</ui:GroupBox>
|
||||
<ui:GroupBox name="Layout" style="flex-direction: row; margin-left: 10px; margin-right: 10px; margin-top: 0; margin-bottom: 5px; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; flex-grow: 1; overflow: hidden;">
|
||||
<ui:GroupBox name="Row" style="display: flex; margin-left: 5px; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; justify-content: flex-start; flex-direction: row; flex-shrink: 1; flex-grow: 1; align-items: flex-end;">
|
||||
<ui:Instance template="MaterialPreviewField" name="TextMaterialPreviewField" style="flex-grow: 1;" />
|
||||
<ui:GroupBox name="Row" style="display: flex; margin-left: 2px; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; justify-content: flex-start; align-items: stretch;">
|
||||
<ui:Button text="Apply" display-tooltip-when-elided="true" name="ApplyTextMaterialToSceneButton" tooltip="Apply to scene, otherwise, the value is only used for new elements" class="Button normalButton" />
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
<ui:GroupBox name="Row" style="display: flex; margin-left: 5px; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; justify-content: flex-start; flex-direction: row; flex-shrink: 1; flex-grow: 1; align-items: flex-end;">
|
||||
<ui:Instance template="MaterialPreviewField" name="BackgroundMaterialPreviewField" style="flex-grow: 1;" />
|
||||
<ui:GroupBox name="Row" style="display: flex; margin-left: 2px; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; justify-content: center; align-items: stretch; flex-grow: 0;">
|
||||
<ui:Button text="Apply" display-tooltip-when-elided="true" name="ApplyBackgroundMaterialToSceneButton" tooltip="Apply to scene, otherwise, the value is only used for new elements" class="Button normalButton" />
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
<ui:GroupBox name="SelectedStyleGroupBox" class="layoutBox" style="min-width: auto; flex-grow: 0; flex-shrink: 1; width: auto; height: auto; max-width: none;">
|
||||
<ui:GroupBox name="Top" style="margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 10px; padding-right: 5px; padding-top: 5px; padding-bottom: 5px; border-bottom-width: 1px; border-left-color: rgba(0, 0, 0, 0.2); border-right-color: rgba(0, 0, 0, 0.2); border-top-color: rgba(0, 0, 0, 0.2); border-bottom-color: rgba(0, 0, 0, 0.2); background-color: rgba(0, 0, 0, 0.08); border-top-left-radius: 10px; border-top-right-radius: 10px;">
|
||||
<ui:Label text="Selected" display-tooltip-when-elided="true" enable-rich-text="true" style="flex-grow: 1;" />
|
||||
</ui:GroupBox>
|
||||
<ui:GroupBox name="TextSizeGroupBox" style="margin-left: 10px; margin-right: 10px; margin-top: 5px; margin-bottom: 5px; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; flex-direction: row; flex-grow: 0; flex-shrink: 1;">
|
||||
<ui:Label text="Size" display-tooltip-when-elided="true" />
|
||||
<uie:Vector3Field name="TextSize" value="8,8,8" style="flex-grow: 1;" />
|
||||
<ui:Button text="Apply" display-tooltip-when-elided="true" name="ApplyTextSizeButton" tooltip="Apply to scene, otherwise, the value is only used for new elements" class="Button normalButton" />
|
||||
</ui:GroupBox>
|
||||
<ui:GroupBox name="Layout" style="flex-direction: row; margin-left: 10px; margin-right: 10px; margin-top: 0; margin-bottom: 5px; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; flex-grow: 1; overflow: hidden;">
|
||||
<ui:GroupBox name="Row" style="display: flex; margin-left: 5px; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; justify-content: flex-start; flex-direction: row; flex-shrink: 1; flex-grow: 1; align-items: flex-end;">
|
||||
<ui:Instance template="MaterialPreviewField" name="TextMaterialPreviewField" style="flex-grow: 1;" />
|
||||
<ui:GroupBox name="Row" style="display: flex; margin-left: 2px; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; justify-content: flex-start; align-items: stretch;">
|
||||
<ui:Button text="Apply" display-tooltip-when-elided="true" name="ApplyTextMaterialToSceneButton" tooltip="Apply to scene, otherwise, the value is only used for new elements" class="Button normalButton" />
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
<ui:GroupBox name="Row" style="display: flex; margin-left: 5px; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; justify-content: flex-start; flex-direction: row; flex-shrink: 1; flex-grow: 1; align-items: flex-end;">
|
||||
<ui:Instance template="MaterialPreviewField" name="BackgroundMaterialPreviewField" style="flex-grow: 1;" />
|
||||
<ui:GroupBox name="Row" style="display: flex; margin-left: 2px; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; justify-content: center; align-items: stretch; flex-grow: 0;">
|
||||
<ui:Button text="Apply" display-tooltip-when-elided="true" name="ApplyBackgroundMaterialToSceneButton" tooltip="Apply to scene, otherwise, the value is only used for new elements" class="Button normalButton" />
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
<ui:GroupBox name="PressedStyleGroupBox" class="layoutBox" style="min-width: auto; flex-grow: 0; flex-shrink: 1; width: auto; height: auto; max-width: none;">
|
||||
<ui:GroupBox name="Top" style="margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 10px; padding-right: 5px; padding-top: 5px; padding-bottom: 5px; border-bottom-width: 1px; border-left-color: rgba(0, 0, 0, 0.2); border-right-color: rgba(0, 0, 0, 0.2); border-top-color: rgba(0, 0, 0, 0.2); border-bottom-color: rgba(0, 0, 0, 0.2); background-color: rgba(0, 0, 0, 0.08); border-top-left-radius: 10px; border-top-right-radius: 10px;">
|
||||
<ui:Label text="Pressed" display-tooltip-when-elided="true" enable-rich-text="true" style="flex-grow: 1;" />
|
||||
</ui:GroupBox>
|
||||
<ui:GroupBox name="TextSizeGroupBox" style="margin-left: 10px; margin-right: 10px; margin-top: 5px; margin-bottom: 5px; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; flex-direction: row; flex-grow: 0; flex-shrink: 1;">
|
||||
<ui:Label text="Size" display-tooltip-when-elided="true" />
|
||||
<uie:Vector3Field name="TextSize" value="8,8,8" style="flex-grow: 1;" />
|
||||
<ui:Button text="Apply" display-tooltip-when-elided="true" name="ApplyTextSizeButton" tooltip="Apply to scene, otherwise, the value is only used for new elements" class="Button normalButton" />
|
||||
</ui:GroupBox>
|
||||
<ui:GroupBox name="Layout" style="flex-direction: row; margin-left: 10px; margin-right: 10px; margin-top: 0; margin-bottom: 5px; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; flex-grow: 1; overflow: hidden;">
|
||||
<ui:GroupBox name="Row" style="display: flex; margin-left: 5px; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; justify-content: flex-start; flex-direction: row; flex-shrink: 1; flex-grow: 1; align-items: flex-end;">
|
||||
<ui:Instance template="MaterialPreviewField" name="TextMaterialPreviewField" style="flex-grow: 1;" />
|
||||
<ui:GroupBox name="Row" style="display: flex; margin-left: 2px; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; justify-content: flex-start; align-items: stretch;">
|
||||
<ui:Button text="Apply" display-tooltip-when-elided="true" name="ApplyTextMaterialToSceneButton" tooltip="Apply to scene, otherwise, the value is only used for new elements" class="Button normalButton" />
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
<ui:GroupBox name="Row" style="display: flex; margin-left: 5px; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; justify-content: flex-start; flex-direction: row; flex-shrink: 1; flex-grow: 1; align-items: flex-end;">
|
||||
<ui:Instance template="MaterialPreviewField" name="BackgroundMaterialPreviewField" style="flex-grow: 1;" />
|
||||
<ui:GroupBox name="Row" style="display: flex; margin-left: 2px; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; justify-content: center; align-items: stretch; flex-grow: 0;">
|
||||
<ui:Button text="Apply" display-tooltip-when-elided="true" name="ApplyBackgroundMaterialToSceneButton" tooltip="Apply to scene, otherwise, the value is only used for new elements" class="Button normalButton" />
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
<ui:GroupBox name="DisabledStyleGroupBox" class="layoutBox" style="min-width: auto; flex-grow: 0; flex-shrink: 1; width: auto; height: auto; max-width: none;">
|
||||
<ui:GroupBox name="Top" style="margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 10px; padding-right: 5px; padding-top: 5px; padding-bottom: 5px; border-bottom-width: 1px; border-left-color: rgba(0, 0, 0, 0.2); border-right-color: rgba(0, 0, 0, 0.2); border-top-color: rgba(0, 0, 0, 0.2); border-bottom-color: rgba(0, 0, 0, 0.2); background-color: rgba(0, 0, 0, 0.08); border-top-left-radius: 10px; border-top-right-radius: 10px;">
|
||||
<ui:Label text="Disabled" display-tooltip-when-elided="true" enable-rich-text="true" style="flex-grow: 1;" />
|
||||
</ui:GroupBox>
|
||||
<ui:GroupBox name="TextSizeGroupBox" style="margin-left: 10px; margin-right: 10px; margin-top: 5px; margin-bottom: 5px; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; flex-direction: row; flex-grow: 0; flex-shrink: 1;">
|
||||
<ui:Label text="Size" display-tooltip-when-elided="true" />
|
||||
<uie:Vector3Field name="TextSize" value="8,8,8" style="flex-grow: 1;" />
|
||||
<ui:Button text="Apply" display-tooltip-when-elided="true" name="ApplyTextSizeButton" tooltip="Apply to scene, otherwise, the value is only used for new elements" class="Button normalButton" />
|
||||
</ui:GroupBox>
|
||||
<ui:GroupBox name="Layout" style="flex-direction: row; margin-left: 10px; margin-right: 10px; margin-top: 0; margin-bottom: 5px; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; flex-grow: 1; overflow: hidden;">
|
||||
<ui:GroupBox name="Row" style="display: flex; margin-left: 5px; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; justify-content: flex-start; flex-direction: row; flex-shrink: 1; flex-grow: 1; align-items: flex-end;">
|
||||
<ui:Instance template="MaterialPreviewField" name="TextMaterialPreviewField" style="flex-grow: 1;" />
|
||||
<ui:GroupBox name="Row" style="display: flex; margin-left: 2px; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; justify-content: flex-start; align-items: stretch;">
|
||||
<ui:Button text="Apply" display-tooltip-when-elided="true" name="ApplyTextMaterialToSceneButton" tooltip="Apply to scene, otherwise, the value is only used for new elements" class="Button normalButton" />
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
<ui:GroupBox name="Row" style="display: flex; margin-left: 5px; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; justify-content: flex-start; flex-direction: row; flex-shrink: 1; flex-grow: 1; align-items: flex-end;">
|
||||
<ui:Instance template="MaterialPreviewField" name="BackgroundMaterialPreviewField" style="flex-grow: 1;" />
|
||||
<ui:GroupBox name="Row" style="display: flex; margin-left: 2px; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; justify-content: center; align-items: stretch; flex-grow: 0;">
|
||||
<ui:Button text="Apply" display-tooltip-when-elided="true" name="ApplyBackgroundMaterialToSceneButton" tooltip="Apply to scene, otherwise, the value is only used for new elements" class="Button normalButton" />
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
</ui:Foldout>
|
||||
<ui:Foldout text="List" name="ListSettingsFoldout" value="false" class="unity-foldout__dark" style="display: flex; max-width: none; min-width: auto; flex-direction: column; margin-left: 5px; margin-right: 5px; margin-top: 5px; margin-bottom: 5px;">
|
||||
<ui:GroupBox name="NormalStyleGroupBox" class="layoutBox" style="min-width: auto; flex-grow: 0; flex-shrink: 1; width: auto; height: auto; max-width: none;">
|
||||
<ui:GroupBox name="Top" style="margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 10px; padding-right: 5px; padding-top: 5px; padding-bottom: 5px; border-bottom-width: 1px; border-left-color: rgba(0, 0, 0, 0.2); border-right-color: rgba(0, 0, 0, 0.2); border-top-color: rgba(0, 0, 0, 0.2); border-bottom-color: rgba(0, 0, 0, 0.2); background-color: rgba(0, 0, 0, 0.08); border-top-left-radius: 10px; border-top-right-radius: 10px;">
|
||||
<ui:Label text="Normal" display-tooltip-when-elided="true" enable-rich-text="true" style="flex-grow: 1;" />
|
||||
</ui:GroupBox>
|
||||
<ui:GroupBox name="TextSizeGroupBox" style="margin-left: 10px; margin-right: 10px; margin-top: 5px; margin-bottom: 5px; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; flex-direction: row; flex-grow: 0; flex-shrink: 1;">
|
||||
<ui:Label text="Size" display-tooltip-when-elided="true" />
|
||||
<uie:Vector3Field name="TextSize" value="8,8,8" style="flex-grow: 1;" />
|
||||
<ui:Button text="Apply" display-tooltip-when-elided="true" name="ApplyTextSizeButton" tooltip="Apply to scene, otherwise, the value is only used for new elements" class="Button normalButton" />
|
||||
</ui:GroupBox>
|
||||
<ui:GroupBox name="Layout" style="flex-direction: row; margin-left: 10px; margin-right: 10px; margin-top: 0; margin-bottom: 5px; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; flex-grow: 1; overflow: hidden;">
|
||||
<ui:GroupBox name="Row" style="display: flex; margin-left: 5px; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; justify-content: flex-start; flex-direction: row; flex-shrink: 1; flex-grow: 1; align-items: flex-end;">
|
||||
<ui:Instance template="MaterialPreviewField" name="TextMaterialPreviewField" style="flex-grow: 1;" />
|
||||
<ui:GroupBox name="Row" style="display: flex; margin-left: 2px; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; justify-content: flex-start; align-items: stretch;">
|
||||
<ui:Button text="Apply" display-tooltip-when-elided="true" name="ApplyTextMaterialToSceneButton" tooltip="Apply to scene, otherwise, the value is only used for new elements" class="Button normalButton" />
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
<ui:GroupBox name="Row" style="display: flex; margin-left: 5px; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; justify-content: flex-start; flex-direction: row; flex-shrink: 1; flex-grow: 1; align-items: flex-end;">
|
||||
<ui:Instance template="MaterialPreviewField" name="BackgroundMaterialPreviewField" style="flex-grow: 1;" />
|
||||
<ui:GroupBox name="Row" style="display: flex; margin-left: 2px; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; justify-content: center; align-items: stretch; flex-grow: 0;">
|
||||
<ui:Button text="Apply" display-tooltip-when-elided="true" name="ApplyBackgroundMaterialToSceneButton" tooltip="Apply to scene, otherwise, the value is only used for new elements" class="Button normalButton" />
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
<ui:GroupBox name="SelectedStyleGroupBox" class="layoutBox" style="min-width: auto; flex-grow: 0; flex-shrink: 1; width: auto; height: auto; max-width: none;">
|
||||
<ui:GroupBox name="Top" style="margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 10px; padding-right: 5px; padding-top: 5px; padding-bottom: 5px; border-bottom-width: 1px; border-left-color: rgba(0, 0, 0, 0.2); border-right-color: rgba(0, 0, 0, 0.2); border-top-color: rgba(0, 0, 0, 0.2); border-bottom-color: rgba(0, 0, 0, 0.2); background-color: rgba(0, 0, 0, 0.08); border-top-left-radius: 10px; border-top-right-radius: 10px;">
|
||||
<ui:Label text="Selected" display-tooltip-when-elided="true" enable-rich-text="true" style="flex-grow: 1;" />
|
||||
</ui:GroupBox>
|
||||
<ui:GroupBox name="TextSizeGroupBox" style="margin-left: 10px; margin-right: 10px; margin-top: 5px; margin-bottom: 5px; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; flex-direction: row; flex-grow: 0; flex-shrink: 1;">
|
||||
<ui:Label text="Size" display-tooltip-when-elided="true" />
|
||||
<uie:Vector3Field name="TextSize" value="8,8,8" style="flex-grow: 1;" />
|
||||
<ui:Button text="Apply" display-tooltip-when-elided="true" name="ApplyTextSizeButton" tooltip="Apply to scene, otherwise, the value is only used for new elements" class="Button normalButton" />
|
||||
</ui:GroupBox>
|
||||
<ui:GroupBox name="Layout" style="flex-direction: row; margin-left: 10px; margin-right: 10px; margin-top: 0; margin-bottom: 5px; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; flex-grow: 1; overflow: hidden;">
|
||||
<ui:GroupBox name="Row" style="display: flex; margin-left: 5px; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; justify-content: flex-start; flex-direction: row; flex-shrink: 1; flex-grow: 1; align-items: flex-end;">
|
||||
<ui:Instance template="MaterialPreviewField" name="TextMaterialPreviewField" style="flex-grow: 1;" />
|
||||
<ui:GroupBox name="Row" style="display: flex; margin-left: 2px; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; justify-content: flex-start; align-items: stretch;">
|
||||
<ui:Button text="Apply" display-tooltip-when-elided="true" name="ApplyTextMaterialToSceneButton" tooltip="Apply to scene, otherwise, the value is only used for new elements" class="Button normalButton" />
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
<ui:GroupBox name="Row" style="display: flex; margin-left: 5px; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; justify-content: flex-start; flex-direction: row; flex-shrink: 1; flex-grow: 1; align-items: flex-end;">
|
||||
<ui:Instance template="MaterialPreviewField" name="BackgroundMaterialPreviewField" style="flex-grow: 1;" />
|
||||
<ui:GroupBox name="Row" style="display: flex; margin-left: 2px; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; justify-content: center; align-items: stretch; flex-grow: 0;">
|
||||
<ui:Button text="Apply" display-tooltip-when-elided="true" name="ApplyBackgroundMaterialToSceneButton" tooltip="Apply to scene, otherwise, the value is only used for new elements" class="Button normalButton" />
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
<ui:GroupBox name="PressedStyleGroupBox" class="layoutBox" style="min-width: auto; flex-grow: 0; flex-shrink: 1; width: auto; height: auto; max-width: none;">
|
||||
<ui:GroupBox name="Top" style="margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 10px; padding-right: 5px; padding-top: 5px; padding-bottom: 5px; border-bottom-width: 1px; border-left-color: rgba(0, 0, 0, 0.2); border-right-color: rgba(0, 0, 0, 0.2); border-top-color: rgba(0, 0, 0, 0.2); border-bottom-color: rgba(0, 0, 0, 0.2); background-color: rgba(0, 0, 0, 0.08); border-top-left-radius: 10px; border-top-right-radius: 10px;">
|
||||
<ui:Label text="Pressed" display-tooltip-when-elided="true" enable-rich-text="true" style="flex-grow: 1;" />
|
||||
</ui:GroupBox>
|
||||
<ui:GroupBox name="TextSizeGroupBox" style="margin-left: 10px; margin-right: 10px; margin-top: 5px; margin-bottom: 5px; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; flex-direction: row; flex-grow: 0; flex-shrink: 1;">
|
||||
<ui:Label text="Size" display-tooltip-when-elided="true" />
|
||||
<uie:Vector3Field name="TextSize" value="8,8,8" style="flex-grow: 1;" />
|
||||
<ui:Button text="Apply" display-tooltip-when-elided="true" name="ApplyTextSizeButton" tooltip="Apply to scene, otherwise, the value is only used for new elements" class="Button normalButton" />
|
||||
</ui:GroupBox>
|
||||
<ui:GroupBox name="Layout" style="flex-direction: row; margin-left: 10px; margin-right: 10px; margin-top: 0; margin-bottom: 5px; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; flex-grow: 1; overflow: hidden;">
|
||||
<ui:GroupBox name="Row" style="display: flex; margin-left: 5px; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; justify-content: flex-start; flex-direction: row; flex-shrink: 1; flex-grow: 1; align-items: flex-end;">
|
||||
<ui:Instance template="MaterialPreviewField" name="TextMaterialPreviewField" style="flex-grow: 1;" />
|
||||
<ui:GroupBox name="Row" style="display: flex; margin-left: 2px; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; justify-content: flex-start; align-items: stretch;">
|
||||
<ui:Button text="Apply" display-tooltip-when-elided="true" name="ApplyTextMaterialToSceneButton" tooltip="Apply to scene, otherwise, the value is only used for new elements" class="Button normalButtonSmall normalButton" />
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
<ui:GroupBox name="Row" style="display: flex; margin-left: 5px; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; justify-content: flex-start; flex-direction: row; flex-shrink: 1; flex-grow: 1; align-items: flex-end;">
|
||||
<ui:Instance template="MaterialPreviewField" name="BackgroundMaterialPreviewField" style="flex-grow: 1;" />
|
||||
<ui:GroupBox name="Row" style="display: flex; margin-left: 2px; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; justify-content: center; align-items: stretch; flex-grow: 0;">
|
||||
<ui:Button text="Apply" display-tooltip-when-elided="true" name="ApplyBackgroundMaterialToSceneButton" tooltip="Apply to scene, otherwise, the value is only used for new elements" class="Button normalButton" />
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
<ui:GroupBox name="DisabledStyleGroupBox" class="layoutBox" style="min-width: auto; flex-grow: 0; flex-shrink: 1; width: auto; height: auto; max-width: none;">
|
||||
<ui:GroupBox name="Top" style="margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 10px; padding-right: 5px; padding-top: 5px; padding-bottom: 5px; border-bottom-width: 1px; border-left-color: rgba(0, 0, 0, 0.2); border-right-color: rgba(0, 0, 0, 0.2); border-top-color: rgba(0, 0, 0, 0.2); border-bottom-color: rgba(0, 0, 0, 0.2); background-color: rgba(0, 0, 0, 0.08); border-top-left-radius: 10px; border-top-right-radius: 10px;">
|
||||
<ui:Label text="Disabled" display-tooltip-when-elided="true" enable-rich-text="true" style="flex-grow: 1;" />
|
||||
</ui:GroupBox>
|
||||
<ui:GroupBox name="TextSizeGroupBox" style="margin-left: 10px; margin-right: 10px; margin-top: 5px; margin-bottom: 5px; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; flex-direction: row; flex-grow: 0; flex-shrink: 1;">
|
||||
<ui:Label text="Size" display-tooltip-when-elided="true" />
|
||||
<uie:Vector3Field name="TextSize" value="8,8,8" style="flex-grow: 1;" />
|
||||
<ui:Button text="Apply" display-tooltip-when-elided="true" name="ApplyTextSizeButton" tooltip="Apply to scene, otherwise, the value is only used for new elements" class="Button normalButton" />
|
||||
</ui:GroupBox>
|
||||
<ui:GroupBox name="Layout" style="flex-direction: row; margin-left: 10px; margin-right: 10px; margin-top: 0; margin-bottom: 5px; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; flex-grow: 1; overflow: hidden;">
|
||||
<ui:GroupBox name="Row" style="display: flex; margin-left: 5px; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; justify-content: flex-start; flex-direction: row; flex-shrink: 1; flex-grow: 1; align-items: flex-end;">
|
||||
<ui:Instance template="MaterialPreviewField" name="TextMaterialPreviewField" style="flex-grow: 1;" />
|
||||
<ui:GroupBox name="Row" style="display: flex; margin-left: 2px; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; justify-content: flex-start; align-items: stretch;">
|
||||
<ui:Button text="Apply" display-tooltip-when-elided="true" name="ApplyTextMaterialToSceneButton" tooltip="Apply to scene, otherwise, the value is only used for new elements" class="Button normalButton" />
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
<ui:GroupBox name="Row" style="display: flex; margin-left: 5px; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; justify-content: flex-start; flex-direction: row; flex-shrink: 1; flex-grow: 1; align-items: flex-end;">
|
||||
<ui:Instance template="MaterialPreviewField" name="BackgroundMaterialPreviewField" style="flex-grow: 1;" />
|
||||
<ui:GroupBox name="Row" style="display: flex; margin-left: 2px; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; justify-content: center; align-items: stretch; flex-grow: 0;">
|
||||
<ui:Button text="Apply" display-tooltip-when-elided="true" name="ApplyBackgroundMaterialToSceneButton" tooltip="Apply to scene, otherwise, the value is only used for new elements" class="Button normalButton" />
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
</ui:Foldout>
|
||||
</ui:GroupBox>
|
||||
</ui:ScrollView>
|
||||
</ui:GroupBox>
|
||||
<ui:GroupBox name="CreateFontContent" style="flex-grow: 0; margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; min-width: auto; min-height: auto; flex-shrink: 1; background-color: rgba(0, 0, 0, 0); display: flex;">
|
||||
<ui:ScrollView style="min-width: auto; min-height: auto; flex-grow: 1; flex-shrink: 1; padding-right: 5px; padding-left: 5px; padding-top: 5px; padding-bottom: 5px;">
|
||||
<ui:GroupBox style="margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; min-width: auto; align-items: center; justify-content: center;">
|
||||
<ui:Button text="Select TTF File" display-tooltip-when-elided="true" name="SelectFileButton" tooltip="TrueType is the most common format of fonts. If your font is in a different format, check the docs about how to convert it into a TTF file." class="normalButton" style="min-height: 35px; margin-bottom: 10px; font-size: 13px; margin-left: 10px; margin-right: 10px; margin-top: 10px; flex-grow: 0; flex-shrink: 0; max-width: 500px; min-width: 150px;">
|
||||
<ui:VisualElement />
|
||||
</ui:Button>
|
||||
</ui:GroupBox>
|
||||
<ui:Foldout text="TTF File Information" name="InformationFoldout" class="layoutBox" style="display: flex; max-width: none; min-width: auto;">
|
||||
<ui:GroupBox style="flex-direction: row; margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0;">
|
||||
<ui:Label display-tooltip-when-elided="true" text="Font name :" style="opacity: 0.7;" />
|
||||
<ui:Label display-tooltip-when-elided="true" name="FontNameLabel" text="asdasd" class="InformationLabel" style="color: rgb(255, 255, 255);" />
|
||||
</ui:GroupBox>
|
||||
<ui:Label display-tooltip-when-elided="true" name="FontLocationLabel" text="Location :" style="font-size: 11px; white-space: normal;" />
|
||||
<ui:GroupBox style="flex-direction: row; margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; align-items: center;">
|
||||
<ui:Button display-tooltip-when-elided="true" name="KerningDocumentation" tooltip="Kerning Documentation" class="iconButton" style="border-left-width: 0; border-right-width: 0; border-top-width: 0; border-bottom-width: 0; opacity: 0.7; background-image: url("project://database/Assets/Plugins/Tiny%20Giant%20Studio/Modular%203D%20Text/Utility/Editor%20Icons/Icon_Documentation.png?fileID=2800000&guid=40e23347097104e4f82ec7ff7f90d892&type=3#Icon_Documentation"); width: 15px; height: 15px; background-color: rgba(88, 88, 88, 0); padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0;" />
|
||||
<ui:Label display-tooltip-when-elided="true" text="Kerning Table:" style="margin-left: 5px; opacity: 0.7;" />
|
||||
<ui:Label display-tooltip-when-elided="true" name="FontKernCountLabel" class="InformationLabel" style="font-size: 11px;" />
|
||||
</ui:GroupBox>
|
||||
</ui:Foldout>
|
||||
<ui:Foldout text="Mesh Settings" tooltip="This determines the look and feel of the mesh. " name="MeshSettingsFoldout" class="layoutBox" style="min-width: auto; max-width: none;">
|
||||
<ui:VisualElement style="flex-grow: 1; margin-right: 5px;">
|
||||
<ui:VisualElement name="Row0" style="flex-direction: row; margin-top: 5px; justify-content: flex-start; align-items: center; margin-bottom: 0;">
|
||||
<ui:VisualElement name="StyleSelection" style="flex-direction: row;">
|
||||
<uie:EnumField value="asdasd" name="StyleEnumField" style="flex-grow: 1; margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; flex-shrink: 1;" />
|
||||
</ui:VisualElement>
|
||||
<ui:Button text="Reset" display-tooltip-when-elided="true" tooltip="Restore default mesh settings." name="ResetMeshSettingsButton" class="normalButton" style="border-top-left-radius: 10px; border-bottom-left-radius: 10px; border-top-right-radius: 10px; border-bottom-right-radius: 10px; margin-left: 10px;" />
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="Row1" style="flex-direction: row; margin-top: 5px; justify-content: flex-start; align-items: center; margin-bottom: 0;">
|
||||
<uie:IntegerField label="Vertex Density" value="1" name="VertexDensityField" tooltip="How dense the vertices should be." style="flex-shrink: 1; flex-grow: 1;" />
|
||||
<uie:IntegerField label="Smoothing Angle" value="30" name="SmoothingAngleField" style="flex-shrink: 1; flex-grow: 1;" />
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="Row2" style="flex-direction: row; margin-top: 2px; justify-content: flex-start; align-items: center; margin-bottom: 5px;">
|
||||
<uie:FloatField label="Size XY" value="42.2" name="SizeXYField" tooltip="It should be 1 in most cases." style="flex-shrink: 1; flex-grow: 1;" />
|
||||
<uie:FloatField label="Size Z/Depth" value="42.2" name="SizeZField" tooltip="It should be 1 in most cases." style="flex-shrink: 1; flex-grow: 1;" />
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:Foldout>
|
||||
<ui:Foldout text="Preview" tooltip="How the font looks with the selected settings" name="PreviewFoldout" class="layoutBox" style="max-width: none; min-width: auto;">
|
||||
<ui:GroupBox style="margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; flex-direction: row; display: flex;">
|
||||
<ui:VisualElement style="flex-grow: 1; flex-shrink: 0;" />
|
||||
<uie:IntegerField label="Amount" value="1" name="PreviewAmount" tooltip="Must be a value between 1 and 50" style="flex-shrink: 1; flex-grow: 0; margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; min-width: 85px;" />
|
||||
</ui:GroupBox>
|
||||
<ui:ScrollView mode="Horizontal" name="PreviewScrollView" style="flex-direction: column; min-width: auto; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0;">
|
||||
<ui:Instance template="PreviewGroupBox" name="PreviewGroupBox" />
|
||||
</ui:ScrollView>
|
||||
</ui:Foldout>
|
||||
<ui:Foldout text="Prebuilt Characters" tooltip="Prebuilt characters have their mesh created early, which reduces compute time by not having to create them runtime. Also, it allows the manual modification of settings for each character by selecting the created font file." name="PrebuiltCharactersFoldout" class="layoutBox" style="min-width: auto; max-width: none;">
|
||||
<ui:VisualElement style="flex-direction: row;">
|
||||
<ui:VisualElement style="flex-grow: 1; margin-right: 5px;">
|
||||
<ui:VisualElement name="StyleSelection" style="flex-direction: row; margin-bottom: 5px;">
|
||||
<uie:EnumField value="asdasd" name="CharInputStyle" style="flex-grow: 1; margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; flex-shrink: 0;" />
|
||||
<ui:Button text="Log" display-tooltip-when-elided="true" tooltip="Debug logs all characters that should be included in prebuilt characters" name="LogPrebuiltCharactersButton" class="Button normalButton" style="margin-left: 10px; border-top-left-radius: 10px; border-bottom-left-radius: 10px; border-top-right-radius: 10px; border-bottom-right-radius: 10px;" />
|
||||
<ui:Button text="Reset" display-tooltip-when-elided="true" tooltip="Restore default prebuild characters." name="ResetPrebuiltCharactersButton" class="Button normalButton" style="margin-left: 5px; border-top-left-radius: 10px; border-bottom-left-radius: 10px; border-top-right-radius: 10px; border-bottom-right-radius: 10px;" />
|
||||
</ui:VisualElement>
|
||||
<ui:GroupBox name="CharacterRangeSelection" style="flex-direction: row; min-height: auto; min-width: auto; margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0;">
|
||||
<ui:TextField picking-mode="Ignore" label="Start" value="!" name="StartPrebuiltCharacter" max-length="1" style="-unity-font: url("project://database/Assets/Plugins/Tiny%20Giant%20Studio/Common/Fonts/Montserrat-Regular.ttf?fileID=12800000&guid=e8239e9a7fbaa2048a9e65d5d35d76ce&type=3#Montserrat-Regular"); flex-grow: 1; flex-shrink: 1; -unity-font-definition: initial;" />
|
||||
<ui:TextField picking-mode="Ignore" label="End" value="~" name="EndPrebuiltCharacter" max-length="1" style="-unity-font: url("project://database/Assets/Plugins/Tiny%20Giant%20Studio/Common/Fonts/Montserrat-Regular.ttf?fileID=12800000&guid=e8239e9a7fbaa2048a9e65d5d35d76ce&type=3#Montserrat-Regular"); flex-grow: 1; flex-shrink: 1; -unity-font-definition: initial;" />
|
||||
</ui:GroupBox>
|
||||
<ui:GroupBox name="UnicodeRangeSelection" style="flex-direction: row; min-height: auto; min-width: auto; margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0;">
|
||||
<ui:TextField picking-mode="Ignore" label="Start" value="!" name="StartUnicode" max-length="1" style="-unity-font: url("project://database/Assets/Plugins/Tiny%20Giant%20Studio/Common/Fonts/Montserrat-Regular.ttf?fileID=12800000&guid=e8239e9a7fbaa2048a9e65d5d35d76ce&type=3#Montserrat-Regular"); flex-grow: 1; flex-shrink: 1; -unity-font-definition: initial;" />
|
||||
<ui:TextField picking-mode="Ignore" label="End" value="~" name="EndUnicode" max-length="1" style="-unity-font: url("project://database/Assets/Plugins/Tiny%20Giant%20Studio/Common/Fonts/Montserrat-Regular.ttf?fileID=12800000&guid=e8239e9a7fbaa2048a9e65d5d35d76ce&type=3#Montserrat-Regular"); flex-grow: 1; flex-shrink: 1; -unity-font-definition: initial;" />
|
||||
</ui:GroupBox>
|
||||
<ui:TextField picking-mode="Ignore" value="filler text" multiline="true" name="CustomCharacters" style="min-height: 50px;" />
|
||||
<ui:TextField picking-mode="Ignore" value="filler text" multiline="true" name="UnicodeSequence" style="min-height: 50px;" />
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:Foldout>
|
||||
<ui:GroupBox style="margin-left: 10px; margin-right: 10px; margin-top: 10px; margin-bottom: 10px; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; flex-direction: row; display: flex; justify-content: center;">
|
||||
<ui:Instance template="NoteTemplate" name="MeshSettingsNote" style="display: flex; flex-grow: 1; margin-left: 0; margin-right: 20px; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0;" />
|
||||
<ui:Button text="F.A.Q" display-tooltip-when-elided="true" name="CommonIssuesButton" class="normalButton" style="flex-grow: 0; flex-shrink: 1;" />
|
||||
</ui:GroupBox>
|
||||
</ui:ScrollView>
|
||||
<ui:GroupBox style="margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; min-width: auto; align-items: center; justify-content: center;">
|
||||
<ui:Button text="Save " display-tooltip-when-elided="true" name="CreateFontButton" class="Button normalButton" style="min-height: 35px; margin-bottom: 10px; font-size: 13px; margin-left: 10px; margin-right: 10px; margin-top: 10px; flex-grow: 1; flex-shrink: 0; min-width: 150px; max-width: 500px;" />
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
<ui:GroupBox name="UtilityContent" style="flex-grow: 0; margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; min-width: auto; min-height: auto; flex-shrink: 1; background-color: rgba(0, 0, 0, 0); display: none;">
|
||||
<ui:ScrollView style="min-width: auto; min-height: auto; flex-grow: 1; flex-shrink: 1; padding-right: 5px; border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; border-bottom-width: 1px; padding-left: 0; padding-top: 0; padding-bottom: 0;">
|
||||
<ui:GroupBox style="flex-direction: row; flex-wrap: wrap; flex-shrink: 1;">
|
||||
<ui:GroupBox name="UtilityBox" class="layoutBox">
|
||||
<ui:GroupBox name="Header">
|
||||
<ui:Label text="Assembly Definition File" display-tooltip-when-elided="true" enable-rich-text="true" style="flex-grow: 1;" />
|
||||
</ui:GroupBox>
|
||||
<ui:Label text="Assembly Definitions are assets that you can create to organize your scripts into assemblies. If you decide to use assebly definitions, remember to have those reference the Modular 3d Text one." display-tooltip-when-elided="true" style="margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; opacity: 0.8; white-space: normal; padding-left: 10px; padding-right: 10px; padding-top: 10px; padding-bottom: 10px; -unity-font-style: italic;" />
|
||||
<ui:VisualElement name="Filler" style="border-left-width: 0; border-right-width: 0; border-top-width: 0; border-bottom-width: 0; border-top-left-radius: 0; border-bottom-left-radius: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; flex-grow: 1; min-height: 0;" />
|
||||
<ui:Button text="Setup Assembly Definition File" display-tooltip-when-elided="true" name="SetupAssemblyButton" class="Button normalButton" style="min-height: 35px; margin-bottom: 10px; font-size: 13px; margin-left: 10px; margin-right: 10px; margin-top: 10px;" />
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
</ui:ScrollView>
|
||||
</ui:GroupBox>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
<ui:GroupBox name="Footer" style="background-color: rgba(0, 0, 0, 0); margin-left: 0; margin-right: 0; margin-top: 10px; margin-bottom: 0; padding-left: 20px; padding-right: 20px; padding-top: 2px; padding-bottom: 2px; flex-direction: row;">
|
||||
<ui:GroupBox name="Left" style="flex-direction: row; flex-grow: 1; margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; justify-content: flex-start; align-items: center; flex-shrink: 1;">
|
||||
<ui:GroupBox style="justify-content: center; align-items: flex-start; margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0;">
|
||||
<ui:Button text="Documentation" display-tooltip-when-elided="true" name="DocumentationButton" tooltip="Open the Online Documentaion" class="textButton darkThemeLinkText" style="border-left-width: 0; border-right-width: 0; border-top-width: 0; border-bottom-width: 0; opacity: 0.7; align-items: flex-start;" />
|
||||
<ui:GroupBox name="HorizontalGroup" style="flex-direction: row; margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; align-items: flex-end;">
|
||||
<ui:Button text="Support" display-tooltip-when-elided="true" name="ContactSupport" tooltip="Email: FerdowsurAsif@Gmail.com Need assistance with anything? Always happy to help." class="textButton darkThemeLinkText" style="border-left-width: 0; border-right-width: 0; border-top-width: 0; border-bottom-width: 0; opacity: 0.7;" />
|
||||
<ui:Label text="|" display-tooltip-when-elided="true" name="Divider" style="margin-left: 10px; margin-right: 10px; -unity-text-align: middle-center; margin-top: 0; margin-bottom: 0; align-items: center;" />
|
||||
<ui:Button text="Forum" display-tooltip-when-elided="true" name="ForumButton" tooltip="Unity Forum post Join the conversation. Feel free to share your work, question or idea." class="textButton darkThemeLinkText" style="border-left-width: 0; border-right-width: 0; border-top-width: 0; border-bottom-width: 0; opacity: 0.7;" />
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
<ui:GroupBox name="Right" style="flex-direction: row; justify-content: center; align-items: center; margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; flex-grow: 0; flex-shrink: 0; display: flex;">
|
||||
<ui:GroupBox style="padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0;">
|
||||
<ui:GroupBox name="HorizontalGroup" style="flex-direction: row; margin-left: 2px; margin-right: 2px; margin-top: 2px; margin-bottom: 2px; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; display: flex; justify-content: flex-end;">
|
||||
<ui:Button display-tooltip-when-elided="true" name="FaceBookButton" tooltip="Facebook" class="iconButton" style="border-left-width: 0; border-right-width: 0; border-top-width: 0; border-bottom-width: 0; opacity: 0.7; background-image: url("project://database/Assets/Plugins/Tiny%20Giant%20Studio/Common/Artworks/FacebookIcon.png?fileID=2800000&guid=ab92f6a1c069b1c42a0efdaf8131b5c1&type=3#FacebookIcon"); width: 20px; height: 20px; background-color: rgba(0, 0, 0, 0);" />
|
||||
<ui:Button display-tooltip-when-elided="true" name="RedditButton" tooltip="Reddit" class="iconButton" style="border-left-width: 0; border-right-width: 0; border-top-width: 0; border-bottom-width: 0; opacity: 0.7; background-image: url("project://database/Assets/Plugins/Tiny%20Giant%20Studio/Common/Artworks/RedditIcon.png?fileID=2800000&guid=c0d38168509c6ce49bf9630f8a70c31c&type=3#RedditIcon"); width: 20px; height: 20px; background-color: rgba(88, 88, 88, 0);" />
|
||||
</ui:GroupBox>
|
||||
<ui:Button text="Get other awesome assets" display-tooltip-when-elided="true" name="GetMoreAssetsButton" tooltip="Checkout other assets on our Unity Store Page" class="textButton darkThemeLinkText" style="border-left-width: 0; border-right-width: 0; border-top-width: 0; border-bottom-width: 0; opacity: 0.7; padding-right: 2px;" />
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
</ui:UXML>
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b8291685ff5a0eb439f171f91413f5c7
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
|
||||
@@ -0,0 +1,11 @@
|
||||
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" editor-extension-mode="False">
|
||||
<ui:GroupBox name="InfoBox" class="title" style="background-color: rgba(0, 0, 0, 0.2); margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 5px; padding-right: 5px; padding-top: 5px; padding-bottom: 5px; border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; border-bottom-width: 1px; border-top-left-radius: 2px; border-bottom-left-radius: 2px; border-top-right-radius: 2px; border-bottom-right-radius: 2px; flex-direction: row;">
|
||||
<ui:GroupBox name="LeftSide" style="padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; flex-shrink: 1; flex-direction: row; align-items: center; justify-content: center; min-width: 25px;">
|
||||
<ui:Label display-tooltip-when-elided="true" name="Icon" style="background-image: url('project://database/Assets/Plugins/Tiny%20Giant%20Studio/Common/Artworks/Information.png?fileID=2800000&guid=2303a5be81186da4f8658cdb0e3584fe&type=3#Information'); width: 15px; height: 15px; justify-content: center; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0;" />
|
||||
</ui:GroupBox>
|
||||
<ui:GroupBox name="RightSide" style="margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; flex-shrink: 1; justify-content: center; flex-grow: 1;">
|
||||
<ui:Label text="Turn off gizmos when not needed" display-tooltip-when-elided="true" name="Headline" style="-unity-font-style: normal; font-size: 12px; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; color: rgb(82, 150, 66); -unity-font-definition: url('project://database/Assets/Plugins/Tiny%20Giant%20Studio/Common/Fonts/Montserrat-Regular%20SDF.asset?fileID=11400000&guid=5f7aecc8015b29a4fa747b92096f9790&type=2#Montserrat-Regular SDF'); -unity-font: url('project://database/Assets/Plugins/Tiny%20Giant%20Studio/Common/Fonts/Montserrat-Regular.ttf?fileID=12800000&guid=e8239e9a7fbaa2048a9e65d5d35d76ce&type=3#Montserrat-Regular');" />
|
||||
<ui:Label text="For high poly mesheshes, the debug gizmos can impact performance." display-tooltip-when-elided="true" name="Details" style="font-size: 10px; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; white-space: normal; -unity-font-definition: url('project://database/Assets/Plugins/Tiny%20Giant%20Studio/Common/Fonts/Montserrat-Regular%20SDF.asset?fileID=11400000&guid=5f7aecc8015b29a4fa747b92096f9790&type=2#Montserrat-Regular SDF'); -unity-font: url('project://database/Assets/Plugins/Tiny%20Giant%20Studio/Common/Fonts/Montserrat-Regular.ttf?fileID=12800000&guid=e8239e9a7fbaa2048a9e65d5d35d76ce&type=3#Montserrat-Regular'); display: none;" />
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
</ui:UXML>
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c0185360e083a384499af4b8227c7ef8
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
|
||||
@@ -0,0 +1,12 @@
|
||||
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" editor-extension-mode="False">
|
||||
<Style src="project://database/Assets/Plugins/Tiny%20Giant%20Studio/Modular%203D%20Text/Scripts/Editor/Common/ModularTextStyleSheet.uss?fileID=7433441132597879392&guid=bc57b45100516604c92a14e686605401&type=3#ModularTextStyleSheet" />
|
||||
<ui:GroupBox name="PreviewGroupBox" tooltip="How a character will look" style="margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 5px; padding-right: 5px; padding-top: 5px; padding-bottom: 5px; justify-content: space-between; display: flex; flex-shrink: 0; background-color: rgba(0, 0, 0, 0.2); flex-grow: 0; border-top-left-radius: 5px; border-bottom-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px;">
|
||||
<ui:IMGUIContainer name="PreviewSettingsContainer" style="height: 25px; width: 300px; border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; display: flex; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0;" />
|
||||
<ui:VisualElement style="min-height: 1px; margin-left: 0; margin-right: 0; margin-top: 2px; margin-bottom: 2px; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; max-width: 100%; background-color: rgba(0, 0, 0, 0.39);" />
|
||||
<ui:IMGUIContainer name="PreviewContainer" tooltip="Interactable preview" style="height: 200px; width: 300px; background-color: rgb(60, 54, 54); border-top-left-radius: 0; border-top-right-radius: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; overflow: hidden; justify-content: flex-end; margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0;" />
|
||||
<ui:VisualElement style="flex-direction: row; flex-grow: 0; align-items: center; margin-top: 2px; justify-content: flex-start; background-color: rgba(30, 30, 30, 0.04); max-width: 300px; border-left-color: rgba(0, 0, 0, 0.39); border-right-color: rgba(0, 0, 0, 0.39); border-top-color: rgba(0, 0, 0, 0.39); border-bottom-color: rgba(0, 0, 0, 0.39); padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0;">
|
||||
<ui:TextField picking-mode="Ignore" text="a" max-length="1" name="PreviewCharacterField" is-delayed="false" class="CenteredTextField" style="min-width: 50px; -unity-text-align: middle-center; align-items: center; margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; flex-grow: 0; border-left-width: 0; border-right-width: 0; border-top-width: 0; border-bottom-width: 0; border-top-left-radius: 5px; border-bottom-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; justify-content: flex-start; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; -unity-font-definition: url('project://database/Assets/Plugins/Tiny%20Giant%20Studio/Common/Fonts/Montserrat-SemiBold%20SDF.asset?fileID=11400000&guid=3f2d54698aa06f3499c2f510a4aa170e&type=2#Montserrat-SemiBold SDF'); -unity-font: url('project://database/Assets/Plugins/Tiny%20Giant%20Studio/Common/Fonts/Montserrat-SemiBold.ttf?fileID=12800000&guid=9adadeb836c409344991102d1e896531&type=3#Montserrat-SemiBold'); max-width: 50px; width: 50px;" />
|
||||
<ui:Label text="Vertex : 13" display-tooltip-when-elided="true" name="MeshInformationLabel" style="-unity-text-align: upper-center; -unity-font-style: normal; -unity-text-outline-width: 0; -unity-text-outline-color: rgba(0, 0, 0, 0); font-size: 11px; color: rgba(151, 151, 136, 0.94); background-color: rgba(0, 0, 0, 0.08); margin-right: 0; padding-left: 3px; padding-right: 3px; padding-top: 3px; padding-bottom: 3px; text-shadow: 0.1px 0.1px 1px rgba(0, 0, 0, 0.59); margin-left: 10px;" />
|
||||
</ui:VisualElement>
|
||||
</ui:GroupBox>
|
||||
</ui:UXML>
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f29633cd449c15840af3cb0764084a4e
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
|
||||
670
Assets/ThirdParty/Tiny Giant Studio/Tiny Giant Studio/Editor/Modular 3D Text/ButtonEditor.cs
vendored
Normal file
@@ -0,0 +1,670 @@
|
||||
using System;
|
||||
using TinyGiantStudio.EditorHelpers;
|
||||
using TinyGiantStudio.Modules;
|
||||
using UnityEditor;
|
||||
using UnityEditor.AnimatedValues;
|
||||
using UnityEngine;
|
||||
|
||||
namespace TinyGiantStudio.Text
|
||||
{
|
||||
[CustomEditor(typeof(Button))]
|
||||
public class ButtonEditor : Editor
|
||||
{
|
||||
public AssetSettings settings;
|
||||
|
||||
Button myTarget;
|
||||
SerializedObject soTarget;
|
||||
|
||||
SerializedProperty pressCompleteEvent;
|
||||
SerializedProperty beingPressedEvent;
|
||||
SerializedProperty selectedEvent;
|
||||
SerializedProperty unselectEvent;
|
||||
|
||||
SerializedProperty interactable;
|
||||
SerializedProperty interactableByMouse;
|
||||
|
||||
SerializedProperty text;
|
||||
SerializedProperty background;
|
||||
|
||||
SerializedProperty useStyles;
|
||||
|
||||
SerializedProperty normalTextSize;
|
||||
SerializedProperty normalTextMaterial;
|
||||
SerializedProperty normalBackgroundMaterial;
|
||||
|
||||
SerializedProperty useSelectedVisual;
|
||||
SerializedProperty selectedTextSize;
|
||||
SerializedProperty selectedTextMaterial;
|
||||
SerializedProperty selectedBackgroundMaterial;
|
||||
|
||||
SerializedProperty usePressedVisual;
|
||||
SerializedProperty pressedTextSize;
|
||||
SerializedProperty pressedTextMaterial;
|
||||
SerializedProperty pressedBackgroundMaterial;
|
||||
SerializedProperty holdPressedVisualFor;
|
||||
|
||||
|
||||
SerializedProperty useDisabledVisual;
|
||||
SerializedProperty disabledTextSize;
|
||||
SerializedProperty disabledTextMaterial;
|
||||
SerializedProperty disabledBackgroundMaterial;
|
||||
|
||||
SerializedProperty useModules;
|
||||
|
||||
SerializedProperty unSelectedModuleContainers;
|
||||
SerializedProperty applyUnSelectedModuleContainers;
|
||||
SerializedProperty selectedModuleContainers;
|
||||
SerializedProperty applySelectedModuleContainers;
|
||||
SerializedProperty beingPressedModuleContainers;
|
||||
SerializedProperty applyBeingPressedModuleContainers;
|
||||
SerializedProperty pressCompleteModuleContainers;
|
||||
SerializedProperty applyPressCompleteModuleContainers;
|
||||
|
||||
SerializedProperty hideOverwrittenVariablesFromInspector;
|
||||
|
||||
|
||||
GUIStyle foldOutStyle = null;
|
||||
GUIStyle iconButtonStyle = null;
|
||||
GUIStyle defaultLabel = null;
|
||||
GUIStyle defaultMultilineLabel = null;
|
||||
GUIStyle headerLabel = null;
|
||||
GUIStyle myStyleButton = null;
|
||||
|
||||
|
||||
static Color openedFoldoutTitleColor = new Color(124 / 255f, 170 / 255f, 239 / 255f, 0.9f);
|
||||
static Color toggledOffColor = new Color(0.75f, 0.75f, 0.75f); //settings that are turned off but still visible
|
||||
|
||||
AnimBool showEventSettings;
|
||||
AnimBool showModuleSettings;
|
||||
AnimBool showAdvancedSettings;
|
||||
|
||||
AnimBool showDisabledItemSettings;
|
||||
AnimBool showPressedItemSettings;
|
||||
AnimBool showSelectedItemSettings;
|
||||
AnimBool showNormalItemSettings;
|
||||
AnimBool showVisualSettings;
|
||||
|
||||
Texture documentationIcon;
|
||||
readonly float iconSize = 20;
|
||||
|
||||
readonly string variableName = "\n\nVariable name: ";
|
||||
|
||||
Type xrToolkitSetupClass;
|
||||
|
||||
|
||||
void OnEnable()
|
||||
{
|
||||
xrToolkitSetupClass = Type.GetType("TinyGiantStudio.Text.XRToolkitEditorSetup");
|
||||
|
||||
GetReferences();
|
||||
|
||||
documentationIcon = EditorGUIUtility.Load("Assets/Plugins/Tiny Giant Studio/Modular 3D Text/Utility/Editor Icons/Icon_Documentation.png") as Texture;
|
||||
|
||||
if (!settings)
|
||||
settings = StaticMethods.VerifySettings(settings);
|
||||
}
|
||||
|
||||
public override void OnInspectorGUI()
|
||||
{
|
||||
GenerateStyle();
|
||||
soTarget.Update();
|
||||
EditorGUI.BeginChangeCheck();
|
||||
|
||||
Warning();
|
||||
GUILayout.Space(10);
|
||||
MainSettings();
|
||||
GUILayout.Space(10);
|
||||
Events();
|
||||
GUILayout.Space(6);
|
||||
Styles();
|
||||
GUILayout.Space(6);
|
||||
ModuleSettings();
|
||||
GUILayout.Space(6);
|
||||
AdvancedSettings();
|
||||
|
||||
if (xrToolkitSetupClass != null)
|
||||
xrToolkitSetupClass.GetMethod("CreateSetupButton").Invoke(null, new object[] { myTarget.gameObject, myStyleButton });
|
||||
|
||||
if (EditorGUI.EndChangeCheck())
|
||||
{
|
||||
soTarget.ApplyModifiedProperties();
|
||||
|
||||
myTarget.UpdateStyle();
|
||||
|
||||
EditorUtility.SetDirty(myTarget);
|
||||
}
|
||||
}
|
||||
void Warning()
|
||||
{
|
||||
if (myTarget.ApplyNormalStyle().Item1 || myTarget.ApplyOnSelectStyle().Item1 || myTarget.ApplyPressedStyle().Item1 || myTarget.ApplyDisabledStyle().Item1)
|
||||
EditorGUILayout.HelpBox("Some values are overwritten by parent list.", MessageType.Info);
|
||||
}
|
||||
|
||||
|
||||
void MainSettings()
|
||||
{
|
||||
MText_Editor_Methods.ItalicHorizontalField(text, "Text", "Style changes apply to the text specified here." + variableName + "Text");
|
||||
MText_Editor_Methods.ItalicHorizontalField(background, "Background", "The background is assigned to the button. The button can change material depending on Style." + variableName + "Background");
|
||||
//EditorGUILayout.PropertyField(background);
|
||||
|
||||
GUILayout.Space(5);
|
||||
|
||||
GUILayout.BeginHorizontal();
|
||||
float defaultLabelWidth = EditorGUIUtility.labelWidth;
|
||||
EditorGUIUtility.labelWidth = 80;
|
||||
EditorGUILayout.PropertyField(interactable);
|
||||
if (myTarget.interactable)
|
||||
{
|
||||
EditorGUIUtility.labelWidth = 120;
|
||||
EditorGUI.indentLevel = 1;
|
||||
EditorGUILayout.PropertyField(interactableByMouse, new GUIContent("By mouse/touch"));
|
||||
}
|
||||
GUILayout.FlexibleSpace();
|
||||
EditorGUIUtility.labelWidth = defaultLabelWidth;
|
||||
GUILayout.EndHorizontal();
|
||||
}
|
||||
|
||||
void Styles()
|
||||
{
|
||||
if (myTarget.hideOverwrittenVariablesFromInspector && myTarget.ApplyNormalStyle().Item1 && myTarget.ApplyOnSelectStyle().Item1 && myTarget.ApplyPressedStyle().Item1 && myTarget.ApplyDisabledStyle().Item1)
|
||||
return;
|
||||
|
||||
EditorGUI.indentLevel = 0;
|
||||
GUILayout.BeginVertical(EditorStyles.helpBox);
|
||||
|
||||
GUILayout.BeginVertical(EditorStyles.toolbar);
|
||||
GUILayout.BeginHorizontal();
|
||||
EditorGUILayout.PropertyField(useStyles, GUIContent.none, GUILayout.MaxWidth(25));
|
||||
showVisualSettings.target = EditorGUILayout.Foldout(showVisualSettings.target, new GUIContent("Style", "If set to false, disables all style controls from this button. \n\nThe name of the bool: 'useStyle'"), true, foldOutStyle);
|
||||
Documentation("https://ferdowsur.gitbook.io/modular-3d-text/utility/ui-states", "Understanding UI States");
|
||||
GUILayout.EndHorizontal();
|
||||
GUILayout.EndVertical();
|
||||
|
||||
if (EditorGUILayout.BeginFadeGroup(showVisualSettings.faded))
|
||||
{
|
||||
GUILayout.Space(8);
|
||||
NormalStyle();
|
||||
GUILayout.Space(5);
|
||||
SelectedStyle();
|
||||
GUILayout.Space(5);
|
||||
PressedItemSettings();
|
||||
GUILayout.Space(5);
|
||||
DisabledtStyle();
|
||||
}
|
||||
|
||||
EditorGUILayout.EndFadeGroup();
|
||||
GUILayout.EndVertical();
|
||||
}
|
||||
|
||||
void Events()
|
||||
{
|
||||
EditorGUI.indentLevel = 2;
|
||||
GUILayout.BeginVertical(EditorStyles.helpBox);
|
||||
|
||||
GUILayout.BeginVertical(EditorStyles.toolbar);
|
||||
GUILayout.BeginHorizontal();
|
||||
GUIContent content = new GUIContent("Events",
|
||||
"Unselected :" +
|
||||
"\nVariable name: unselectEvent" +
|
||||
"\nThis is the state that appears when a UI element enters the normal state from selected." +
|
||||
"\n" +
|
||||
"\nSelected :" +
|
||||
"\nVariable name: selectedEvent" +
|
||||
"\nMouse hover on the item or selected item via keyboard/controller in a list." +
|
||||
"\n" +
|
||||
"\nBeing Pressed :" +
|
||||
"\nVariable name: beingPressedEvent" +
|
||||
"\nWhile the mouse click or touch is held down, the module or event is constantly called." +
|
||||
"\n" +
|
||||
"\nPress Complete:" +
|
||||
"\nVariable name: pressCompleteEvent" +
|
||||
"\nWhen the user releases the key. In other words, the frame when the button/key or touch being pressed is complete." +
|
||||
"");
|
||||
|
||||
showEventSettings.target = EditorGUILayout.Foldout(showEventSettings.target, content, true, foldOutStyle);
|
||||
Documentation("https://ferdowsur.gitbook.io/modular-3d-text/utility/ui-states", "Understanding UI States");
|
||||
GUILayout.EndHorizontal();
|
||||
GUILayout.EndVertical();
|
||||
|
||||
if (EditorGUILayout.BeginFadeGroup(showEventSettings.faded))
|
||||
{
|
||||
EditorGUILayout.PropertyField(unselectEvent, new GUIContent("Unselected", "This is the state that appears when a UI element enters the normal state from selected. \r\nThis is used instead of normal because a UI element can be \"normal\" state by default when the game starts."));
|
||||
EditorGUILayout.PropertyField(selectedEvent, new GUIContent("Selected", "Mouse hover on the item or selected item via keyboard/controller in a list."));
|
||||
EditorGUILayout.PropertyField(beingPressedEvent, new GUIContent("Being Pressed", "While the mouse/keyboard/controller button is pressed down or touch held down, the module or event is constantly called."));
|
||||
EditorGUILayout.PropertyField(pressCompleteEvent, new GUIContent("Press Complete", "When the user releases the key. In other words, the frame when the button/key or touch being pressed is complete."));
|
||||
}
|
||||
|
||||
EditorGUILayout.EndFadeGroup();
|
||||
GUILayout.EndVertical();
|
||||
}
|
||||
|
||||
void ModuleSettings()
|
||||
{
|
||||
GUILayout.BeginVertical(EditorStyles.helpBox);
|
||||
EditorGUI.indentLevel = 0;
|
||||
|
||||
GUILayout.BeginVertical(EditorStyles.toolbar);
|
||||
|
||||
GUILayout.BeginHorizontal();
|
||||
|
||||
EditorGUILayout.PropertyField(useModules, GUIContent.none, GUILayout.MaxWidth(25));
|
||||
showModuleSettings.target = EditorGUILayout.Foldout(showModuleSettings.target, new GUIContent("Modules", "If set to false, disables all modules from this button. Modules are called when entering a style for the first time." + variableName + "useModules"), true, foldOutStyle);
|
||||
|
||||
Documentation("https://ferdowsur.gitbook.io/modular-3d-text/modules", "Modules");
|
||||
|
||||
GUILayout.EndHorizontal();
|
||||
|
||||
GUILayout.EndVertical();
|
||||
|
||||
string tooltip_unSelected = "Unselect is the state that appears when a UI element enters the normal state from selected.";
|
||||
string tooltip_selected = "Selected is the state when Mouse hovers on a UI item or it is selected via keyboard/controller by scrolling in a list.";
|
||||
string tooltip_beingPressed = "Being pressed is while the mouse click or touch is held down, the module or event is constantly called.";
|
||||
string tooltip_onClick = "When the user releases the key.";
|
||||
|
||||
Color contentDefaultColor = GUI.contentColor;
|
||||
if (!myTarget.useModules)
|
||||
GUI.contentColor = toggledOffColor;
|
||||
|
||||
if (EditorGUILayout.BeginFadeGroup(showModuleSettings.faded))
|
||||
{
|
||||
GUILayout.Space(5);
|
||||
EditorGUI.indentLevel = 2;
|
||||
ModuleDrawer.BaseModuleContainerList("UnSelected", tooltip_unSelected + variableName + "applyUnSelectedModuleContainers for enabling/disabling." + variableName + "unSelectedModuleContainers for ModuleContainer List", myTarget.unSelectedModuleContainers, unSelectedModuleContainers, soTarget, applyUnSelectedModuleContainers);
|
||||
GUILayout.Space(10);
|
||||
ModuleDrawer.BaseModuleContainerList("Selected", tooltip_selected + variableName + "applySelectModuleContainers for enabling/disabling." + variableName + "selectedModuleContainers for ModuleContainer List", myTarget.selectedModuleContainers, selectedModuleContainers, soTarget, applySelectedModuleContainers);
|
||||
GUILayout.Space(10);
|
||||
ModuleDrawer.BaseModuleContainerList("Being Pressed", tooltip_beingPressed + variableName + "applyBeingPressedModuleContainers for enabling/disabling." + variableName + "beingPressedModuleContainers for ModuleContainer List", myTarget.beingPressedModuleContainers, beingPressedModuleContainers, soTarget, applyBeingPressedModuleContainers);
|
||||
GUILayout.Space(10);
|
||||
ModuleDrawer.BaseModuleContainerList("Press Complete", tooltip_onClick + variableName + "applyPressCompleteModuleContainers for enabling/disabling." + variableName + "pressCompleteModuleContainers for ModuleContainer List", myTarget.pressCompleteModuleContainers, pressCompleteModuleContainers, soTarget, applyPressCompleteModuleContainers);
|
||||
}
|
||||
|
||||
EditorGUILayout.EndFadeGroup();
|
||||
GUILayout.EndVertical();
|
||||
|
||||
GUI.contentColor = contentDefaultColor;
|
||||
}
|
||||
|
||||
void AdvancedSettings()
|
||||
{
|
||||
GUILayout.BeginVertical(EditorStyles.helpBox);
|
||||
EditorGUI.indentLevel = 1;
|
||||
|
||||
GUILayout.BeginVertical(EditorStyles.toolbar);
|
||||
GUILayout.BeginHorizontal();
|
||||
showAdvancedSettings.target = EditorGUILayout.Foldout(showAdvancedSettings.target, new GUIContent("Advanced settings", ""), true, foldOutStyle);
|
||||
GUILayout.EndHorizontal();
|
||||
GUILayout.EndVertical();
|
||||
|
||||
if (EditorGUILayout.BeginFadeGroup(showAdvancedSettings.faded))
|
||||
{
|
||||
EditorGUI.indentLevel = 1;
|
||||
MText_Editor_Methods.HorizontalField(hideOverwrittenVariablesFromInspector, "Hide overwritten values", "Buttons under list sometimes have styles overwritten. This hides these variables", FieldSize.extraLarge);
|
||||
}
|
||||
|
||||
EditorGUILayout.EndFadeGroup();
|
||||
GUILayout.EndVertical();
|
||||
}
|
||||
|
||||
|
||||
void NormalStyle()
|
||||
{
|
||||
if (myTarget.ApplyNormalStyle().Item1 && myTarget.hideOverwrittenVariablesFromInspector)
|
||||
return;
|
||||
|
||||
Color contentDefaultColor = GUI.contentColor;
|
||||
if (!myTarget.useStyles)
|
||||
GUI.contentColor = toggledOffColor;
|
||||
|
||||
EditorGUI.indentLevel = 1;
|
||||
GUILayout.BeginVertical(EditorStyles.helpBox);
|
||||
|
||||
GUILayout.BeginVertical(EditorStyles.toolbar);
|
||||
GUILayout.BeginHorizontal();
|
||||
showNormalItemSettings.target = EditorGUILayout.Foldout(showNormalItemSettings.target, new GUIContent("Normal"), true, foldOutStyle);
|
||||
GUILayout.EndHorizontal();
|
||||
GUILayout.EndVertical();
|
||||
|
||||
if (EditorGUILayout.BeginFadeGroup(showNormalItemSettings.faded))
|
||||
{
|
||||
EditorGUI.indentLevel = 0;
|
||||
|
||||
if (myTarget.ApplyNormalStyle().Item1)
|
||||
{
|
||||
EditorGUILayout.HelpBox("Normal style visuals are being overwritten by parent list", MessageType.Info);
|
||||
GUILayout.Space(5);
|
||||
}
|
||||
|
||||
GUILayout.BeginHorizontal();
|
||||
EditorGUILayout.LabelField(new GUIContent("Text Size", variableName + "NormalTextSize"), defaultLabel, GUILayout.MaxWidth(70));
|
||||
EditorGUILayout.PropertyField(normalTextSize, GUIContent.none);
|
||||
GUILayout.EndHorizontal();
|
||||
|
||||
GUILayout.BeginHorizontal();
|
||||
MText_Editor_Methods.PreviewField(normalTextMaterial, myTarget.NormalTextMaterial, "Text", variableName + "NormalTextMaterial");
|
||||
MText_Editor_Methods.PreviewField(normalBackgroundMaterial, myTarget.NormalBackgroundMaterial, "Background", variableName + "NormalBackgroundMaterial");
|
||||
GUILayout.EndHorizontal();
|
||||
}
|
||||
|
||||
EditorGUILayout.EndFadeGroup();
|
||||
GUILayout.EndVertical();
|
||||
|
||||
GUI.contentColor = contentDefaultColor;
|
||||
}
|
||||
void SelectedStyle()
|
||||
{
|
||||
if (myTarget.ApplyOnSelectStyle().Item1 && myTarget.hideOverwrittenVariablesFromInspector)
|
||||
return;
|
||||
|
||||
Color contentDefaultColor = GUI.contentColor;
|
||||
if (!myTarget.useStyles || !myTarget.useSelectedVisual)
|
||||
GUI.contentColor = toggledOffColor;
|
||||
|
||||
EditorGUI.indentLevel = 0;
|
||||
GUILayout.BeginVertical(EditorStyles.helpBox);
|
||||
|
||||
GUILayout.BeginVertical(EditorStyles.toolbar);
|
||||
GUILayout.BeginHorizontal();
|
||||
GUIContent content = new GUIContent("Selected", "Mouse hover or selected in a list ready to be clicked" + variableName + "useSelectedVisual");
|
||||
EditorGUILayout.PropertyField(useSelectedVisual, GUIContent.none, GUILayout.MaxWidth(25));
|
||||
showSelectedItemSettings.target = EditorGUILayout.Foldout(showSelectedItemSettings.target, content, true, foldOutStyle);
|
||||
GUILayout.EndHorizontal();
|
||||
GUILayout.EndVertical();
|
||||
|
||||
if (EditorGUILayout.BeginFadeGroup(showSelectedItemSettings.faded))
|
||||
{
|
||||
EditorGUI.indentLevel = 0;
|
||||
if (myTarget.ApplyOnSelectStyle().Item1)
|
||||
{
|
||||
EditorGUILayout.HelpBox("On select style visuals are being overwritten by parent list", MessageType.Info);
|
||||
GUILayout.Space(5);
|
||||
}
|
||||
|
||||
GUILayout.BeginHorizontal();
|
||||
EditorGUILayout.LabelField(new GUIContent("Text Size", variableName + "SelectedTextSize"), defaultLabel, GUILayout.MaxWidth(70));
|
||||
EditorGUILayout.PropertyField(selectedTextSize, GUIContent.none);
|
||||
GUILayout.EndHorizontal();
|
||||
|
||||
GUILayout.BeginHorizontal();
|
||||
MText_Editor_Methods.PreviewField(selectedTextMaterial, myTarget.SelectedTextMaterial, "Text", variableName + "SelectedTextMaterial");
|
||||
MText_Editor_Methods.PreviewField(selectedBackgroundMaterial, myTarget.SelectedBackgroundMaterial, "Background", variableName + "SelectedBackgroundMaterial");
|
||||
GUILayout.EndHorizontal();
|
||||
}
|
||||
|
||||
EditorGUILayout.EndFadeGroup();
|
||||
GUILayout.EndVertical();
|
||||
GUI.contentColor = contentDefaultColor;
|
||||
}
|
||||
void PressedItemSettings()
|
||||
{
|
||||
if (myTarget.ApplyPressedStyle().Item1 && myTarget.hideOverwrittenVariablesFromInspector)
|
||||
return;
|
||||
|
||||
Color contentDefaultColor = GUI.contentColor;
|
||||
if (!myTarget.useStyles || !myTarget.usePressedVisual)
|
||||
GUI.contentColor = toggledOffColor;
|
||||
|
||||
EditorGUI.indentLevel = 0;
|
||||
GUILayout.BeginVertical(EditorStyles.helpBox);
|
||||
|
||||
GUILayout.BeginVertical(EditorStyles.toolbar);
|
||||
GUILayout.BeginHorizontal();
|
||||
GUIContent content = new GUIContent("Pressed", "When click/tocuh is pressed down or for limited time after click." + variableName + "usePressedVisual");
|
||||
EditorGUILayout.PropertyField(usePressedVisual, GUIContent.none, GUILayout.MaxWidth(25));
|
||||
showPressedItemSettings.target = EditorGUILayout.Foldout(showPressedItemSettings.target, content, true, foldOutStyle);
|
||||
GUILayout.EndHorizontal();
|
||||
GUILayout.EndVertical();
|
||||
|
||||
if (EditorGUILayout.BeginFadeGroup(showPressedItemSettings.faded))
|
||||
{
|
||||
EditorGUI.indentLevel = 0;
|
||||
if (myTarget.ApplyPressedStyle().Item1)
|
||||
{
|
||||
EditorGUILayout.HelpBox("Pressed style visuals are being overwritten by parent list", MessageType.Info);
|
||||
GUILayout.Space(5);
|
||||
}
|
||||
GUILayout.BeginHorizontal();
|
||||
EditorGUILayout.LabelField(new GUIContent("Text Size", variableName + "PressedTextSize"), defaultLabel, GUILayout.MaxWidth(70));
|
||||
EditorGUILayout.PropertyField(pressedTextSize, GUIContent.none);
|
||||
GUILayout.EndHorizontal();
|
||||
|
||||
GUILayout.BeginHorizontal();
|
||||
MText_Editor_Methods.PreviewField(pressedTextMaterial, myTarget.PressedTextMaterial, "Text", variableName + "PressedTextMaterial");
|
||||
MText_Editor_Methods.PreviewField(pressedBackgroundMaterial, myTarget.PressedBackgroundMaterial, "Background", variableName + "PressedBackgroundMaterial");
|
||||
GUILayout.EndHorizontal();
|
||||
|
||||
MText_Editor_Methods.HorizontalField(holdPressedVisualFor, "Hold pressed for", "How long this visual lasts after pressing. This is not for mouse/touch click." + variableName + "holdPressedVisualFor", FieldSize.large);
|
||||
}
|
||||
|
||||
EditorGUILayout.EndFadeGroup();
|
||||
GUILayout.EndVertical();
|
||||
GUI.contentColor = contentDefaultColor;
|
||||
}
|
||||
void DisabledtStyle()
|
||||
{
|
||||
if (myTarget.ApplyDisabledStyle().Item1 && myTarget.hideOverwrittenVariablesFromInspector)
|
||||
return;
|
||||
|
||||
Color contentDefaultColor = GUI.contentColor;
|
||||
if (!myTarget.useStyles || !myTarget.UseDisabledVisual)
|
||||
GUI.contentColor = toggledOffColor;
|
||||
|
||||
|
||||
EditorGUI.indentLevel = 0;
|
||||
GUILayout.BeginVertical(EditorStyles.helpBox);
|
||||
|
||||
GUILayout.BeginVertical(EditorStyles.toolbar);
|
||||
GUILayout.BeginHorizontal();
|
||||
GUIContent content = new GUIContent("Disabled", "Style when button isn't interactable." + variableName + "UseDisabledVisual");
|
||||
EditorGUILayout.PropertyField(useDisabledVisual, GUIContent.none, GUILayout.MaxWidth(25));
|
||||
showDisabledItemSettings.target = EditorGUILayout.Foldout(showDisabledItemSettings.target, content, true, foldOutStyle);
|
||||
GUILayout.EndHorizontal();
|
||||
GUILayout.EndVertical();
|
||||
|
||||
if (EditorGUILayout.BeginFadeGroup(showDisabledItemSettings.faded))
|
||||
{
|
||||
EditorGUI.indentLevel = 0;
|
||||
if (myTarget.ApplyDisabledStyle().Item1)
|
||||
{
|
||||
EditorGUILayout.HelpBox("Disabled style visuals are being overwritten by parent list", MessageType.Info);
|
||||
GUILayout.Space(5);
|
||||
}
|
||||
GUILayout.BeginHorizontal();
|
||||
EditorGUILayout.LabelField(new GUIContent("Text Size", variableName + "DisabledTextSize"), defaultLabel, GUILayout.MaxWidth(70));
|
||||
EditorGUILayout.PropertyField(disabledTextSize, GUIContent.none);
|
||||
GUILayout.EndHorizontal();
|
||||
|
||||
GUILayout.BeginHorizontal();
|
||||
MText_Editor_Methods.PreviewField(disabledTextMaterial, myTarget.DisabledTextMaterial, "Text", variableName + "DisabledTextMaterial");
|
||||
MText_Editor_Methods.PreviewField(disabledBackgroundMaterial, myTarget.DisabledBackgroundMaterial, "Background", variableName + "DisabledBackgroundMaterial");
|
||||
GUILayout.EndHorizontal();
|
||||
}
|
||||
EditorGUILayout.EndFadeGroup();
|
||||
GUILayout.EndVertical();
|
||||
GUI.contentColor = contentDefaultColor;
|
||||
}
|
||||
|
||||
|
||||
void Documentation(string URL, string subject)
|
||||
{
|
||||
GUIContent doc = new GUIContent(documentationIcon, subject + " documentation\n\nURL: " + URL);
|
||||
if (GUILayout.Button(doc, iconButtonStyle, GUILayout.Height(iconSize), GUILayout.Width(iconSize)))
|
||||
{
|
||||
Application.OpenURL(URL);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
void GetReferences()
|
||||
{
|
||||
myTarget = (Button)target;
|
||||
soTarget = new SerializedObject(target);
|
||||
|
||||
showModuleSettings = new AnimBool(false);
|
||||
showModuleSettings.valueChanged.AddListener(Repaint);
|
||||
showAdvancedSettings = new AnimBool(false);
|
||||
showAdvancedSettings.valueChanged.AddListener(Repaint);
|
||||
|
||||
|
||||
unselectEvent = soTarget.FindProperty("unselectEvent");
|
||||
selectedEvent = soTarget.FindProperty("selectedEvent");
|
||||
beingPressedEvent = soTarget.FindProperty("beingPressedEvent");
|
||||
pressCompleteEvent = soTarget.FindProperty("pressCompleteEvent");
|
||||
|
||||
interactable = soTarget.FindProperty("interactable");
|
||||
interactableByMouse = soTarget.FindProperty("interactableByMouse");
|
||||
|
||||
text = soTarget.FindProperty("_text");
|
||||
background = soTarget.FindProperty("_background");
|
||||
|
||||
|
||||
useStyles = soTarget.FindProperty("useStyles");
|
||||
|
||||
normalTextSize = soTarget.FindProperty("_normalTextSize");
|
||||
normalTextMaterial = soTarget.FindProperty("_normalTextMaterial");
|
||||
normalBackgroundMaterial = soTarget.FindProperty("_normalBackgroundMaterial");
|
||||
|
||||
useSelectedVisual = soTarget.FindProperty("useSelectedVisual");
|
||||
selectedTextSize = soTarget.FindProperty("_selectedTextSize");
|
||||
selectedTextMaterial = soTarget.FindProperty("_selectedTextMaterial");
|
||||
selectedBackgroundMaterial = soTarget.FindProperty("_selectedBackgroundMaterial");
|
||||
|
||||
usePressedVisual = soTarget.FindProperty("usePressedVisual");
|
||||
pressedTextSize = soTarget.FindProperty("_pressedTextSize");
|
||||
pressedTextMaterial = soTarget.FindProperty("_pressedTextMaterial");
|
||||
pressedBackgroundMaterial = soTarget.FindProperty("_pressedBackgroundMaterial");
|
||||
holdPressedVisualFor = soTarget.FindProperty("holdPressedVisualFor");
|
||||
|
||||
useDisabledVisual = soTarget.FindProperty("_useDisabledVisual");
|
||||
disabledTextSize = soTarget.FindProperty("_disabledTextSize");
|
||||
disabledTextMaterial = soTarget.FindProperty("_disabledTextMaterial");
|
||||
disabledBackgroundMaterial = soTarget.FindProperty("_disabledBackgroundMaterial");
|
||||
|
||||
|
||||
|
||||
useModules = soTarget.FindProperty("useModules");
|
||||
|
||||
unSelectedModuleContainers = soTarget.FindProperty("unSelectedModuleContainers");
|
||||
applyUnSelectedModuleContainers = soTarget.FindProperty("applyUnSelectedModuleContainers");
|
||||
selectedModuleContainers = soTarget.FindProperty("selectedModuleContainers");
|
||||
applySelectedModuleContainers = soTarget.FindProperty("applySelectModuleContainers");
|
||||
beingPressedModuleContainers = soTarget.FindProperty("beingPressedModuleContainers");
|
||||
applyBeingPressedModuleContainers = soTarget.FindProperty("applyBeingPressedModuleContainers");
|
||||
pressCompleteModuleContainers = soTarget.FindProperty("pressCompleteModuleContainers");
|
||||
applyPressCompleteModuleContainers = soTarget.FindProperty("applyPressCompleteModuleContainers");
|
||||
|
||||
hideOverwrittenVariablesFromInspector = soTarget.FindProperty("hideOverwrittenVariablesFromInspector");
|
||||
|
||||
GetAnimBoolReferences();
|
||||
}
|
||||
void GetAnimBoolReferences()
|
||||
{
|
||||
showEventSettings = new AnimBool(false);
|
||||
showEventSettings.valueChanged.AddListener(Repaint);
|
||||
|
||||
showVisualSettings = new AnimBool(false);
|
||||
showVisualSettings.valueChanged.AddListener(Repaint);
|
||||
|
||||
showNormalItemSettings = new AnimBool(false);
|
||||
showNormalItemSettings.valueChanged.AddListener(Repaint);
|
||||
|
||||
showSelectedItemSettings = new AnimBool(false);
|
||||
showSelectedItemSettings.valueChanged.AddListener(Repaint);
|
||||
|
||||
showPressedItemSettings = new AnimBool(false);
|
||||
showPressedItemSettings.valueChanged.AddListener(Repaint);
|
||||
|
||||
showDisabledItemSettings = new AnimBool(false);
|
||||
showDisabledItemSettings.valueChanged.AddListener(Repaint);
|
||||
}
|
||||
|
||||
void GenerateStyle()
|
||||
{
|
||||
if (EditorGUIUtility.isProSkin)
|
||||
{
|
||||
if (settings)
|
||||
openedFoldoutTitleColor = settings.openedFoldoutTitleColor_darkSkin;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (settings)
|
||||
openedFoldoutTitleColor = settings.openedFoldoutTitleColor_lightSkin;
|
||||
}
|
||||
|
||||
if (foldOutStyle == null)
|
||||
{
|
||||
foldOutStyle = new GUIStyle(EditorStyles.foldout)
|
||||
{
|
||||
fontStyle = FontStyle.Bold,
|
||||
};
|
||||
foldOutStyle.onNormal.textColor = openedFoldoutTitleColor;
|
||||
}
|
||||
|
||||
if (defaultLabel == null)
|
||||
{
|
||||
defaultLabel = new GUIStyle(EditorStyles.whiteMiniLabel)
|
||||
{
|
||||
fontStyle = FontStyle.Italic,
|
||||
fontSize = 11
|
||||
};
|
||||
defaultLabel.normal.textColor = new Color(0.9f, 0.9f, 0.9f, 0.75f);
|
||||
}
|
||||
|
||||
if (defaultMultilineLabel == null)
|
||||
{
|
||||
defaultMultilineLabel = new GUIStyle(EditorStyles.wordWrappedLabel)
|
||||
{
|
||||
fontSize = 10,
|
||||
fontStyle = FontStyle.Italic,
|
||||
alignment = TextAnchor.MiddleCenter,
|
||||
};
|
||||
//defaultMultilineLabel.normal.textColor = new Color(0.9f, 0.9f, 0.9f, 0.75f);
|
||||
}
|
||||
if (headerLabel == null)
|
||||
{
|
||||
headerLabel = new GUIStyle(EditorStyles.wordWrappedLabel)
|
||||
{
|
||||
fontSize = 12,
|
||||
fontStyle = FontStyle.Bold,
|
||||
alignment = TextAnchor.MiddleCenter,
|
||||
};
|
||||
}
|
||||
|
||||
iconButtonStyle ??= new GUIStyle(EditorStyles.toolbarButton);
|
||||
|
||||
if (myStyleButton == null)
|
||||
{
|
||||
myStyleButton = new GUIStyle("Button")
|
||||
{
|
||||
fontStyle = FontStyle.Italic,
|
||||
fontSize = 12
|
||||
};
|
||||
if (EditorGUIUtility.isProSkin)
|
||||
{
|
||||
myStyleButton.normal.textColor = Color.white;
|
||||
myStyleButton.hover.textColor = Color.yellow;
|
||||
myStyleButton.active.textColor = Color.green;
|
||||
}
|
||||
else
|
||||
{
|
||||
myStyleButton.normal.textColor = Color.black;
|
||||
myStyleButton.hover.textColor = Color.red;
|
||||
myStyleButton.active.textColor = Color.black;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//void DrawUILine(Color color, int thickness = 1, int padding = 0)
|
||||
//{
|
||||
// Rect r = EditorGUILayout.GetControlRect(GUILayout.Height(padding + thickness));
|
||||
// r.height = thickness;
|
||||
// r.y += padding / 2;
|
||||
// r.x -= 2;
|
||||
// r.width += 6;
|
||||
// EditorGUI.DrawRect(r, color);
|
||||
//}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 26bb54a807b29284881957cee2eb9210
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences:
|
||||
- settings: {fileID: 11400000, guid: 7a64f8f739022fd45b6c0af2d6729473, type: 2}
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
39
Assets/ThirdParty/Tiny Giant Studio/Tiny Giant Studio/Editor/Modular 3D Text/CharacterDrawer.cs
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
namespace TinyGiantStudio.Text
|
||||
{
|
||||
[CustomPropertyDrawer(typeof(Character))]
|
||||
public class CharacterDrawer : PropertyDrawer
|
||||
{
|
||||
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
|
||||
{
|
||||
// Using BeginProperty / EndProperty on the parent property means that
|
||||
// prefab override logic works on the entire property.
|
||||
EditorGUI.BeginProperty(position, label, property);
|
||||
|
||||
// Draw label
|
||||
position = EditorGUI.PrefixLabel(position, GUIUtility.GetControlID(FocusType.Passive), label);
|
||||
|
||||
// Don't make child fields be indented
|
||||
var indent = EditorGUI.indentLevel;
|
||||
|
||||
// Calculate rects
|
||||
var characterRect = new Rect(position.x, position.y, 40, position.height);
|
||||
var spacingRect = new Rect(position.x + 45, position.y, 40, position.height);
|
||||
var prefabtRect = new Rect(position.x + 95, position.y, (position.width - 95) / 2, position.height);
|
||||
var meshtRect = new Rect(position.x + 95 + ((position.width - 95) / 2), position.y, (position.width - 95) / 2, position.height);
|
||||
|
||||
// Draw fields - passs GUIContent.none to each so they are drawn without labels
|
||||
EditorGUI.PropertyField(characterRect, property.FindPropertyRelative("character"), GUIContent.none);
|
||||
EditorGUI.PropertyField(spacingRect, property.FindPropertyRelative("spacing"), GUIContent.none);
|
||||
EditorGUI.PropertyField(prefabtRect, property.FindPropertyRelative("prefab"), GUIContent.none);
|
||||
EditorGUI.PropertyField(meshtRect, property.FindPropertyRelative("meshPrefab"), GUIContent.none);
|
||||
|
||||
// Set indent back to what it was
|
||||
EditorGUI.indentLevel = indent;
|
||||
|
||||
EditorGUI.EndProperty();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 790f9dce3896d2144a96effb9e048ae2
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/ThirdParty/Tiny Giant Studio/Tiny Giant Studio/Editor/Modular 3D Text/Common.meta
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 42609f51354ce764a92232c235654688
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,338 @@
|
||||
using System.Collections.Generic;
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UIElements;
|
||||
|
||||
//to-do: scrollbar arrows
|
||||
|
||||
namespace TinyGiantStudio.Text.EditorFiles
|
||||
{
|
||||
/// <summary>
|
||||
/// This provides a uniform way for all UI in Modular 3D Text to switch themes in UIToolkit
|
||||
/// </summary>
|
||||
public class EditorThemeManager
|
||||
{
|
||||
#region Variable
|
||||
|
||||
#region Variable declarations
|
||||
|
||||
#region XML classNames
|
||||
|
||||
private readonly string normalButtonClassName = "normalButton";
|
||||
private readonly string iconButtonClassName = "iconButton";
|
||||
private readonly string textButtonClassName = "textButton";
|
||||
|
||||
#endregion XML classNames
|
||||
|
||||
private readonly string themeEditorPrefName = "TGSInspectorDarkTheme";
|
||||
public Theme _theme;
|
||||
|
||||
public Theme Theme
|
||||
{
|
||||
get { return _theme; }
|
||||
set
|
||||
{
|
||||
_theme = value;
|
||||
UpdateTheme();
|
||||
}
|
||||
}
|
||||
|
||||
private VisualElement _root;
|
||||
|
||||
public VisualElement Root
|
||||
{
|
||||
get { return _root; }
|
||||
set
|
||||
{
|
||||
_root = value;
|
||||
UpdateReferences();
|
||||
}
|
||||
}
|
||||
|
||||
private UnityEngine.UIElements.Button darkModeButton;
|
||||
private UnityEngine.UIElements.Button lightModeButton;
|
||||
private VisualElement themeModeBackgroundButton;
|
||||
private VisualElement iconBackground;
|
||||
private VisualElement lightModeBG;
|
||||
private VisualElement darkModeBG;
|
||||
|
||||
#endregion Variable declarations
|
||||
|
||||
private void UpdateReferences()
|
||||
{
|
||||
darkModeButton = Root.Q<UnityEngine.UIElements.Button>("DarkModeButton");
|
||||
darkModeButton.clicked += () => Theme = Theme.Light;
|
||||
|
||||
lightModeButton = Root.Q<UnityEngine.UIElements.Button>("LightModeButton");
|
||||
lightModeButton.clicked += () => Theme = Theme.Dark;
|
||||
|
||||
themeModeBackgroundButton = Root.Q<VisualElement>("ThemeColor");
|
||||
iconBackground = Root.Q<VisualElement>("IconBackground");
|
||||
|
||||
lightModeBG = Root.Q<VisualElement>("LightModeBG");
|
||||
darkModeBG = Root.Q<VisualElement>("DarkModeBG");
|
||||
}
|
||||
|
||||
#endregion Variable
|
||||
|
||||
#region Public Methods
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="EditorThemeManager"/> class.
|
||||
/// </summary>
|
||||
/// <param name="newContainer">The root of the UI.</param>
|
||||
public EditorThemeManager(GroupBox newContainer)
|
||||
{
|
||||
Root = newContainer;
|
||||
}
|
||||
|
||||
public void Start()
|
||||
{
|
||||
//if (EditorGUIUtility.isProSkin)
|
||||
Theme = GetTheme();
|
||||
|
||||
AddFoldoutAnimations();
|
||||
}
|
||||
|
||||
public void UpdateTheme()
|
||||
{
|
||||
UpdateThemeSwitcherButtons();
|
||||
|
||||
UpdateFoldouts();
|
||||
|
||||
ChangeAllButtonColor();
|
||||
ChangeAllIconButtonColor();
|
||||
ChangeAllTextButtonColor();
|
||||
//ChangeAllLabelColor();
|
||||
ChangeAllFieldBackgroundColor();
|
||||
}
|
||||
|
||||
#endregion Public Methods
|
||||
|
||||
private void AddFoldoutAnimations()
|
||||
{
|
||||
float yMoveAmount = -20;
|
||||
|
||||
List<Foldout> foldouts = Root.Query<Foldout>().ToList();
|
||||
foreach (Foldout foldout in foldouts)
|
||||
{
|
||||
var contentContainer = foldout.Q<VisualElement>("unity-content");
|
||||
if (foldout.value)
|
||||
{
|
||||
contentContainer.style.opacity = 1;
|
||||
contentContainer.style.translate = new StyleTranslate(new Translate(0, 0, 0));
|
||||
}
|
||||
else
|
||||
{
|
||||
contentContainer.style.opacity = 0;
|
||||
contentContainer.style.translate = new StyleTranslate(new Translate(0, yMoveAmount, 0));
|
||||
}
|
||||
|
||||
foldout.RegisterValueChangedCallback(ev =>
|
||||
{
|
||||
if (ev.target != foldout) //Any toggle inside the foldout also triggers this value change callback. This makes sure the value was changed for this
|
||||
return;
|
||||
|
||||
if (ev.newValue)
|
||||
{
|
||||
contentContainer.style.opacity = 1;
|
||||
contentContainer.style.translate = new StyleTranslate(new Translate(0, 0, 0));
|
||||
}
|
||||
else
|
||||
{
|
||||
contentContainer.style.opacity = 0;
|
||||
contentContainer.style.translate = new StyleTranslate(new Translate(0, yMoveAmount, 0));
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
private void UpdateFoldouts()
|
||||
{
|
||||
Color color;
|
||||
if (Theme == Theme.Light)
|
||||
color = new Color(0.0f, 0.025f, 0.05f, 0.9f);
|
||||
else
|
||||
color = new Color(0.81f, 0.81f, 0.81f, 0.9f);
|
||||
|
||||
List<VisualElement> toggleCheckMarks = Root.Query<VisualElement>(className: "unity-foldout__checkmark").ToList();
|
||||
foreach (VisualElement toggleCheckMark in toggleCheckMarks)
|
||||
{
|
||||
toggleCheckMark.style.unityBackgroundImageTintColor = color;
|
||||
}
|
||||
|
||||
List<Foldout> foldouts = Root.Query<Foldout>(className: "unity-foldout").ToList();
|
||||
foreach (Foldout foldout in foldouts)
|
||||
{
|
||||
if(Theme == Theme.Light)
|
||||
{
|
||||
foldout.RemoveFromClassList("unity-foldout__dark");
|
||||
foldout.AddToClassList("unity-foldout__light");
|
||||
}
|
||||
else
|
||||
{
|
||||
foldout.AddToClassList("unity-foldout__dark");
|
||||
foldout.RemoveFromClassList("unity-foldout__light");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
private void ChangeAllButtonColor()
|
||||
{
|
||||
List<UnityEngine.UIElements.Button> normalButtons = Root.Query<UnityEngine.UIElements.Button>(className: normalButtonClassName).ToList();
|
||||
foreach (UnityEngine.UIElements.Button normalButton in normalButtons)
|
||||
{
|
||||
if (Theme == Theme.Light)
|
||||
{
|
||||
normalButton.RemoveFromClassList("WhiteText");
|
||||
normalButton.AddToClassList("BlackText");
|
||||
}
|
||||
else
|
||||
{
|
||||
normalButton.RemoveFromClassList("BlackText");
|
||||
normalButton.AddToClassList("WhiteText");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void ChangeAllIconButtonColor()
|
||||
{
|
||||
List<UnityEngine.UIElements.Button> iconButtons = Root.Query<UnityEngine.UIElements.Button>(className: iconButtonClassName).ToList();
|
||||
foreach (UnityEngine.UIElements.Button iconButton in iconButtons)
|
||||
{
|
||||
if (Theme == Theme.Light)
|
||||
{
|
||||
iconButton.style.unityBackgroundImageTintColor = new Color(0.25f, 0.25f, 0.25f, 1f);
|
||||
}
|
||||
else
|
||||
{
|
||||
iconButton.style.unityBackgroundImageTintColor = new Color(0.8f, 0.8f, 0.8f);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void ChangeAllTextButtonColor()
|
||||
{
|
||||
List<UnityEngine.UIElements.Button> textButtons = Root.Query<UnityEngine.UIElements.Button>(className: textButtonClassName).ToList();
|
||||
foreach (UnityEngine.UIElements.Button textButton in textButtons)
|
||||
{
|
||||
if (Theme == Theme.Light)
|
||||
{
|
||||
textButton.RemoveFromClassList("darkThemeLinkText");
|
||||
textButton.AddToClassList("lightThemeLinkText");
|
||||
}
|
||||
else
|
||||
{
|
||||
textButton.RemoveFromClassList("lightThemeLinkText");
|
||||
textButton.AddToClassList("darkThemeLinkText");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void ChangeAllLabelColor()
|
||||
{
|
||||
Color color;
|
||||
if (Theme == Theme.Light)
|
||||
color = new Color(0.1f, 0.1f, 0.1f, 0.9f);
|
||||
else
|
||||
color = new Color(0.9f, 0.9f, 0.9f, 0.8f);
|
||||
|
||||
List<Label> labels = Root.Query<Label>(className: "unity-label").ToList();
|
||||
foreach (Label label in labels)
|
||||
{
|
||||
label.style.color = color;
|
||||
}
|
||||
}
|
||||
|
||||
private void ChangeAllFieldBackgroundColor()
|
||||
{
|
||||
Color backgroundColor;
|
||||
Color color2;
|
||||
if (Theme == Theme.Light)
|
||||
{
|
||||
backgroundColor = new Color(0.1f, 0.1f, 0.1f, 0.19f);
|
||||
color2 = Color.black;
|
||||
}
|
||||
else
|
||||
{
|
||||
backgroundColor = new Color(0.8f, 0.825f, 0.8f, 0.7f);
|
||||
color2 = Color.black;
|
||||
}
|
||||
|
||||
List<VisualElement> backgrounds = Root.Query<VisualElement>(className: "unity-base-text-field__input").ToList();
|
||||
foreach (VisualElement background in backgrounds)
|
||||
{
|
||||
background.style.backgroundColor = backgroundColor;
|
||||
background.style.color = color2;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
private Theme GetTheme()
|
||||
{
|
||||
//if (EditorPrefs.GetBool(themeEditorPrefName, EditorGUIUtility.isProSkin))
|
||||
if (EditorGUIUtility.isProSkin)
|
||||
return Theme.Dark;
|
||||
else
|
||||
return Theme.Light;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private void UpdateThemeSwitcherButtons()
|
||||
{
|
||||
if (Theme == Theme.Light)
|
||||
{
|
||||
EditorPrefs.SetBool(themeEditorPrefName, false);
|
||||
|
||||
themeModeBackgroundButton.style.backgroundColor = new Color(0.5f, 0.5f, 0.5f, 1f);
|
||||
|
||||
lightModeButton.BringToFront();
|
||||
|
||||
darkModeButton.style.opacity = 0;
|
||||
darkModeBG.style.opacity = 0;
|
||||
lightModeButton.style.opacity = 1;
|
||||
lightModeBG.style.opacity = 1;
|
||||
|
||||
iconBackground.style.translate = new StyleTranslate(new Translate(10, 0, 0));
|
||||
darkModeButton.style.translate = new StyleTranslate(new Translate(10, 0, 0));
|
||||
lightModeButton.style.translate = new StyleTranslate(new Translate(10, 0, 0));
|
||||
}
|
||||
else
|
||||
{
|
||||
EditorPrefs.SetBool(themeEditorPrefName, true);
|
||||
|
||||
ColorUtility.TryParseHtmlString("#222222", out Color themeModeBackgroundButtonBackgroundColor);
|
||||
themeModeBackgroundButton.style.backgroundColor = themeModeBackgroundButtonBackgroundColor;
|
||||
|
||||
darkModeButton.BringToFront();
|
||||
|
||||
darkModeButton.style.opacity = 1;
|
||||
darkModeBG.style.opacity = 1;
|
||||
lightModeButton.style.opacity = 0;
|
||||
lightModeBG.style.opacity = 0;
|
||||
|
||||
iconBackground.style.translate = new StyleTranslate(new Translate(-10, 0, 0));
|
||||
darkModeButton.style.translate = new StyleTranslate(new Translate(-10, 0, 0));
|
||||
lightModeButton.style.translate = new StyleTranslate(new Translate(-10, 0, 0));
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public enum Theme
|
||||
{
|
||||
Dark,
|
||||
Light
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 543523c198987874584cbb5eb14c18bb
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,74 @@
|
||||
using UnityEditor;
|
||||
using UnityEditor.UIElements;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UIElements;
|
||||
|
||||
namespace TinyGiantStudio.Text.EditorFiles
|
||||
{
|
||||
/// <summary>
|
||||
/// This handles using the Material Preview Field Template.
|
||||
/// Call the Hook method
|
||||
/// </summary>
|
||||
public class MaterialPreviewManager
|
||||
{
|
||||
public void Hook(TemplateContainer container, SerializedProperty serializedProperty, string label, Material material)
|
||||
{
|
||||
if (container == null)
|
||||
{
|
||||
Debug.Log("No container");
|
||||
return;
|
||||
}
|
||||
|
||||
UpdatePreivew(container, material);
|
||||
|
||||
Label materialTypeLabel = container.Q<Label>("MaterialTypeLabel");
|
||||
materialTypeLabel.text = label;
|
||||
|
||||
ObjectField objectField = container.Q<ObjectField>("MaterialField");
|
||||
objectField.BindProperty(serializedProperty);
|
||||
objectField.RegisterValueChangedCallback(e =>
|
||||
{
|
||||
UpdatePreivew(container, (Material)e.newValue);
|
||||
});
|
||||
}
|
||||
|
||||
private void UpdatePreivew(TemplateContainer container, Material material)
|
||||
{
|
||||
VisualElement previewTexture = container.Q<VisualElement>("MaterialPreview");
|
||||
if (material != null)
|
||||
{
|
||||
Texture2D texture2D = AssetPreview.GetAssetPreview(material);
|
||||
if (texture2D != null)
|
||||
previewTexture.style.backgroundImage = texture2D;
|
||||
else if (AssetPreview.IsLoadingAssetPreviews())
|
||||
EditorApplication.delayCall += () => { WaitForLoadingToFinish(0, previewTexture, material); };
|
||||
}
|
||||
else
|
||||
{
|
||||
previewTexture.style.backgroundImage = null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// to-do: The alternative to using this is editor coroutines but which requires additional unity package. Test that out.
|
||||
/// Note: On testing, it never took more than once to be called. So, the delayCall from UpdatePreview was always enough
|
||||
/// </summary>
|
||||
/// <param name="count"></param>
|
||||
/// <param name="previewTexture"></param>
|
||||
/// <param name="texture2D"></param>
|
||||
private void WaitForLoadingToFinish(int count, VisualElement previewTexture, Material material)
|
||||
{
|
||||
Texture2D texture2D = AssetPreview.GetAssetPreview(material);
|
||||
if (texture2D != null)
|
||||
{
|
||||
previewTexture.style.backgroundImage = texture2D;
|
||||
}
|
||||
else if (AssetPreview.IsLoadingAssetPreviews())
|
||||
{
|
||||
count++;
|
||||
if (count < 10)
|
||||
EditorApplication.delayCall += () => { WaitForLoadingToFinish(count, previewTexture, material); };
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0c52222dda044cb4ca418eef13689d71
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,113 @@
|
||||
.iconButton {
|
||||
transition-duration: 0.25s;
|
||||
}
|
||||
|
||||
.iconButton:hover {
|
||||
scale: 1.2 1.2;
|
||||
rotate: -350deg;
|
||||
}
|
||||
|
||||
.textButton {
|
||||
-unity-font-definition: url('project://database/Assets/Plugins/Tiny%20Giant%20Studio/Common/Fonts/Montserrat-SemiBold%20SDF.asset?fileID=11400000&guid=3f2d54698aa06f3499c2f510a4aa170e&type=2#Montserrat-SemiBold SDF');
|
||||
-unity-font: url('project://database/Assets/Plugins/Tiny%20Giant%20Studio/Common/Fonts/Montserrat-SemiBold.ttf?fileID=12800000&guid=9adadeb836c409344991102d1e896531&type=3#Montserrat-SemiBold');
|
||||
transition-duration: 0.15s;
|
||||
background-color: rgba(255, 255, 255, 0);
|
||||
border-left-width: 0;
|
||||
border-right-width: 0;
|
||||
border-top-width: 0;
|
||||
border-bottom-width: 0;
|
||||
scale: 1 1;
|
||||
padding-left: 1px;
|
||||
padding-right: 1px;
|
||||
padding-top: 1px;
|
||||
padding-bottom: 1px;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
-unity-font-style: normal;
|
||||
transition-property: all;
|
||||
transition-delay: 0s;
|
||||
}
|
||||
|
||||
.lightThemeLinkText {
|
||||
color: rgb(76, 126, 255);
|
||||
}
|
||||
|
||||
.lightThemeLinkText:hover {
|
||||
color: rgb(57, 102, 219);
|
||||
-unity-font-style: normal;
|
||||
}
|
||||
|
||||
.darkThemeLinkText {
|
||||
color: rgb(76, 126, 255);
|
||||
}
|
||||
|
||||
.darkThemeLinkText:hover {
|
||||
color: rgb(99, 140, 245);
|
||||
-unity-font-definition: url('project://database/Assets/Plugins/Tiny%20Giant%20Studio/Common/Fonts/Montserrat-Bold%20SDF.asset?fileID=11400000&guid=2acd469fc18d2e04fb4f4a73bb7baa9c&type=2#Montserrat-Bold SDF');
|
||||
}
|
||||
|
||||
.WhiteText {
|
||||
color: rgb(255, 255, 255);
|
||||
}
|
||||
|
||||
.WhiteText:hover {
|
||||
color: rgb(255, 255, 255);
|
||||
}
|
||||
|
||||
.BlackText {
|
||||
color: rgba(0, 0, 0, 0.67);
|
||||
}
|
||||
|
||||
.BlackText:hover {
|
||||
color: rgb(0, 0, 0);
|
||||
}
|
||||
|
||||
.unity-scroller {
|
||||
border-left-width: 0;
|
||||
border-right-width: 0;
|
||||
border-top-width: 0;
|
||||
border-bottom-width: 0;
|
||||
background-color: rgba(0, 0, 0, 0.2);
|
||||
border-top-left-radius: 5px;
|
||||
border-bottom-left-radius: 5px;
|
||||
border-top-right-radius: 5px;
|
||||
border-bottom-right-radius: 5px;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.unity-base-slider__drag-container {
|
||||
border-left-width: 0;
|
||||
border-right-width: 0;
|
||||
border-top-width: 0;
|
||||
border-bottom-width: 0;
|
||||
background-color: rgba(255, 255, 255, 0.12);
|
||||
border-top-left-radius: 5px;
|
||||
border-bottom-left-radius: 5px;
|
||||
border-top-right-radius: 5px;
|
||||
border-bottom-right-radius: 5px;
|
||||
}
|
||||
|
||||
.unity-base-slider__dragger {
|
||||
border-left-width: 0;
|
||||
border-right-width: 0;
|
||||
border-top-width: 0;
|
||||
border-bottom-width: 0;
|
||||
background-color: rgba(255, 255, 255, 0.27);
|
||||
border-top-left-radius: 5px;
|
||||
border-bottom-left-radius: 5px;
|
||||
border-top-right-radius: 5px;
|
||||
border-bottom-right-radius: 5px;
|
||||
}
|
||||
|
||||
.unity-base-field__label {
|
||||
min-width: 40px;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bc57b45100516604c92a14e686605401
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
|
||||
disableValidation: 0
|
||||
@@ -0,0 +1,13 @@
|
||||
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" editor-extension-mode="False">
|
||||
<Style src="project://database/Assets/Plugins/Tiny%20Giant%20Studio/Modular%203D%20Text/Scripts/Editor/Common/TGSStyleSheet.uss?fileID=7433441132597879392&guid=bc57b45100516604c92a14e686605401&type=3#TGSStyleSheet" />
|
||||
<Style src="project://database/Assets/Plugins/Tiny%20Giant%20Studio/Modular%203D%20Text/Scripts/Editor/Common/ThemeSwitcherStyleSheet.uss?fileID=7433441132597879392&guid=15a58a45906dd2844b8c45fe1a152a5e&type=3#ThemeSwitcherStyleSheet" />
|
||||
<ui:GroupBox name="ThemeSwitcher" style="flex-direction: row; justify-content: center; align-items: center; margin-top: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; margin-left: 0; margin-right: 0;">
|
||||
<ui:VisualElement name="ThemeColor" style="position: relative; background-color: rgb(34, 34, 34); width: 40px; height: 16px; border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; border-bottom-width: 1px; border-top-left-radius: 7px; border-bottom-left-radius: 7px; border-top-right-radius: 7px; border-bottom-right-radius: 7px; transition-duration: 1s; border-left-color: rgba(0, 0, 0, 0.39); border-right-color: rgba(0, 0, 0, 0.39); border-top-color: rgba(0, 0, 0, 0.39); border-bottom-color: rgba(0, 0, 0, 0.39); overflow: hidden;">
|
||||
<ui:VisualElement name="LightModeBG" style="position: absolute; width: 40px; height: 16px; transition-duration: 1s; background-image: url('project://database/Assets/Plugins/Tiny%20Giant%20Studio/Common/Artworks/LightModeIconBG.png?fileID=2800000&guid=5b028d63d1dc1a64e9b9cc5d044d2365&type=3#LightModeIconBG'); top: auto; left: auto; margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; -unity-background-image-tint-color: rgba(154, 154, 154, 0.78); display: flex; opacity: 1;" />
|
||||
<ui:VisualElement name="DarkModeBG" style="position: absolute; width: 40px; height: 16px; transition-duration: 1s; background-image: url('project://database/Assets/Plugins/Tiny%20Giant%20Studio/Common/Artworks/DarkModeIconBG.png?fileID=2800000&guid=4560912dfe622c440bea0056c40e0399&type=3#DarkModeIconBG'); top: auto; left: auto; margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; -unity-background-image-tint-color: rgba(255, 255, 255, 0.78); display: flex; opacity: 0;" />
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="IconBackground" style="position: absolute; width: 10px; height: 10px; background-color: rgba(0, 0, 0, 0.59); border-top-left-radius: 15px; border-bottom-left-radius: 15px; border-top-right-radius: 15px; border-bottom-right-radius: 15px; transition-duration: 0.5s; margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; display: none;" />
|
||||
<ui:Button display-tooltip-when-elided="true" name="DarkModeButton" tooltip="Switch to light mode" style="display: flex; visibility: visible; width: 12px; height: 12px; background-image: url('project://database/Assets/Plugins/Tiny%20Giant%20Studio/Common/Artworks/DarkModeIcon.png?fileID=2800000&guid=c6825acc7f98d024291633f2b31940ae&type=3#DarkModeIcon'); margin-left: 0; margin-right: 0; border-left-width: 0; border-right-width: 0; border-top-width: 0; border-bottom-width: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; opacity: 1; position: absolute; transition-timing-function: ease-out, ease; transition-duration: 0.5s, 1s; transition-property: all, opacity; border-top-left-radius: 0; border-bottom-left-radius: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; background-color: rgba(0, 0, 0, 0);" />
|
||||
<ui:Button display-tooltip-when-elided="true" name="LightModeButton" tooltip="Switch to dark mode" style="display: flex; visibility: visible; width: 12px; height: 12px; background-image: url('project://database/Assets/Plugins/Tiny%20Giant%20Studio/Common/Artworks/LightModeIcon.png?fileID=2800000&guid=c8d41ea569fe91a45a1e9262519dfc0e&type=3#LightModeIcon'); margin-left: 0; margin-right: 0; border-left-width: 0; border-right-width: 0; border-top-width: 0; border-bottom-width: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; opacity: 1; position: absolute; transition-timing-function: ease-out, ease; transition-duration: 0.5s, 1s; transition-property: all, opacity;" />
|
||||
</ui:GroupBox>
|
||||
</ui:UXML>
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: dcb2a8406bd7c26499a68e30bea7b554
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f4f988dadf850e94e9d5f011dfdd7472
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,10 @@
|
||||
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" editor-extension-mode="True">
|
||||
<Style src="project://database/Assets/Plugins/Tiny%20Giant%20Studio/Modular%203D%20Text/Scripts/Editor/Asset%20Window/EditorWindow/ModularTextEditorWindow.uss?fileID=7433441132597879392&guid=bc57b45100516604c92a14e686605401&type=3#ModularTextEditorWindow" />
|
||||
<ui:GroupBox name="MaterialPreviewField" style="flex-direction: row; margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; flex-shrink: 1; flex-grow: 1; max-height: 35px;">
|
||||
<ui:VisualElement name="MaterialPreview" style="width: 35px; height: 35px; background-image: none; background-color: rgb(36, 36, 36); border-top-left-radius: 20px; border-bottom-left-radius: 20px; border-top-right-radius: 20px; border-bottom-right-radius: 20px; border-left-width: 2px; border-right-width: 2px; border-top-width: 2px; border-bottom-width: 2px; border-left-color: rgba(0, 0, 0, 0.2); border-right-color: rgba(0, 0, 0, 0.2); border-top-color: rgba(0, 0, 0, 0.2); border-bottom-color: rgba(0, 0, 0, 0.2);" />
|
||||
<ui:GroupBox style="margin-left: 10px; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; align-items: flex-start; justify-content: center; flex-grow: 1;">
|
||||
<ui:Label text="Material Type" display-tooltip-when-elided="true" name="MaterialTypeLabel" style="margin-right: 0; margin-bottom: 5px; flex-grow: 0; -unity-text-align: lower-left; margin-left: 2px; font-size: 11px;" />
|
||||
<uie:ObjectField name="MaterialField" type="UnityEngine.Material, UnityEngine.CoreModule" style="margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; flex-grow: 1; flex-shrink: 0; min-height: auto; height: 17px; max-height: 17px;" />
|
||||
</ui:GroupBox>
|
||||
</ui:GroupBox>
|
||||
</ui:UXML>
|
||||
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f9b7d00c49222a643bea2cb12294425c
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
|
||||
8
Assets/ThirdParty/Tiny Giant Studio/Tiny Giant Studio/Editor/Modular 3D Text/Core Text.meta
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7846d22bd8b3ac743af59c7645e9083b
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 56ce996942299e84ebadb9361a5b87c6
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences:
|
||||
- settings: {fileID: 11400000, guid: 7a64f8f739022fd45b6c0af2d6729473, type: 2}
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/ThirdParty/Tiny Giant Studio/Tiny Giant Studio/Editor/Modular 3D Text/Examples.meta
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e751e060b76df6b4987f710091cfe015
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||