diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2020-08-20 23:40:50 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2020-08-20 23:40:50 -0400 |
| commit | 3af4c218c0e70167db23a6303d2af30aff37d2fe (patch) | |
| tree | 927f29edcf54ab562f40f3d1c6cb69287c7f5980 /Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Editor/TMP_BitmapShaderGUI.cs | |
| parent | b6daed0af784f4e9bc13329dd87c671b06ee1c65 (diff) | |
| download | Project-Sandbox-3af4c218c0e70167db23a6303d2af30aff37d2fe.tar.gz Project-Sandbox-3af4c218c0e70167db23a6303d2af30aff37d2fe.tar.bz2 Project-Sandbox-3af4c218c0e70167db23a6303d2af30aff37d2fe.zip | |
Removed a bunch of stuff; Changes
Diffstat (limited to 'Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Editor/TMP_BitmapShaderGUI.cs')
| -rw-r--r-- | Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Editor/TMP_BitmapShaderGUI.cs | 85 |
1 files changed, 0 insertions, 85 deletions
diff --git a/Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Editor/TMP_BitmapShaderGUI.cs b/Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Editor/TMP_BitmapShaderGUI.cs deleted file mode 100644 index 2380704..0000000 --- a/Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Editor/TMP_BitmapShaderGUI.cs +++ /dev/null @@ -1,85 +0,0 @@ -using UnityEngine;
-using UnityEditor;
-
-namespace TMPro.EditorUtilities
-{
- public class TMP_BitmapShaderGUI : TMP_BaseShaderGUI
- {
- static bool s_Face = true;
-
- protected override void DoGUI()
- {
- s_Face = BeginPanel("Face", s_Face);
- if (s_Face)
- {
- DoFacePanel();
- }
-
- EndPanel();
-
- s_DebugExtended = BeginPanel("Debug Settings", s_DebugExtended);
- if (s_DebugExtended)
- {
- DoDebugPanel();
- }
-
- EndPanel();
- }
-
- void DoFacePanel()
- {
- EditorGUI.indentLevel += 1;
- if (m_Material.HasProperty(ShaderUtilities.ID_FaceTex))
- {
- DoColor("_FaceColor", "Color");
- DoTexture2D("_FaceTex", "Texture", true);
- }
- else
- {
- DoColor("_Color", "Color");
- DoSlider("_DiffusePower", "Diffuse Power");
- }
-
- EditorGUI.indentLevel -= 1;
-
- EditorGUILayout.Space();
- }
-
- void DoDebugPanel()
- {
- EditorGUI.indentLevel += 1;
- DoTexture2D("_MainTex", "Font Atlas");
- if (m_Material.HasProperty(ShaderUtilities.ID_VertexOffsetX))
- {
- if (m_Material.HasProperty(ShaderUtilities.ID_Padding))
- {
- EditorGUILayout.Space();
- DoFloat("_Padding", "Padding");
- }
-
- EditorGUILayout.Space();
- DoFloat("_VertexOffsetX", "Offset X");
- DoFloat("_VertexOffsetY", "Offset Y");
- }
-
- if (m_Material.HasProperty(ShaderUtilities.ID_MaskSoftnessX))
- {
- EditorGUILayout.Space();
- DoFloat("_MaskSoftnessX", "Softness X");
- DoFloat("_MaskSoftnessY", "Softness Y");
- DoVector("_ClipRect", "Clip Rect", s_LbrtVectorLabels);
- }
-
- if (m_Material.HasProperty(ShaderUtilities.ID_StencilID))
- {
- EditorGUILayout.Space();
- DoFloat("_Stencil", "Stencil ID");
- DoFloat("_StencilComp", "Stencil Comp");
- }
-
- EditorGUI.indentLevel -= 1;
-
- EditorGUILayout.Space();
- }
- }
-}
|
