diff options
author | chai <chaifix@163.com> | 2020-10-23 13:08:43 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2020-10-23 13:08:43 +0800 |
commit | b82da95b5181ac8bbae38efb13e950d5e88a4caa (patch) | |
tree | 48a6f3269276484bbc7cfc95f0651f40a2176aa1 /Assets/AmplifyShaderEditor/Plugins/Editor/Native | |
parent | 917e9e0b320775634dc2e710f7deac74fd0822f0 (diff) |
*移动amplify shader editor到third party目录
Diffstat (limited to 'Assets/AmplifyShaderEditor/Plugins/Editor/Native')
22 files changed, 0 insertions, 671 deletions
diff --git a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackColor.cs b/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackColor.cs deleted file mode 100644 index aeafb2a3..00000000 --- a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackColor.cs +++ /dev/null @@ -1,55 +0,0 @@ -// Amplify Shader Editor - Visual Shader Editing Tool -// Copyright (c) Amplify Creations, Lda <info@amplify.pt> - -using System; -using UnityEngine; - -namespace AmplifyShaderEditor -{ - [Serializable] - public class FallbackColor : IFallbackVars - { - [SerializeField] - private Color m_current; - [SerializeField] - private Color m_previous; - - public FallbackColor() - { - m_current = new Color(0, 0, 0, 0); - m_previous = new Color(0, 0, 0, 0); - } - - public FallbackColor(Color data) - { - m_current = data; - m_previous = data; - } - - public void Revert() - { - Color aux = m_current; - m_current = m_previous; - m_previous = aux; - } - - public Color Current - { - get - { - return m_current; - } - - set - { - m_previous = m_current; - m_current = value; - } - } - - public override string ToString() - { - return m_current.ToString(); - } - } -} diff --git a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackColor.cs.meta b/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackColor.cs.meta deleted file mode 100644 index 004e9aef..00000000 --- a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackColor.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 8c6dccc523e2ad440a82edd582b84a45 -timeCreated: 1481126957 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackFloat.cs b/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackFloat.cs deleted file mode 100644 index 69d6f39b..00000000 --- a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackFloat.cs +++ /dev/null @@ -1,56 +0,0 @@ -// Amplify Shader Editor - Visual Shader Editing Tool -// Copyright (c) Amplify Creations, Lda <info@amplify.pt> - -using System; -using UnityEngine; - -namespace AmplifyShaderEditor -{ - [Serializable] - public class FallbackFloat : IFallbackVars - { - [SerializeField] - private float m_current; - [SerializeField] - private float m_previous; - - public FallbackFloat() - { - m_current = 0; - m_previous = 0; - } - - public FallbackFloat( float data ) - { - m_current = data; - m_previous = data; - } - - public void Revert() - { - float aux = m_current; - m_current = m_previous; - m_previous = aux; - } - - - public float Current - { - get - { - return m_current; - } - - set - { - m_previous = m_current; - m_current = value; - } - } - - public override string ToString() - { - return m_current.ToString(); - } - } -} diff --git a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackFloat.cs.meta b/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackFloat.cs.meta deleted file mode 100644 index c7f6c881..00000000 --- a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackFloat.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: a957e66c7a41d6848966d526c9687347 -timeCreated: 1481126958 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackInt.cs b/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackInt.cs deleted file mode 100644 index bd9b8a7d..00000000 --- a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackInt.cs +++ /dev/null @@ -1,56 +0,0 @@ -// Amplify Shader Editor - Visual Shader Editing Tool -// Copyright (c) Amplify Creations, Lda <info@amplify.pt> - -using System; -using UnityEngine; - -namespace AmplifyShaderEditor -{ - [Serializable] - public class FallbackInt : IFallbackVars - { - [SerializeField] - private int m_current; - [SerializeField] - private int m_previous; - - public FallbackInt() - { - m_current = 0; - m_previous = 0; - } - - public FallbackInt( int data ) - { - m_current = data; - m_previous = data; - } - - public void Revert() - { - int aux = m_current; - m_current = m_previous; - m_previous = aux; - } - - - public int Current - { - get - { - return m_current; - } - - set - { - m_previous = m_current; - m_current = value; - } - } - - public override string ToString() - { - return m_current.ToString(); - } - } -} diff --git a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackInt.cs.meta b/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackInt.cs.meta deleted file mode 100644 index d75cf8df..00000000 --- a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackInt.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 09c28ab321caf3b47839606e37d3cdd2 -timeCreated: 1481126953 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackMatrix4x4.cs b/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackMatrix4x4.cs deleted file mode 100644 index 8405790d..00000000 --- a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackMatrix4x4.cs +++ /dev/null @@ -1,55 +0,0 @@ -// Amplify Shader Editor - Visual Shader Editing Tool -// Copyright (c) Amplify Creations, Lda <info@amplify.pt> - -using System; -using UnityEngine; - -namespace AmplifyShaderEditor -{ - [Serializable] - public class FallbackMatrix4x4 : IFallbackVars - { - [SerializeField] - private Matrix4x4 m_current; - [SerializeField] - private Matrix4x4 m_previous; - - public FallbackMatrix4x4() - { - m_current = new Matrix4x4(); - m_previous = new Matrix4x4(); - } - - public FallbackMatrix4x4( Matrix4x4 data ) - { - m_current = data; - m_previous = data; - } - - public void Revert() - { - Matrix4x4 aux = m_current; - m_current = m_previous; - m_previous = aux; - } - - public Matrix4x4 Current - { - get - { - return m_current; - } - - set - { - m_previous = m_current; - m_current = value; - } - } - - public override string ToString() - { - return m_current.ToString(); - } - } -} diff --git a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackMatrix4x4.cs.meta b/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackMatrix4x4.cs.meta deleted file mode 100644 index e6208e24..00000000 --- a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackMatrix4x4.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 48af68670bdba9147b4ed55138e4edf6 -timeCreated: 1481126955 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackString.cs b/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackString.cs deleted file mode 100644 index e33e096b..00000000 --- a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackString.cs +++ /dev/null @@ -1,56 +0,0 @@ -// Amplify Shader Editor - Visual Shader Editing Tool -// Copyright (c) Amplify Creations, Lda <info@amplify.pt> - -using System; -using UnityEngine; - -namespace AmplifyShaderEditor -{ - [Serializable] - public class FallbackString : IFallbackVars - { - [SerializeField] - private string m_current; - [SerializeField] - private string m_previous; - - public FallbackString() - { - m_current = string.Empty; - m_previous = string.Empty; - } - - public FallbackString( string data ) - { - m_current = data; - m_previous = data; - } - - public void Revert() - { - string aux = m_current; - m_current = m_previous; - m_previous = aux; - } - - - public string Current - { - get - { - return m_current; - } - - set - { - m_previous = m_current; - m_current = value; - } - } - - public override string ToString() - { - return m_current; - } - } -} diff --git a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackString.cs.meta b/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackString.cs.meta deleted file mode 100644 index 82d80d55..00000000 --- a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackString.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: cc2e25b7c55e9284699ccad75e79a075 -timeCreated: 1481126959 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackTexture.cs b/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackTexture.cs deleted file mode 100644 index afee1e74..00000000 --- a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackTexture.cs +++ /dev/null @@ -1,55 +0,0 @@ -// Amplify Shader Editor - Visual Shader Editing Tool -// Copyright (c) Amplify Creations, Lda <info@amplify.pt> - -using System; -using UnityEngine; - -namespace AmplifyShaderEditor -{ - [Serializable] - public class FallbackTexture : IFallbackVars - { - [SerializeField] - private Texture m_current; - [SerializeField] - private Texture m_previous; - - public FallbackTexture() - { - m_current = null; - m_previous = null; - } - - public FallbackTexture( Texture data ) - { - m_current = data; - m_previous = data; - } - - public void Revert() - { - Texture aux = m_current; - m_current = m_previous; - m_previous = aux; - } - - public Texture Current - { - get - { - return m_current; - } - - set - { - m_previous = m_current; - m_current = value; - } - } - - public override string ToString() - { - return m_current.ToString(); - } - } -} diff --git a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackTexture.cs.meta b/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackTexture.cs.meta deleted file mode 100644 index 21258f26..00000000 --- a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackTexture.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 309e413cfa89510429c67fa82c557da7 -timeCreated: 1481126954 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackVariable.cs b/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackVariable.cs deleted file mode 100644 index c6d3eaf2..00000000 --- a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackVariable.cs +++ /dev/null @@ -1,36 +0,0 @@ -// Amplify Shader Editor - Visual Shader Editing Tool -// Copyright (c) Amplify Creations, Lda <info@amplify.pt> - -using UnityEngine; -using System; - -namespace AmplifyShaderEditor -{ - //GENERICS DON'T WORK WITH HOT CODE RELOAD - [Serializable] - public class FallbackVariable<T> - { - [SerializeField] - private T m_current; - [SerializeField] - private T m_last; - - public void Revert() - { - m_current = m_last; - } - - public T Current - { - get - { - return m_current; - } - set - { - m_last = m_current; - m_current = value; - } - } - } -} diff --git a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackVariable.cs.meta b/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackVariable.cs.meta deleted file mode 100644 index 2af70abd..00000000 --- a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackVariable.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: ec850a4093c249d449f22e0483040b9c -timeCreated: 1481126960 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackVector2.cs b/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackVector2.cs deleted file mode 100644 index adad9d05..00000000 --- a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackVector2.cs +++ /dev/null @@ -1,56 +0,0 @@ -// Amplify Shader Editor - Visual Shader Editing Tool -// Copyright (c) Amplify Creations, Lda <info@amplify.pt> - -using System; -using UnityEngine; - -namespace AmplifyShaderEditor -{ - [Serializable] - public class FallbackVector2 : IFallbackVars - { - [SerializeField] - private Vector2 m_current; - [SerializeField] - private Vector2 m_previous; - - public FallbackVector2() - { - m_current = new Vector2( 0, 0 ); - m_previous = new Vector2( 0, 0 ); - } - - public FallbackVector2( Vector2 data ) - { - m_current = data; - m_previous = data; - } - - public void Revert() - { - Vector2 aux = m_current; - m_current = m_previous; - m_previous = aux; - } - - - public Vector2 Current - { - get - { - return m_current; - } - - set - { - m_previous = m_current; - m_current = value; - } - } - - public override string ToString() - { - return m_current.ToString(); - } - } -} diff --git a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackVector2.cs.meta b/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackVector2.cs.meta deleted file mode 100644 index c04cca14..00000000 --- a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackVector2.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: ab3a976b3cb79ad41986d2f7d4439642 -timeCreated: 1481126958 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackVector3.cs b/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackVector3.cs deleted file mode 100644 index f2fe1325..00000000 --- a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackVector3.cs +++ /dev/null @@ -1,56 +0,0 @@ -// Amplify Shader Editor - Visual Shader Editing Tool -// Copyright (c) Amplify Creations, Lda <info@amplify.pt> - -using System; -using UnityEngine; - -namespace AmplifyShaderEditor -{ - [Serializable] - public class FallbackVector3 : IFallbackVars - { - [SerializeField] - private Vector3 m_current; - [SerializeField] - private Vector3 m_previous; - - public FallbackVector3() - { - m_current = new Vector3( 0, 0, 0 ); - m_previous = new Vector3( 0, 0, 0 ); - } - - public FallbackVector3( Vector3 data ) - { - m_current = data; - m_previous = data; - } - - public void Revert() - { - Vector3 aux = m_current; - m_current = m_previous; - m_previous = aux; - } - - - public Vector3 Current - { - get - { - return m_current; - } - - set - { - m_previous = m_current; - m_current = value; - } - } - - public override string ToString() - { - return m_current.ToString(); - } - } -} diff --git a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackVector3.cs.meta b/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackVector3.cs.meta deleted file mode 100644 index d22ae5bf..00000000 --- a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackVector3.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 0e681455d27d2264fbc2683a1510df2c -timeCreated: 1481126953 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackVector4.cs b/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackVector4.cs deleted file mode 100644 index 63be6588..00000000 --- a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackVector4.cs +++ /dev/null @@ -1,48 +0,0 @@ -// Amplify Shader Editor - Visual Shader Editing Tool -// Copyright (c) Amplify Creations, Lda <info@amplify.pt> - -using System; -using UnityEngine; - -namespace AmplifyShaderEditor -{ - [Serializable] - public class FallbackVector4 : IFallbackVars - { - [SerializeField] - private Vector4 m_current; - [SerializeField] - private Vector4 m_previous; - - public FallbackVector4() - { - m_current = new Vector4( 0, 0, 0, 0 ); - m_previous = new Vector4( 0, 0, 0, 0 ); - } - - public FallbackVector4( Vector4 data ) - { - m_current = data; - m_previous = data; - } - - public void Revert() - { - Vector4 aux = m_current; - m_current = m_previous; - m_previous = aux; - } - - public Vector4 Current - { - get { return m_current; } - set - { - m_previous = m_current; - m_current = value; - } - } - - public override string ToString() { return m_current.ToString(); } - } -} diff --git a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackVector4.cs.meta b/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackVector4.cs.meta deleted file mode 100644 index 704deb79..00000000 --- a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/FallbackVector4.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 4e23c25f035ba604ea999f214c0a7833 -timeCreated: 1481126955 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/IFallbackVars.cs b/Assets/AmplifyShaderEditor/Plugins/Editor/Native/IFallbackVars.cs deleted file mode 100644 index 17f7fcf0..00000000 --- a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/IFallbackVars.cs +++ /dev/null @@ -1,10 +0,0 @@ -// Amplify Shader Editor - Visual Shader Editing Tool -// Copyright (c) Amplify Creations, Lda <info@amplify.pt> - -namespace AmplifyShaderEditor -{ - interface IFallbackVars - { - void Revert(); - } -} diff --git a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/IFallbackVars.cs.meta b/Assets/AmplifyShaderEditor/Plugins/Editor/Native/IFallbackVars.cs.meta deleted file mode 100644 index f558f542..00000000 --- a/Assets/AmplifyShaderEditor/Plugins/Editor/Native/IFallbackVars.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 8b0dda023474c6e41a39c36e48af72b2 -timeCreated: 1481126957 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: |