From 42d86dd513d2714e7492e090d209f574e40df886 Mon Sep 17 00:00:00 2001 From: Cong Wang Date: Mon, 21 Oct 2019 01:14:15 +0800 Subject: [PATCH] added: Examples.asmdef --- Examples/Examples.asmdef | 15 +++++++ Examples/Examples.asmdef.meta | 7 ++++ Examples/MathGraph/MathGraph.cs | 2 +- .../RuntimeMathGraph/Graphics/half.png.meta | 31 ++++++++++---- .../Graphics/xnode_dot.png.meta | 41 +++++++++++++++---- .../Graphics/xnode_dot_outer.png.meta | 41 +++++++++++++++---- .../Graphics/xnode_node.png.meta | 41 +++++++++++++++---- .../Graphics/xnode_node_highlight.png.meta | 31 ++++++++++---- Examples/StateMachine/README.md.meta | 7 ++++ 9 files changed, 174 insertions(+), 42 deletions(-) create mode 100644 Examples/Examples.asmdef create mode 100644 Examples/Examples.asmdef.meta create mode 100644 Examples/StateMachine/README.md.meta diff --git a/Examples/Examples.asmdef b/Examples/Examples.asmdef new file mode 100644 index 0000000..0b383be --- /dev/null +++ b/Examples/Examples.asmdef @@ -0,0 +1,15 @@ +{ + "name": "XNode.Examples", + "references": [ + "XNode", + "XNodeEditor" + ], + "optionalUnityReferences": [], + "includePlatforms": [], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": false, + "precompiledReferences": [], + "autoReferenced": true, + "defineConstraints": [] +} \ No newline at end of file diff --git a/Examples/Examples.asmdef.meta b/Examples/Examples.asmdef.meta new file mode 100644 index 0000000..08df99a --- /dev/null +++ b/Examples/Examples.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 33e48b60949d19e4893679528ab2c892 +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Examples/MathGraph/MathGraph.cs b/Examples/MathGraph/MathGraph.cs index 420ce64..853479b 100644 --- a/Examples/MathGraph/MathGraph.cs +++ b/Examples/MathGraph/MathGraph.cs @@ -4,5 +4,5 @@ using UnityEngine; namespace XNode.Examples { /// Defines an example nodegraph that can be created as an asset in the Project window. [Serializable, CreateAssetMenu(fileName = "New Math Graph", menuName = "xNode Examples/Math Graph")] - public class MathGraph : XNode.NodeGraph { } + public class MathGraph : NodeGraph { } } \ No newline at end of file diff --git a/Examples/RuntimeMathGraph/Graphics/half.png.meta b/Examples/RuntimeMathGraph/Graphics/half.png.meta index b101a74..da9cac8 100644 --- a/Examples/RuntimeMathGraph/Graphics/half.png.meta +++ b/Examples/RuntimeMathGraph/Graphics/half.png.meta @@ -1,10 +1,9 @@ fileFormatVersion: 2 guid: a909818a5b50b764fb886e6d8c700ab4 -timeCreated: 1525818846 -licenseType: Free TextureImporter: fileIDToRecycleName: {} - serializedVersion: 4 + externalObjects: {} + serializedVersion: 9 mipmaps: mipMapMode: 0 enableMipMap: 0 @@ -22,6 +21,8 @@ TextureImporter: heightScale: 0.25 normalMapFilter: 0 isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 grayScaleToAlpha: 0 generateCubemap: 6 cubemapConvolution: 0 @@ -32,7 +33,7 @@ TextureImporter: serializedVersion: 2 filterMode: 0 aniso: -1 - mipBias: -1 + mipBias: -100 wrapU: 0 wrapV: 0 wrapW: 0 @@ -44,39 +45,55 @@ TextureImporter: spriteMeshType: 1 alignment: 0 spritePivot: {x: 0.5, y: 0.5} - spriteBorder: {x: 0, y: 0, z: 0, w: 0} spritePixelsToUnits: 50 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 alphaUsage: 2 alphaIsTransparency: 1 spriteTessellationDetail: -1 textureType: 8 textureShape: 1 + singleChannelComponent: 0 maxTextureSizeSet: 0 compressionQualitySet: 0 textureFormatSet: 0 platformSettings: - - buildTarget: DefaultTexturePlatform + - serializedVersion: 2 + buildTarget: DefaultTexturePlatform maxTextureSize: 2048 + resizeAlgorithm: 0 textureFormat: -1 textureCompression: 1 compressionQuality: 50 crunchedCompression: 0 allowsAlphaSplitting: 0 overridden: 0 - - buildTarget: Standalone + androidETC2FallbackOverride: 0 + - serializedVersion: 2 + buildTarget: Standalone maxTextureSize: 2048 + resizeAlgorithm: 0 textureFormat: -1 textureCompression: 1 compressionQuality: 50 crunchedCompression: 0 allowsAlphaSplitting: 0 overridden: 0 + androidETC2FallbackOverride: 0 spriteSheet: serializedVersion: 2 sprites: [] outline: [] physicsShape: [] + bones: [] + spriteID: 600a8987af2848c4d89609d08567e67e + vertices: [] + indices: + edges: [] + weights: [] spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 userData: assetBundleName: assetBundleVariant: diff --git a/Examples/RuntimeMathGraph/Graphics/xnode_dot.png.meta b/Examples/RuntimeMathGraph/Graphics/xnode_dot.png.meta index 8113339..7850bb1 100644 --- a/Examples/RuntimeMathGraph/Graphics/xnode_dot.png.meta +++ b/Examples/RuntimeMathGraph/Graphics/xnode_dot.png.meta @@ -1,10 +1,9 @@ fileFormatVersion: 2 guid: e8cf87ddc81cfee4b8417b635e25177b -timeCreated: 1506110357 -licenseType: Free TextureImporter: fileIDToRecycleName: {} - serializedVersion: 4 + externalObjects: {} + serializedVersion: 9 mipmaps: mipMapMode: 0 enableMipMap: 0 @@ -22,6 +21,8 @@ TextureImporter: heightScale: 0.25 normalMapFilter: 0 isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 grayScaleToAlpha: 0 generateCubemap: 6 cubemapConvolution: 0 @@ -32,7 +33,7 @@ TextureImporter: serializedVersion: 2 filterMode: -1 aniso: 1 - mipBias: -1 + mipBias: -100 wrapU: 1 wrapV: -1 wrapW: -1 @@ -44,55 +45,77 @@ TextureImporter: spriteMeshType: 1 alignment: 0 spritePivot: {x: 0.5, y: 0.5} - spriteBorder: {x: 0, y: 0, z: 0, w: 0} spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 alphaUsage: 1 alphaIsTransparency: 1 spriteTessellationDetail: -1 textureType: 8 textureShape: 1 + singleChannelComponent: 0 maxTextureSizeSet: 0 compressionQualitySet: 0 textureFormatSet: 0 platformSettings: - - buildTarget: DefaultTexturePlatform + - serializedVersion: 2 + buildTarget: DefaultTexturePlatform maxTextureSize: 2048 + resizeAlgorithm: 0 textureFormat: -1 textureCompression: 1 compressionQuality: 50 crunchedCompression: 0 allowsAlphaSplitting: 0 overridden: 0 - - buildTarget: Standalone + androidETC2FallbackOverride: 0 + - serializedVersion: 2 + buildTarget: Standalone maxTextureSize: 2048 + resizeAlgorithm: 0 textureFormat: -1 textureCompression: 1 compressionQuality: 50 crunchedCompression: 0 allowsAlphaSplitting: 0 overridden: 0 - - buildTarget: Android + androidETC2FallbackOverride: 0 + - serializedVersion: 2 + buildTarget: Android maxTextureSize: 2048 + resizeAlgorithm: 0 textureFormat: -1 textureCompression: 1 compressionQuality: 50 crunchedCompression: 0 allowsAlphaSplitting: 0 overridden: 0 - - buildTarget: WebGL + androidETC2FallbackOverride: 0 + - serializedVersion: 2 + buildTarget: WebGL maxTextureSize: 2048 + resizeAlgorithm: 0 textureFormat: -1 textureCompression: 1 compressionQuality: 50 crunchedCompression: 0 allowsAlphaSplitting: 0 overridden: 0 + androidETC2FallbackOverride: 0 spriteSheet: serializedVersion: 2 sprites: [] outline: [] physicsShape: [] + bones: [] + spriteID: 07f99f724436e4747ac8a05cb8b75654 + vertices: [] + indices: + edges: [] + weights: [] spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 userData: assetBundleName: assetBundleVariant: diff --git a/Examples/RuntimeMathGraph/Graphics/xnode_dot_outer.png.meta b/Examples/RuntimeMathGraph/Graphics/xnode_dot_outer.png.meta index deffded..b41647d 100644 --- a/Examples/RuntimeMathGraph/Graphics/xnode_dot_outer.png.meta +++ b/Examples/RuntimeMathGraph/Graphics/xnode_dot_outer.png.meta @@ -1,10 +1,9 @@ fileFormatVersion: 2 guid: 935eabc21488fa749abf5308640a4ba1 -timeCreated: 1506110357 -licenseType: Free TextureImporter: fileIDToRecycleName: {} - serializedVersion: 4 + externalObjects: {} + serializedVersion: 9 mipmaps: mipMapMode: 0 enableMipMap: 0 @@ -22,6 +21,8 @@ TextureImporter: heightScale: 0.25 normalMapFilter: 0 isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 grayScaleToAlpha: 0 generateCubemap: 6 cubemapConvolution: 0 @@ -32,7 +33,7 @@ TextureImporter: serializedVersion: 2 filterMode: -1 aniso: 1 - mipBias: -1 + mipBias: -100 wrapU: 1 wrapV: -1 wrapW: -1 @@ -44,55 +45,77 @@ TextureImporter: spriteMeshType: 1 alignment: 0 spritePivot: {x: 0.5, y: 0.5} - spriteBorder: {x: 0, y: 0, z: 0, w: 0} spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 alphaUsage: 1 alphaIsTransparency: 1 spriteTessellationDetail: -1 textureType: 8 textureShape: 1 + singleChannelComponent: 0 maxTextureSizeSet: 0 compressionQualitySet: 0 textureFormatSet: 0 platformSettings: - - buildTarget: DefaultTexturePlatform + - serializedVersion: 2 + buildTarget: DefaultTexturePlatform maxTextureSize: 2048 + resizeAlgorithm: 0 textureFormat: -1 textureCompression: 1 compressionQuality: 50 crunchedCompression: 0 allowsAlphaSplitting: 0 overridden: 0 - - buildTarget: Standalone + androidETC2FallbackOverride: 0 + - serializedVersion: 2 + buildTarget: Standalone maxTextureSize: 2048 + resizeAlgorithm: 0 textureFormat: -1 textureCompression: 1 compressionQuality: 50 crunchedCompression: 0 allowsAlphaSplitting: 0 overridden: 0 - - buildTarget: Android + androidETC2FallbackOverride: 0 + - serializedVersion: 2 + buildTarget: Android maxTextureSize: 2048 + resizeAlgorithm: 0 textureFormat: -1 textureCompression: 1 compressionQuality: 50 crunchedCompression: 0 allowsAlphaSplitting: 0 overridden: 0 - - buildTarget: WebGL + androidETC2FallbackOverride: 0 + - serializedVersion: 2 + buildTarget: WebGL maxTextureSize: 2048 + resizeAlgorithm: 0 textureFormat: -1 textureCompression: 1 compressionQuality: 50 crunchedCompression: 0 allowsAlphaSplitting: 0 overridden: 0 + androidETC2FallbackOverride: 0 spriteSheet: serializedVersion: 2 sprites: [] outline: [] physicsShape: [] + bones: [] + spriteID: d1bc630575c52d5448abd0e4da39247a + vertices: [] + indices: + edges: [] + weights: [] spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 userData: assetBundleName: assetBundleVariant: diff --git a/Examples/RuntimeMathGraph/Graphics/xnode_node.png.meta b/Examples/RuntimeMathGraph/Graphics/xnode_node.png.meta index da9edf5..9c509a4 100644 --- a/Examples/RuntimeMathGraph/Graphics/xnode_node.png.meta +++ b/Examples/RuntimeMathGraph/Graphics/xnode_node.png.meta @@ -1,10 +1,9 @@ fileFormatVersion: 2 guid: 105d5a0e2ead77c428847ed8572bb93b -timeCreated: 1525603886 -licenseType: Free TextureImporter: fileIDToRecycleName: {} - serializedVersion: 4 + externalObjects: {} + serializedVersion: 9 mipmaps: mipMapMode: 0 enableMipMap: 0 @@ -22,6 +21,8 @@ TextureImporter: heightScale: 0.25 normalMapFilter: 0 isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 grayScaleToAlpha: 0 generateCubemap: 6 cubemapConvolution: 0 @@ -32,7 +33,7 @@ TextureImporter: serializedVersion: 2 filterMode: -1 aniso: 1 - mipBias: -1 + mipBias: -100 wrapU: 1 wrapV: 1 wrapW: 1 @@ -44,55 +45,77 @@ TextureImporter: spriteMeshType: 1 alignment: 0 spritePivot: {x: 0.5, y: 0.5} - spriteBorder: {x: 27, y: 24, z: 27, w: 32} spritePixelsToUnits: 100 + spriteBorder: {x: 27, y: 24, z: 27, w: 32} + spriteGenerateFallbackPhysicsShape: 1 alphaUsage: 1 alphaIsTransparency: 1 spriteTessellationDetail: -1 textureType: 8 textureShape: 1 + singleChannelComponent: 0 maxTextureSizeSet: 0 compressionQualitySet: 0 textureFormatSet: 0 platformSettings: - - buildTarget: DefaultTexturePlatform + - serializedVersion: 2 + buildTarget: DefaultTexturePlatform maxTextureSize: 2048 + resizeAlgorithm: 0 textureFormat: -1 textureCompression: 1 compressionQuality: 50 crunchedCompression: 0 allowsAlphaSplitting: 0 overridden: 0 - - buildTarget: Standalone + androidETC2FallbackOverride: 0 + - serializedVersion: 2 + buildTarget: Standalone maxTextureSize: 2048 + resizeAlgorithm: 0 textureFormat: -1 textureCompression: 1 compressionQuality: 50 crunchedCompression: 0 allowsAlphaSplitting: 0 overridden: 0 - - buildTarget: Android + androidETC2FallbackOverride: 0 + - serializedVersion: 2 + buildTarget: Android maxTextureSize: 2048 + resizeAlgorithm: 0 textureFormat: -1 textureCompression: 1 compressionQuality: 50 crunchedCompression: 0 allowsAlphaSplitting: 0 overridden: 0 - - buildTarget: WebGL + androidETC2FallbackOverride: 0 + - serializedVersion: 2 + buildTarget: WebGL maxTextureSize: 2048 + resizeAlgorithm: 0 textureFormat: -1 textureCompression: 1 compressionQuality: 50 crunchedCompression: 0 allowsAlphaSplitting: 0 overridden: 0 + androidETC2FallbackOverride: 0 spriteSheet: serializedVersion: 2 sprites: [] outline: [] physicsShape: [] + bones: [] + spriteID: afcc304f083cc8d46beffc37a29b4550 + vertices: [] + indices: + edges: [] + weights: [] spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 userData: assetBundleName: assetBundleVariant: diff --git a/Examples/RuntimeMathGraph/Graphics/xnode_node_highlight.png.meta b/Examples/RuntimeMathGraph/Graphics/xnode_node_highlight.png.meta index d44a3d0..8af130c 100644 --- a/Examples/RuntimeMathGraph/Graphics/xnode_node_highlight.png.meta +++ b/Examples/RuntimeMathGraph/Graphics/xnode_node_highlight.png.meta @@ -1,10 +1,9 @@ fileFormatVersion: 2 guid: 4e02831629a863541a8da989a43791b3 -timeCreated: 1516610730 -licenseType: Free TextureImporter: fileIDToRecycleName: {} - serializedVersion: 4 + externalObjects: {} + serializedVersion: 9 mipmaps: mipMapMode: 0 enableMipMap: 0 @@ -22,6 +21,8 @@ TextureImporter: heightScale: 0.25 normalMapFilter: 0 isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 grayScaleToAlpha: 0 generateCubemap: 6 cubemapConvolution: 0 @@ -32,7 +33,7 @@ TextureImporter: serializedVersion: 2 filterMode: -1 aniso: 1 - mipBias: -1 + mipBias: -100 wrapU: 1 wrapV: 1 wrapW: -1 @@ -44,39 +45,55 @@ TextureImporter: spriteMeshType: 1 alignment: 0 spritePivot: {x: 0.5, y: 0.5} - spriteBorder: {x: 0, y: 0, z: 0, w: 0} spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 alphaUsage: 1 alphaIsTransparency: 1 spriteTessellationDetail: -1 textureType: 8 textureShape: 1 + singleChannelComponent: 0 maxTextureSizeSet: 0 compressionQualitySet: 0 textureFormatSet: 0 platformSettings: - - buildTarget: DefaultTexturePlatform + - serializedVersion: 2 + buildTarget: DefaultTexturePlatform maxTextureSize: 2048 + resizeAlgorithm: 0 textureFormat: -1 textureCompression: 1 compressionQuality: 50 crunchedCompression: 0 allowsAlphaSplitting: 0 overridden: 0 - - buildTarget: Standalone + androidETC2FallbackOverride: 0 + - serializedVersion: 2 + buildTarget: Standalone maxTextureSize: 2048 + resizeAlgorithm: 0 textureFormat: -1 textureCompression: 1 compressionQuality: 50 crunchedCompression: 0 allowsAlphaSplitting: 0 overridden: 0 + androidETC2FallbackOverride: 0 spriteSheet: serializedVersion: 2 sprites: [] outline: [] physicsShape: [] + bones: [] + spriteID: c9f34167bd4d2f946a097df9574a24d6 + vertices: [] + indices: + edges: [] + weights: [] spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 userData: assetBundleName: assetBundleVariant: diff --git a/Examples/StateMachine/README.md.meta b/Examples/StateMachine/README.md.meta new file mode 100644 index 0000000..32f68ad --- /dev/null +++ b/Examples/StateMachine/README.md.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 742466dd4561ff045893c2e93950bd00 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: