diff options
Diffstat (limited to 'Assets/AmplifyShaderEditor/Plugins/Editor/Version')
4 files changed, 0 insertions, 121 deletions
diff --git a/Assets/AmplifyShaderEditor/Plugins/Editor/Version/About.cs b/Assets/AmplifyShaderEditor/Plugins/Editor/Version/About.cs deleted file mode 100644 index a1477515..00000000 --- a/Assets/AmplifyShaderEditor/Plugins/Editor/Version/About.cs +++ /dev/null @@ -1,66 +0,0 @@ -// Amplify Shader Editor - Visual Shader Editing Tool -// Copyright (c) Amplify Creations, Lda <info@amplify.pt> - -using UnityEngine; -using UnityEditor; - -namespace AmplifyShaderEditor -{ - public class About : EditorWindow - { - private const string AboutImageGUID = "8aba6bb20faf8824d9d81946542f1ce1"; - private Vector2 m_scrollPosition = Vector2.zero; - private Texture2D m_aboutImage; - - [MenuItem( "Window/Amplify Shader Editor/About...", false, 2001 )] - static void Init() - { - About window = (About)GetWindow( typeof( About ), true, "About Amplify Shader Editor" ); - window.minSize = new Vector2( 502, 290 ); - window.maxSize = new Vector2( 502, 290 ); - window.Show(); - } - - [MenuItem( "Window/Amplify Shader Editor/Manual", false, 2000 )] - static void OpenManual() - { - Application.OpenURL( "http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/Manual" ); - } - - private void OnEnable() - { - m_aboutImage = AssetDatabase.LoadAssetAtPath<Texture2D>( AssetDatabase.GUIDToAssetPath( AboutImageGUID ) ); - } - - public void OnGUI() - { - m_scrollPosition = GUILayout.BeginScrollView( m_scrollPosition ); - - GUILayout.BeginVertical(); - - GUILayout.Space( 10 ); - - GUILayout.BeginHorizontal(); - GUILayout.FlexibleSpace(); - GUILayout.Box( m_aboutImage, GUIStyle.none ); - - if( Event.current.type == EventType.MouseUp && GUILayoutUtility.GetLastRect().Contains( Event.current.mousePosition ) ) - Application.OpenURL( "http://www.amplify.pt" ); - - GUILayout.FlexibleSpace(); - GUILayout.EndHorizontal(); - - GUIStyle labelStyle = new GUIStyle( EditorStyles.label ); - labelStyle.alignment = TextAnchor.MiddleCenter; - labelStyle.wordWrap = true; - - GUILayout.Label( "\nAmplify Shader Editor " + VersionInfo.StaticToString(), labelStyle, GUILayout.ExpandWidth( true ) ); - - GUILayout.Label( "\nCopyright (c) Amplify Creations, Lda. All rights reserved.\n", labelStyle, GUILayout.ExpandWidth( true ) ); - - GUILayout.EndVertical(); - - GUILayout.EndScrollView(); - } - } -} diff --git a/Assets/AmplifyShaderEditor/Plugins/Editor/Version/About.cs.meta b/Assets/AmplifyShaderEditor/Plugins/Editor/Version/About.cs.meta deleted file mode 100644 index 1f8de1d8..00000000 --- a/Assets/AmplifyShaderEditor/Plugins/Editor/Version/About.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: b52649079e4f9ef488724bd3c72449ed -timeCreated: 1481126958 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AmplifyShaderEditor/Plugins/Editor/Version/VersionInfo.cs b/Assets/AmplifyShaderEditor/Plugins/Editor/Version/VersionInfo.cs deleted file mode 100644 index d8eba2dc..00000000 --- a/Assets/AmplifyShaderEditor/Plugins/Editor/Version/VersionInfo.cs +++ /dev/null @@ -1,31 +0,0 @@ -// Amplify Shader Editor - Visual Shader Editing Tool -// Copyright (c) Amplify Creations, Lda <info@amplify.pt> - -using System; - -namespace AmplifyShaderEditor -{ - [Serializable] - public class VersionInfo - { - public const byte Major = 1; - public const byte Minor = 8; - public const byte Release = 1; - public static byte Revision = 00; - - //private static string StageSuffix = "_dev0"+Revision; - - //public static string StaticToString() - //{ - // return string.Format( "{0}.{1}.{2}", Major, Minor, Release ) + StageSuffix; - //} - - public static string StaticToString() - { - return string.Format( "{0}.{1}.{2}", Major, Minor, Release ) + ( Revision > 0 ? "r" + Revision.ToString() : "" ); - } - - public static int FullNumber { get { return Major * 10000 + Minor * 1000 + Release * 100 + Revision; } } - public static string FullLabel { get { return "Version=" + FullNumber; } } - } -} diff --git a/Assets/AmplifyShaderEditor/Plugins/Editor/Version/VersionInfo.cs.meta b/Assets/AmplifyShaderEditor/Plugins/Editor/Version/VersionInfo.cs.meta deleted file mode 100644 index f5edff80..00000000 --- a/Assets/AmplifyShaderEditor/Plugins/Editor/Version/VersionInfo.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 581602482686da34180d35b169cd357a -timeCreated: 1481126955 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: |