├── .gitattributes ├── ProjectSettings ├── ProjectVersion.txt ├── ClusterInputManager.asset ├── NetworkManager.asset ├── TimeManager.asset ├── EditorBuildSettings.asset ├── AudioManager.asset ├── EditorSettings.asset ├── TagManager.asset ├── DynamicsManager.asset ├── UnityConnectSettings.asset ├── Physics2DSettings.asset ├── NavMeshAreas.asset └── GraphicsSettings.asset ├── Assets ├── Test │ ├── Puff.psd │ ├── Particles.unity.meta │ ├── Sphere.unity.meta │ ├── Puff.mat.meta │ ├── Trail.mat.meta │ ├── ParticleController.cs.meta │ ├── ParticleController.cs │ ├── Puff.psd.meta │ ├── Trail.mat │ └── Puff.mat ├── Lasp │ ├── Internal │ │ ├── Linux │ │ │ ├── x64 │ │ │ │ └── libLasp.so │ │ │ └── x64.meta │ │ ├── Windows │ │ │ ├── x64 │ │ │ │ └── Lasp.dll │ │ │ └── x64.meta │ │ ├── macOS │ │ │ └── Lasp.bundle │ │ │ │ ├── Contents │ │ │ │ ├── MacOS │ │ │ │ │ ├── Lasp │ │ │ │ │ └── Lasp.meta │ │ │ │ ├── Info.plist.meta │ │ │ │ ├── _CodeSignature │ │ │ │ │ └── CodeResources.meta │ │ │ │ ├── MacOS.meta │ │ │ │ ├── _CodeSignature.meta │ │ │ │ └── Info.plist │ │ │ │ └── Contents.meta │ │ ├── Linux.meta │ │ ├── macOS.meta │ │ ├── Windows.meta │ │ ├── FilterBlock.cs.meta │ │ ├── LaspStream.cs.meta │ │ ├── PluginEntry.cs.meta │ │ ├── LaspTerminator.cs.meta │ │ ├── LaspTerminator.cs │ │ ├── FilterBlock.cs │ │ ├── LaspStream.cs │ │ └── PluginEntry.cs │ ├── Internal.meta │ └── AudioInput.cs.meta ├── Kino.meta ├── Klak.meta ├── Lasp.meta ├── Test.meta ├── Editor.meta ├── Kino │ ├── Bloom.meta │ └── Bloom │ │ ├── Editor.meta │ │ ├── Shader.meta │ │ ├── Shader │ │ ├── Bloom.cginc.meta │ │ └── Bloom.shader.meta │ │ ├── Editor │ │ ├── BloomEditor.cs.meta │ │ └── BloomGraphDrawer.cs.meta │ │ └── Bloom.cs.meta ├── Klak Imported.meta ├── Klak │ ├── Audio.meta │ └── Audio │ │ ├── Editor.meta │ │ ├── AudioInput.cs.meta │ │ └── Editor │ │ └── AudioInputEditor.cs.meta ├── Klak Imported │ ├── Math.meta │ ├── Extension.meta │ ├── Motion.meta │ ├── Wiring.meta │ ├── Math │ │ ├── Editor.meta │ │ ├── Perlin.cs.meta │ │ ├── Tween.cs.meta │ │ ├── XXHash.cs.meta │ │ ├── BasicMath.cs.meta │ │ ├── Interpolator.cs.meta │ │ ├── NoiseGenerator.cs.meta │ │ ├── Editor │ │ │ └── InterpolatorConfigDrawer.cs.meta │ │ └── BasicMath.cs │ ├── Motion │ │ ├── Editor.meta │ │ ├── BrownianMotion.cs.meta │ │ ├── ConstantMotion.cs.meta │ │ ├── SmoothFollow.cs.meta │ │ └── Editor │ │ │ ├── BrownianMotionEditor.cs.meta │ │ │ ├── ConstantMotionEditor.cs.meta │ │ │ └── SmoothFollowEditor.cs.meta │ ├── Wiring │ │ ├── Basic.meta │ │ ├── Editor.meta │ │ ├── Filter.meta │ │ ├── Input.meta │ │ ├── Output.meta │ │ ├── System.meta │ │ ├── Editor │ │ │ ├── Basic.meta │ │ │ ├── Filter.meta │ │ │ ├── Input.meta │ │ │ ├── Output.meta │ │ │ ├── System.meta │ │ │ ├── Patcher.meta │ │ │ ├── Patcher │ │ │ │ ├── Node.cs.meta │ │ │ │ ├── EdgeGUI.cs.meta │ │ │ │ ├── Graph.cs.meta │ │ │ │ ├── GraphGUI.cs.meta │ │ │ │ ├── Styles.cs.meta │ │ │ │ ├── GUIUtility.cs.meta │ │ │ │ ├── NodeEditor.cs.meta │ │ │ │ ├── NodeFactory.cs.meta │ │ │ │ ├── PatcherWindow.cs.meta │ │ │ │ ├── ConnectionTools.cs.meta │ │ │ │ ├── Styles.cs │ │ │ │ └── GUIUtility.cs │ │ │ ├── Input │ │ │ │ ├── NoiseEditor.cs.meta │ │ │ │ ├── AxisInputEditor.cs.meta │ │ │ │ ├── KeyInputEditor.cs.meta │ │ │ │ ├── StarterEditor.cs.meta │ │ │ │ ├── ButtonInputEditor.cs.meta │ │ │ │ ├── RandomValueEditor.cs.meta │ │ │ │ ├── MouseButtonInputEditor.cs.meta │ │ │ │ ├── MousePositionInputEditor.cs.meta │ │ │ │ ├── RandomValueEditor.cs │ │ │ │ ├── StarterEditor.cs │ │ │ │ ├── AxisInputEditor.cs │ │ │ │ └── MousePositionInputEditor.cs │ │ │ ├── Basic │ │ │ │ ├── ColorRampEditor.cs.meta │ │ │ │ ├── HSBColorEditor.cs.meta │ │ │ │ ├── VectorEditor.cs.meta │ │ │ │ ├── AxisRotationEditor.cs.meta │ │ │ │ ├── EulerRotationEditor.cs.meta │ │ │ │ ├── FloatAnimationEditor.cs.meta │ │ │ │ ├── FromToVectorEditor.cs.meta │ │ │ │ ├── HSBColorEditor.cs │ │ │ │ ├── EulerRotationEditor.cs │ │ │ │ ├── VectorEditor.cs │ │ │ │ ├── AxisRotationEditor.cs │ │ │ │ ├── FloatAnimationEditor.cs │ │ │ │ └── FromToVectorEditor.cs │ │ │ ├── Filter │ │ │ │ ├── DelayEditor.cs.meta │ │ │ │ ├── RepeatEditor.cs.meta │ │ │ │ ├── ThresholdEditor.cs.meta │ │ │ │ ├── ToggleEditor.cs.meta │ │ │ │ ├── BangFilterEditor.cs.meta │ │ │ │ ├── FloatFilterEditor.cs.meta │ │ │ │ ├── FloatMixerEditor.cs.meta │ │ │ │ ├── ToggleFourEditor.cs.meta │ │ │ │ ├── VectorMixerEditor.cs.meta │ │ │ │ ├── FloatVectorMixerEditor.cs.meta │ │ │ │ ├── QuaternionMixerEditor.cs.meta │ │ │ │ ├── BangFilterEditor.cs │ │ │ │ ├── FloatVectorMixerEditor.cs │ │ │ │ ├── QuaternionMixerEditor.cs │ │ │ │ ├── FloatMixerEditor.cs │ │ │ │ ├── VectorMixerEditor.cs │ │ │ │ ├── RepeatEditor.cs │ │ │ │ ├── DelayEditor.cs │ │ │ │ └── ThresholdEditor.cs │ │ │ ├── Output │ │ │ │ ├── ColorOutEditor.cs.meta │ │ │ │ ├── EventOutEditor.cs.meta │ │ │ │ ├── FloatOutEditor.cs.meta │ │ │ │ ├── VectorOutEditor.cs.meta │ │ │ │ ├── AnimatorOutEditor.cs.meta │ │ │ │ ├── GenericOutEditor.cs.meta │ │ │ │ ├── RotationOutEditor.cs.meta │ │ │ │ ├── TransformOutEditor.cs.meta │ │ │ │ ├── ActiveStatusOutEditor.cs.meta │ │ │ │ ├── MaterialColorOutEditor.cs.meta │ │ │ │ ├── MaterialFloatOutEditor.cs.meta │ │ │ │ ├── MaterialVectorOutEditor.cs.meta │ │ │ │ ├── ParticleSystemOutEditor.cs.meta │ │ │ │ ├── SystemPropertyOutEditor.cs.meta │ │ │ │ ├── ColorOutEditor.cs │ │ │ │ ├── FloatOutEditor.cs │ │ │ │ ├── VectorOutEditor.cs │ │ │ │ ├── RotationOutEditor.cs │ │ │ │ ├── SystemPropertyOutEditor.cs │ │ │ │ ├── ParticleSystemOutEditor.cs │ │ │ │ ├── EventOutEditor.cs │ │ │ │ ├── AnimatorOutEditor.cs │ │ │ │ └── TransformOutEditor.cs │ │ │ └── System │ │ │ │ ├── PatchEditor.cs.meta │ │ │ │ └── PatchEditor.cs │ │ ├── Basic │ │ │ ├── HSBColor.cs.meta │ │ │ ├── Vector.cs.meta │ │ │ ├── AxisRotation.cs.meta │ │ │ ├── ColorRamp.cs.meta │ │ │ ├── EulerRotation.cs.meta │ │ │ ├── FromToVector.cs.meta │ │ │ ├── FloatAnimation.cs.meta │ │ │ ├── EulerRotation.cs │ │ │ ├── HSBColor.cs │ │ │ ├── Vector.cs │ │ │ ├── FromToVector.cs │ │ │ └── AxisRotation.cs │ │ ├── Filter │ │ │ ├── Delay.cs.meta │ │ │ ├── Repeat.cs.meta │ │ │ ├── Toggle.cs.meta │ │ │ ├── BangFilter.cs.meta │ │ │ ├── FloatFilter.cs.meta │ │ │ ├── FloatMix.cs.meta │ │ │ ├── RotationMix.cs.meta │ │ │ ├── Threshold.cs.meta │ │ │ ├── ToggleFour.cs.meta │ │ │ ├── VectorMix.cs.meta │ │ │ ├── FloatVectorMix.cs.meta │ │ │ ├── BangFilter.cs │ │ │ ├── Repeat.cs │ │ │ ├── FloatVectorMix.cs │ │ │ └── RotationMix.cs │ │ ├── Input │ │ │ ├── KeyInput.cs.meta │ │ │ ├── Noise.cs.meta │ │ │ ├── Starter.cs.meta │ │ │ ├── AxisInput.cs.meta │ │ │ ├── ButtonInput.cs.meta │ │ │ ├── RandomValue.cs.meta │ │ │ ├── MouseButtonInput.cs.meta │ │ │ ├── MousePositionInput.cs.meta │ │ │ ├── RandomValue.cs │ │ │ ├── Starter.cs │ │ │ ├── AxisInput.cs │ │ │ └── MousePositionInput.cs │ │ ├── System │ │ │ ├── Patch.cs.meta │ │ │ ├── NodeBase.cs.meta │ │ │ └── Patch.cs │ │ └── Output │ │ │ ├── AnimatorOut.cs.meta │ │ │ ├── ColorOut.cs.meta │ │ │ ├── EventOut.cs.meta │ │ │ ├── FloatOut.cs.meta │ │ │ ├── RotationOut.cs.meta │ │ │ ├── TransformOut.cs.meta │ │ │ ├── VectorOut.cs.meta │ │ │ ├── ActiveStatusOut.cs.meta │ │ │ ├── MaterialColorOut.cs.meta │ │ │ ├── MaterialFloatOut.cs.meta │ │ │ ├── MaterialVectorOut.cs.meta │ │ │ ├── ParticleSystemOut.cs.meta │ │ │ ├── SystemPropertyOut.cs.meta │ │ │ ├── EventOut.cs │ │ │ ├── AnimatorOut.cs │ │ │ ├── MaterialColorOut.cs │ │ │ ├── MaterialFloatOut.cs │ │ │ ├── MaterialVectorOut.cs │ │ │ ├── ColorOut.cs │ │ │ ├── FloatOut.cs │ │ │ ├── VectorOut.cs │ │ │ └── RotationOut.cs │ └── Extension │ │ ├── MaterialExtension.cs.meta │ │ ├── VectorMathExtension.cs.meta │ │ └── VectorMathExtension.cs └── Editor │ ├── PackageTool.cs │ └── PackageTool.cs.meta ├── .gitignore └── LICENSE.txt /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | 3 | *.cs diff=csharp 4 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2017.1.0f3 2 | -------------------------------------------------------------------------------- /Assets/Test/Puff.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keijiro/KlakLasp/HEAD/Assets/Test/Puff.psd -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.swp 2 | 3 | .DS_Store 4 | Desktop.ini 5 | 6 | /Library/ 7 | /Temp/ 8 | 9 | KlakLasp.unitypackage 10 | -------------------------------------------------------------------------------- /Assets/Lasp/Internal/Linux/x64/libLasp.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keijiro/KlakLasp/HEAD/Assets/Lasp/Internal/Linux/x64/libLasp.so -------------------------------------------------------------------------------- /Assets/Lasp/Internal/Windows/x64/Lasp.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keijiro/KlakLasp/HEAD/Assets/Lasp/Internal/Windows/x64/Lasp.dll -------------------------------------------------------------------------------- /Assets/Lasp/Internal/macOS/Lasp.bundle/Contents/MacOS/Lasp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keijiro/KlakLasp/HEAD/Assets/Lasp/Internal/macOS/Lasp.bundle/Contents/MacOS/Lasp -------------------------------------------------------------------------------- /ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!236 &1 4 | ClusterInputManager: 5 | m_ObjectHideFlags: 0 6 | m_Inputs: [] 7 | -------------------------------------------------------------------------------- /ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!149 &1 4 | NetworkManager: 5 | m_ObjectHideFlags: 0 6 | m_DebugLevel: 0 7 | m_Sendrate: 15 8 | m_AssetToPrefab: {} 9 | -------------------------------------------------------------------------------- /Assets/Test/Particles.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 65a551366c8ff904a9fdc48dfc9f36ce 3 | timeCreated: 1500388309 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Test/Sphere.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b456f1f96c6204742a66955d8d22b56f 3 | timeCreated: 1500442118 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Kino.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 96d6f0c23b5b349a39907f19574573ef 3 | folderAsset: yes 4 | timeCreated: 1435811145 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Klak.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d80c83752a75c40649d0a3c49a424bd4 3 | folderAsset: yes 4 | timeCreated: 1452473625 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Lasp.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3a05aa3fdf5be8c43afc0f6a73fd0037 3 | folderAsset: yes 4 | timeCreated: 1500000268 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Test.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b6cbc8c9cc69cd0458fe278520bfb830 3 | folderAsset: yes 4 | timeCreated: 1500391575 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0c2cfd9a12598ba44b486c23212177f1 3 | folderAsset: yes 4 | timeCreated: 1500306714 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Kino/Bloom.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ecdb90abc15fe42bca3b67047f7fd9df 3 | folderAsset: yes 4 | timeCreated: 1445666754 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Klak Imported.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 256b8b8e08c1e9e4d9f84510aae89471 3 | folderAsset: yes 4 | timeCreated: 1500442164 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Klak/Audio.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c2545352cd17acd4abfa3a9e24b13c96 3 | folderAsset: yes 4 | timeCreated: 1500442170 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Lasp/Internal.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 02e9bf2b2787ce54dbbe994deea4dcbb 3 | folderAsset: yes 4 | timeCreated: 1500000386 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Kino/Bloom/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0e7e3e77db40c4cba83bb3a6ab440084 3 | folderAsset: yes 4 | timeCreated: 1445666764 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Kino/Bloom/Shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f44dd1607e93a4131a4003b39c363e93 3 | folderAsset: yes 4 | timeCreated: 1445666764 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Math.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fb9dc05a19a2fad4caf8b1a87a2c484c 3 | folderAsset: yes 4 | timeCreated: 1452843589 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Klak/Audio/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d5918b4eac68b6749be386c0807e5a14 3 | folderAsset: yes 4 | timeCreated: 1500463678 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Lasp/Internal/Linux.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 589fa6addbb7c4d77bd52c1da260268f 3 | folderAsset: yes 4 | timeCreated: 1500860101 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Lasp/Internal/macOS.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 333922f4f8945479d938cdd0d7cc54de 3 | folderAsset: yes 4 | timeCreated: 1500256567 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Extension.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: af303efbcda15c14abef72a3a904c771 3 | folderAsset: yes 4 | timeCreated: 1452843633 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Motion.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b04e253fd90e09646b7032c3100d8444 3 | folderAsset: yes 4 | timeCreated: 1452843621 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1ada9697578eb7a4f9e6a8947b687722 3 | folderAsset: yes 4 | timeCreated: 1452843814 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Lasp/Internal/Linux/x64.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6470be00eb5da4ed7ac1b5c3bad3e1c0 3 | folderAsset: yes 4 | timeCreated: 1500860101 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Lasp/Internal/Windows.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e04f262d8cfbf924ab64b2ad29529075 3 | folderAsset: yes 4 | timeCreated: 1500000286 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Lasp/Internal/macOS/Lasp.bundle/Contents/Info.plist.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f8682535c50943642a457b961aeab4c0 3 | timeCreated: 1500283704 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Lasp/Internal/macOS/Lasp.bundle/Contents/MacOS/Lasp.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2ecd4b64bece6a846802f8727d179267 3 | timeCreated: 1500283704 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Math/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fd47a5ebc73153e49b3e170cb40b85e3 3 | folderAsset: yes 4 | timeCreated: 1452853831 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Motion/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5f2b8436fbb9bd045ab8bdccf8490ae1 3 | folderAsset: yes 4 | timeCreated: 1452853741 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Basic.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 93779e34c696d054ebefcbb5faf8a862 3 | folderAsset: yes 4 | timeCreated: 1465911598 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d02cc7286100b0c4c9649ddac381059f 3 | folderAsset: yes 4 | timeCreated: 1452853804 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Filter.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 678d6605714e0f4488cc2118dc8a3701 3 | folderAsset: yes 4 | timeCreated: 1465911649 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Input.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 81acf7147898acd49aacaaec1a750639 3 | folderAsset: yes 4 | timeCreated: 1465911550 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Output.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e4964abb43701e94d92789a4a62fc5a3 3 | folderAsset: yes 4 | timeCreated: 1465632572 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/System.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0495946801548294c89786ae96629b74 3 | folderAsset: yes 4 | timeCreated: 1465632576 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Lasp/Internal/Windows/x64.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ca4b9e2f7599bf3439afe3a14ac50503 3 | folderAsset: yes 4 | timeCreated: 1500000275 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Test/Puff.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8739c8da177a803469f990a02c206ef0 3 | timeCreated: 1500388596 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Kino/Bloom/Shader/Bloom.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1b8325918052c4c5492831d116e3ed27 3 | timeCreated: 1463470294 4 | licenseType: Pro 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Kino/Bloom/Shader/Bloom.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5a711a01011934ebcb58ef5ad52159d6 3 | timeCreated: 1435809878 4 | licenseType: Pro 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Basic.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 30df63c037be1844b845a3daf4c42da8 3 | folderAsset: yes 4 | timeCreated: 1465911676 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Filter.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 39964de82d7f0964a85fb65f731bc24a 3 | folderAsset: yes 4 | timeCreated: 1465911682 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Input.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: be5f2d1f9e0ab9d41af212d7b12c6ffa 3 | folderAsset: yes 4 | timeCreated: 1465911690 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Output.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 85efa8f92b647e940a76b6dd67ac9bd4 3 | folderAsset: yes 4 | timeCreated: 1465911702 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/System.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 732311572295b26409dc51f18423db62 3 | folderAsset: yes 4 | timeCreated: 1465821314 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Test/Trail.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 984aa9457267c7c47bfcefc596b42851 3 | timeCreated: 1500736696 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!5 &1 4 | TimeManager: 5 | m_ObjectHideFlags: 0 6 | Fixed Timestep: 0.02 7 | Maximum Allowed Timestep: 0.33333334 8 | m_TimeScale: 1 9 | Maximum Particle Timestep: 0.03 10 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Patcher.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 918dadd4e97623c4c9ba57e67a418311 3 | folderAsset: yes 4 | timeCreated: 1465632610 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Lasp/Internal/macOS/Lasp.bundle/Contents/_CodeSignature/CodeResources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f15dbb35a2d0fbd4ea47e6d71e19ba17 3 | timeCreated: 1500283704 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Lasp/Internal/macOS/Lasp.bundle/Contents.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 98583e43608b5c7459ab2ab5b112551c 3 | folderAsset: yes 4 | timeCreated: 1500283704 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Lasp/Internal/macOS/Lasp.bundle/Contents/MacOS.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 59916b48c32151044ae8212763285d91 3 | folderAsset: yes 4 | timeCreated: 1500283704 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Lasp/Internal/macOS/Lasp.bundle/Contents/_CodeSignature.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5ea880ad97316084282e23928be6dae1 3 | folderAsset: yes 4 | timeCreated: 1500283704 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1045 &1 4 | EditorBuildSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Scenes: 8 | - enabled: 1 9 | path: Assets/Test.unity 10 | guid: b456f1f96c6204742a66955d8d22b56f 11 | -------------------------------------------------------------------------------- /Assets/Editor/PackageTool.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEditor; 3 | 4 | public class PackageTool 5 | { 6 | [MenuItem("Package/Update Package")] 7 | static void UpdatePackage() 8 | { 9 | AssetDatabase.ExportPackage("Assets/Klak", "KlakLasp.unitypackage", ExportPackageOptions.Recurse); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /Assets/Lasp/AudioInput.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 51aaa1efd45a7b2428f8a044c46b9fa5 3 | timeCreated: 1500211175 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Editor/PackageTool.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0aae1620304c7c54680d823f781a6111 3 | timeCreated: 1500306714 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Math/Perlin.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9b05ef48e04bc4e4385bbbecb990f874 3 | timeCreated: 1452487793 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Math/Tween.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f8d594ef0c2194bfcbb842c19f8df85d 3 | timeCreated: 1452474839 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Math/XXHash.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6508314c510884ced8a4be226dea5495 3 | timeCreated: 1452488971 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak/Audio/AudioInput.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 097e1f4768de3d742bdcdf8e449a5b3d 3 | timeCreated: 1500442223 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Lasp/Internal/FilterBlock.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c421c8a6dec94a04d91901eb9f90d809 3 | timeCreated: 1500217072 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Lasp/Internal/LaspStream.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 93a8e897cffb1a04cb20520c2d2109df 3 | timeCreated: 1500197831 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Lasp/Internal/PluginEntry.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a32d73b26a36bb7438934a6c912d4cf1 3 | timeCreated: 1500000396 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Test/ParticleController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 66563c50b49c6694cb5bdfbe25c99816 3 | timeCreated: 1500389162 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Kino/Bloom/Editor/BloomEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 036bc30d96c3349ce86bfc8d95667da7 3 | timeCreated: 1435816745 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Math/BasicMath.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a93c590d9dab4415eadb92e108635e30 3 | timeCreated: 1453562143 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Lasp/Internal/LaspTerminator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 548b795483f034141820278355d5dddd 3 | timeCreated: 1500208362 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Kino/Bloom/Editor/BloomGraphDrawer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4afcb2949e7fb42679b587b8848b7e02 3 | timeCreated: 1457674915 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Math/Interpolator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a20dd3f543e39e84583729e6e93c2911 3 | timeCreated: 1452744639 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Math/NoiseGenerator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 02dfbe70c75094fe1973194746bdef09 3 | timeCreated: 1452489764 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Motion/BrownianMotion.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 543ddbe12367a4899b011d43ef41f357 3 | timeCreated: 1452493080 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Motion/ConstantMotion.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3db4c4a72731246b2b1ad1e73178c04e 3 | timeCreated: 1452494131 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Motion/SmoothFollow.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e04f5e50cd25d4df6ad5fe43d1f88cca 3 | timeCreated: 1452473647 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Basic/HSBColor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a163ee3cdea6cbf4ca2a23ee3f2c09c1 3 | timeCreated: 1492926315 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Basic/Vector.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c28fb8e5f0356b5459f21ad2b6952a87 3 | timeCreated: 1465986607 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Filter/Delay.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a02cc0df2f2104846af78448a3299af2 3 | timeCreated: 1465997551 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Filter/Repeat.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a90deba55621c034d959993a06030f9e 3 | timeCreated: 1466219591 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Filter/Toggle.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 16838af9be613054baf2f3fd792f8e0f 3 | timeCreated: 1465998862 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Input/KeyInput.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 48176ff3d33154fd6956c5fe401b5301 3 | timeCreated: 1452675181 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Input/Noise.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c1ecab20726ee5a428e77c2c27574661 3 | timeCreated: 1465913945 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Input/Starter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 55dbd5c5112fb8249822656779e6907e 3 | timeCreated: 1466219179 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/System/Patch.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 44e5da7555040604f9438130103bdee6 3 | timeCreated: 1465381503 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak/Audio/Editor/AudioInputEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3f874bd70965a0f479bb26c910be6e46 3 | timeCreated: 1500463678 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Basic/AxisRotation.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dec85a7d4dfdb5f4480b444ba3a505fe 3 | timeCreated: 1465827194 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Basic/ColorRamp.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e40b112a8fb6b3b409d27ebac7cd6f11 3 | timeCreated: 1465737938 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Basic/EulerRotation.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8a583ea3c9d590443a4266c6d557e56d 3 | timeCreated: 1465827731 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Basic/FromToVector.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6573e2c4e2b16a642b2aa838b947702f 3 | timeCreated: 1465825253 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Patcher/Node.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c82861163da18ef4fbfbaca02c514898 3 | timeCreated: 1464593315 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Filter/BangFilter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4169d4e098bab3b4dadc3895be988f70 3 | timeCreated: 1492926314 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Filter/FloatFilter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0f12cb6e816d52340928f63f1b02f1b8 3 | timeCreated: 1465829150 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Filter/FloatMix.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1b6980d93df82e24c9c18ac327c41a94 3 | timeCreated: 1452831265 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Filter/RotationMix.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f69bf63c19144324880a1fc106986d0a 3 | timeCreated: 1465995582 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Filter/Threshold.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9e02d4ac2ec87d643a32c5b25174f509 3 | timeCreated: 1465737147 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Filter/ToggleFour.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4e3f83148b3a62d48a80020745f6100d 3 | timeCreated: 1465999767 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Filter/VectorMix.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2339e7bf89e326345a4a1e8c2f5dfe79 3 | timeCreated: 1465914822 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Input/AxisInput.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d4349978ad1355d46a3b9b864714e885 3 | timeCreated: 1466236563 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Input/ButtonInput.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 00fceb793fb8083418bafddf8aa50274 3 | timeCreated: 1466236119 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Input/RandomValue.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f4fa215cb6f538043b9a260fea65bebc 3 | timeCreated: 1492926316 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Output/AnimatorOut.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d4db31128ed7a9b43af34060f62d4446 3 | timeCreated: 1466084978 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Output/ColorOut.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 74674d1592068f94aba72f5af393792c 3 | timeCreated: 1466170572 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Output/EventOut.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7ef48ed7cecef994b9fe9847deba775f 3 | timeCreated: 1466171087 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Output/FloatOut.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a319229719231eb42a0f578b8f339e1c 3 | timeCreated: 1466088689 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Output/RotationOut.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 48a07f055f95f9846bfb88b429b41468 3 | timeCreated: 1466170572 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Output/TransformOut.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9b4aca5806d89554ea1754d3f877fd59 3 | timeCreated: 1452755228 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Output/VectorOut.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e9287c03be9f90d45aaf1764d617c8bf 3 | timeCreated: 1466170572 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/System/NodeBase.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1d1d9b3346e98604bb5c12a9dc57f13a 3 | timeCreated: 1464594297 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Extension/MaterialExtension.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b4407f6c95f8e43db828f483299732cc 3 | timeCreated: 1452487333 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Extension/VectorMathExtension.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b10930df277854f43b411412e91f9bf3 3 | timeCreated: 1452477818 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Basic/FloatAnimation.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f2a647f6ec529dd4ca5250ab558ad64a 3 | timeCreated: 1466172549 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Input/NoiseEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5924d2eadeb268b4bb59590741aadf7c 3 | timeCreated: 1465914374 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Patcher/EdgeGUI.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ba86cb2e018473f4997721fa8be60efb 3 | timeCreated: 1477495015 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Patcher/Graph.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f5ddb305c5a42354fa44b7f365bc8ba3 3 | timeCreated: 1475587696 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Patcher/GraphGUI.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b33f3d074dc95604fa8d0ee136f46d62 3 | timeCreated: 1477229224 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Patcher/Styles.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0b7f7c65c106fdb48b41b80296d5375c 3 | timeCreated: 1477275344 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Filter/FloatVectorMix.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d9848a96304dcb14f9439a7cf5ce9889 3 | timeCreated: 1465993519 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Input/MouseButtonInput.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b633610a75d4dc748bae1f1d82e8d9dc 3 | timeCreated: 1466238075 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Input/MousePositionInput.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5527dabf1d239f34da751167b584a57e 3 | timeCreated: 1466236768 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Output/ActiveStatusOut.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 64dd8887208f8424e9be10f9fffd0adf 3 | timeCreated: 1466217567 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Output/MaterialColorOut.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 61d57c6f568622f43a23bc942159a1e0 3 | timeCreated: 1466214863 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Output/MaterialFloatOut.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0aef7aa229e49c948894b8e81f4501f5 3 | timeCreated: 1466214304 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Output/MaterialVectorOut.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8a7472181a360924a91bfd53b8d58e9f 3 | timeCreated: 1466214863 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Output/ParticleSystemOut.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 95aed22b05183d5419bfdda57b71f73d 3 | timeCreated: 1466002183 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Output/SystemPropertyOut.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b0cc4d7c4675b9747a25443045887d44 3 | timeCreated: 1465737658 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Math/Editor/InterpolatorConfigDrawer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eb737738c6d26ed4891ed48e364e1041 3 | timeCreated: 1452747941 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Motion/Editor/BrownianMotionEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ff30deb1b277747ecb72302943759563 3 | timeCreated: 1452493920 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Motion/Editor/ConstantMotionEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6fc5aa7ff4bc94e60a8415d6b0755c76 3 | timeCreated: 1452496761 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Motion/Editor/SmoothFollowEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3975fff25a95a4a7cb28c27879976139 3 | timeCreated: 1452484574 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Basic/ColorRampEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 17e89694a84c7144694af2237ba8e36d 3 | timeCreated: 1465737938 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Basic/HSBColorEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 10a8b6e76ed666049beaa7a4113e5b23 3 | timeCreated: 1492926314 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Basic/VectorEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1afa5921262932c4d90a6b277e46979f 3 | timeCreated: 1465986607 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Filter/DelayEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eb05d5178bad4944abbfea4e5f49bb71 3 | timeCreated: 1465997730 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Filter/RepeatEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 14af1c4679d0bd54698949520dc9033f 3 | timeCreated: 1466220015 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Filter/ThresholdEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 40a5cdb5a9511f04fbca866c643803e7 3 | timeCreated: 1465737147 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Filter/ToggleEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b47451039dbe07045ba876ae02653e91 3 | timeCreated: 1465999120 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Input/AxisInputEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a4f1f7a7b2a27d542a2e7e94257c297f 3 | timeCreated: 1466236628 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Input/KeyInputEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d6c92125090a94dbc8bc75482e2243de 3 | timeCreated: 1452675658 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Input/StarterEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2a13edb66e0e9794aa43cf80ba93bcc3 3 | timeCreated: 1466219179 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Output/ColorOutEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d0081d11b6b48dd4cb422fbf65cb11c3 3 | timeCreated: 1466170572 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Output/EventOutEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 77c6b2092cb04f044869935be4b5d584 3 | timeCreated: 1466171253 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Output/FloatOutEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 78ff7d1878628f74e84e6ac919e047f8 3 | timeCreated: 1466166303 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Output/VectorOutEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9dd49a068d14ece419bfd2de7d918300 3 | timeCreated: 1466170572 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Patcher/GUIUtility.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 041c5dfb140845f4e9b93ac8e7a9632d 3 | timeCreated: 1465717625 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Patcher/NodeEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 20572f16545cfa24b9e8e17706df3cd9 3 | timeCreated: 1477229224 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Patcher/NodeFactory.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 95b77288ca7be4e4f8f6cf64a1b3df9d 3 | timeCreated: 1465516043 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Patcher/PatcherWindow.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b01b80c73951e7648804776176f2c948 3 | timeCreated: 1464153338 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/System/PatchEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b36e4ab64706d5d419398778fc5a0129 3 | timeCreated: 1465720729 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Basic/AxisRotationEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 497bc752c6670ae468800172d321f353 3 | timeCreated: 1465827352 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Basic/EulerRotationEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d24659e9eccc1dc45bb029e057d1139f 3 | timeCreated: 1465827813 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Basic/FloatAnimationEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3b00fed1cf4634847b43cff5a8379bf1 3 | timeCreated: 1466173626 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Basic/FromToVectorEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b970c588b67b45946a8b9cd176765616 3 | timeCreated: 1465825565 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Filter/BangFilterEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0dbd16654bd96b24d8b9906b6fd2f29f 3 | timeCreated: 1492926314 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Filter/FloatFilterEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d6ae5379211365447aee862ccd3e2116 3 | timeCreated: 1465829422 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Filter/FloatMixerEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ca14840dd0fe2174389852d06b062bb2 3 | timeCreated: 1452831901 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Filter/ToggleFourEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6e6d93f589a1d964bbe6c0803ff24a6b 3 | timeCreated: 1466000413 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Filter/VectorMixerEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7f13103b782f02d418cada1123059b20 3 | timeCreated: 1465916808 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Input/ButtonInputEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 68c86ae8e8c738a42be9cf54a1046f9e 3 | timeCreated: 1466236240 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Input/RandomValueEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2c12f8afc0508fc42a737a2054ed3ea6 3 | timeCreated: 1492926314 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Output/AnimatorOutEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9b9ebde81a070944aaa718acbff6a24b 3 | timeCreated: 1466086406 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Output/GenericOutEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b3c1e6d6eeac9b04085cc6614bfccdf6 3 | timeCreated: 1477278613 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Output/RotationOutEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 619e7545133105b449282afb6425af1e 3 | timeCreated: 1466170572 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Output/TransformOutEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3f8b81dc7a01f394cb47f340baf017a6 3 | timeCreated: 1452757458 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Patcher/ConnectionTools.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b8e3c1fb263eec8478743dbf3cb0ac40 3 | timeCreated: 1465295127 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Filter/FloatVectorMixerEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dbfcf5247b5437f419cfe461cddfa1aa 3 | timeCreated: 1465993609 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Filter/QuaternionMixerEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a5980e135214ecb4aa305ef7c3a34045 3 | timeCreated: 1465995582 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Input/MouseButtonInputEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 07c9f199604be8d4fa2a1a69c9b985cd 3 | timeCreated: 1466238145 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Input/MousePositionInputEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5cfdfcf308a3efa4094fd366de70adb0 3 | timeCreated: 1466237837 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Output/ActiveStatusOutEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 16f5a7a3fedb75248b4fdbdd20ae892b 3 | timeCreated: 1466217948 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Output/MaterialColorOutEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 721caad828edf8f45abfd6783429e43d 3 | timeCreated: 1466216447 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Output/MaterialFloatOutEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4cecb677d942bbd4087a0de09dfa4d89 3 | timeCreated: 1466215790 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Output/MaterialVectorOutEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 29ce341eec670474981258e3db270b2b 3 | timeCreated: 1466216446 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Output/ParticleSystemOutEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9b6875fdcc445b54281a3866a8993493 3 | timeCreated: 1466087682 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Output/SystemPropertyOutEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 56d96c8c94761694785f0ec149c8e10a 3 | timeCreated: 1465737658 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Kino/Bloom/Bloom.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6363bba448bf64e60a763433f9ddf81b 3 | timeCreated: 1445671165 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: 8 | - _shader: {fileID: 4800000, guid: 5a711a01011934ebcb58ef5ad52159d6, type: 3} 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | m_Volume: 1 7 | Rolloff Scale: 1 8 | Doppler Factor: 1 9 | Default Speaker Mode: 2 10 | m_SampleRate: 0 11 | m_DSPBufferSize: 0 12 | m_VirtualVoiceCount: 512 13 | m_RealVoiceCount: 32 14 | m_SpatializerPlugin: 15 | m_AmbisonicDecoderPlugin: 16 | m_DisableAudio: 0 17 | m_VirtualizeEffects: 1 18 | -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!159 &1 4 | EditorSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 4 7 | m_ExternalVersionControlSupport: Visible Meta Files 8 | m_SerializationMode: 2 9 | m_DefaultBehaviorMode: 0 10 | m_SpritePackerMode: 0 11 | m_SpritePackerPaddingPower: 1 12 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd 13 | m_ProjectGenerationRootNamespace: 14 | m_UserGeneratedProjectSuffix: 15 | m_CollabEditorSettings: 16 | inProgressEnabled: 1 17 | -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!78 &1 4 | TagManager: 5 | serializedVersion: 2 6 | tags: [] 7 | layers: 8 | - Default 9 | - TransparentFX 10 | - Ignore Raycast 11 | - 12 | - Water 13 | - UI 14 | - 15 | - 16 | - 17 | - 18 | - 19 | - 20 | - 21 | - 22 | - 23 | - 24 | - 25 | - 26 | - 27 | - 28 | - 29 | - 30 | - 31 | - 32 | - 33 | - 34 | - 35 | - 36 | - 37 | - 38 | - 39 | - 40 | m_SortingLayers: 41 | - name: Default 42 | uniqueID: 0 43 | locked: 0 44 | -------------------------------------------------------------------------------- /ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!55 &1 4 | PhysicsManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 3 7 | m_Gravity: {x: 0, y: -9.81, z: 0} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_BounceThreshold: 2 10 | m_SleepThreshold: 0.005 11 | m_DefaultContactOffset: 0.01 12 | m_DefaultSolverIterations: 6 13 | m_DefaultSolverVelocityIterations: 1 14 | m_QueriesHitBackfaces: 0 15 | m_QueriesHitTriggers: 1 16 | m_EnableAdaptiveForce: 0 17 | m_EnablePCM: 1 18 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 19 | m_AutoSimulation: 1 20 | -------------------------------------------------------------------------------- /Assets/Lasp/Internal/LaspTerminator.cs: -------------------------------------------------------------------------------- 1 | // LASP - Low-latency Audio Signal Processing plugin for Unity 2 | // https://github.com/keijiro/Lasp 3 | 4 | using UnityEngine; 5 | 6 | namespace Lasp 7 | { 8 | // An internal component that is used to automatically terminates the LASP 9 | // audio input stream. 10 | internal sealed class LaspTerminator : MonoBehaviour 11 | { 12 | public static void Create(System.Action callback) 13 | { 14 | var go = new GameObject("LASP Terminator (hidden)"); 15 | go.AddComponent()._callback = callback; 16 | go.hideFlags = HideFlags.HideInHierarchy; 17 | DontDestroyOnLoad(go); 18 | } 19 | 20 | System.Action _callback; 21 | 22 | void OnDestroy() 23 | { 24 | _callback(); 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!310 &1 4 | UnityConnectSettings: 5 | m_ObjectHideFlags: 0 6 | m_Enabled: 0 7 | m_TestMode: 0 8 | m_TestEventUrl: 9 | m_TestConfigUrl: 10 | m_TestInitMode: 0 11 | CrashReportingSettings: 12 | m_EventUrl: https://perf-events.cloud.unity3d.com/api/events/crashes 13 | m_Enabled: 0 14 | m_CaptureEditorExceptions: 1 15 | UnityPurchasingSettings: 16 | m_Enabled: 0 17 | m_TestMode: 0 18 | UnityAnalyticsSettings: 19 | m_Enabled: 0 20 | m_InitializeOnStartup: 1 21 | m_TestMode: 0 22 | m_TestEventUrl: 23 | m_TestConfigUrl: 24 | UnityAdsSettings: 25 | m_Enabled: 0 26 | m_InitializeOnStartup: 1 27 | m_TestMode: 0 28 | m_EnabledPlatforms: 4294967295 29 | m_IosGameId: 30 | m_AndroidGameId: 31 | m_GameIds: {} 32 | m_GameId: 33 | PerformanceReportingSettings: 34 | m_Enabled: 0 35 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Filter/BangFilter.cs: -------------------------------------------------------------------------------- 1 | // Klak - Creative coding library for Unity 2 | // https://github.com/keijiro/Klak 3 | 4 | using UnityEngine; 5 | 6 | namespace Klak.Wiring 7 | { 8 | [AddComponentMenu("Klak/Wiring/Filter/Bang Filter")] 9 | public class BangFilter : NodeBase 10 | { 11 | #region Editable properties 12 | 13 | [SerializeField] 14 | bool _state; 15 | 16 | #endregion 17 | 18 | #region Node I/O 19 | 20 | [Inlet] 21 | public void Bang() 22 | { 23 | if (_state) _bangEvent.Invoke(); 24 | } 25 | 26 | [Inlet] 27 | public void Open() 28 | { 29 | _state = true; 30 | } 31 | 32 | [Inlet] 33 | public void Close() 34 | { 35 | _state = false; 36 | } 37 | 38 | [SerializeField, Outlet] 39 | VoidEvent _bangEvent = new VoidEvent(); 40 | 41 | #endregion 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Filter/BangFilterEditor.cs: -------------------------------------------------------------------------------- 1 | // Klak - Creative coding library for Unity 2 | // https://github.com/keijiro/Klak 3 | 4 | using UnityEngine; 5 | using UnityEditor; 6 | 7 | namespace Klak.Wiring 8 | { 9 | [CanEditMultipleObjects] 10 | [CustomEditor(typeof(BangFilter))] 11 | public class BangFilterEditor : Editor 12 | { 13 | SerializedProperty _state; 14 | SerializedProperty _bangEvent; 15 | 16 | static GUIContent _textInitialState = new GUIContent("Opened"); 17 | 18 | void OnEnable() 19 | { 20 | _state = serializedObject.FindProperty("_state"); 21 | _bangEvent = serializedObject.FindProperty("_bangEvent"); 22 | } 23 | 24 | public override void OnInspectorGUI() 25 | { 26 | serializedObject.Update(); 27 | 28 | EditorGUILayout.PropertyField(_state, _textInitialState); 29 | 30 | EditorGUILayout.Space(); 31 | 32 | EditorGUILayout.PropertyField(_bangEvent); 33 | 34 | serializedObject.ApplyModifiedProperties(); 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Input/RandomValue.cs: -------------------------------------------------------------------------------- 1 | // Klak - Creative coding library for Unity 2 | // https://github.com/keijiro/Klak 3 | 4 | using UnityEngine; 5 | 6 | namespace Klak.Wiring 7 | { 8 | [AddComponentMenu("Klak/Wiring/Input/Random Value")] 9 | public class RandomValue : NodeBase 10 | { 11 | #region Editable properties 12 | 13 | [SerializeField] 14 | float _minimum = 0; 15 | 16 | [SerializeField] 17 | float _maximum = 1; 18 | 19 | [SerializeField] 20 | bool _sendOnStartUp = false; 21 | 22 | #endregion 23 | 24 | #region Node I/O 25 | 26 | [Inlet] 27 | public void Bang() 28 | { 29 | if (!enabled) return; 30 | 31 | _outputEvent.Invoke(Random.Range(_minimum, _maximum)); 32 | } 33 | 34 | [SerializeField, Outlet] 35 | FloatEvent _outputEvent = new FloatEvent(); 36 | 37 | #endregion 38 | 39 | #region MonoBehaviour functions 40 | 41 | void Start() 42 | { 43 | if (_sendOnStartUp) Bang(); 44 | } 45 | 46 | #endregion 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 Keijiro Takahashi 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Assets/Test/ParticleController.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | public class ParticleController : MonoBehaviour 4 | { 5 | public float throttle { get; set; } 6 | 7 | ParticleSystem.EmissionModule _emission; 8 | ParticleSystem.ShapeModule _shape; 9 | ParticleSystem.NoiseModule _noise; 10 | ParticleSystem.ExternalForcesModule _force; 11 | 12 | float _originalEmission; 13 | float _originalRadius; 14 | float _originalNoise; 15 | 16 | void Start() 17 | { 18 | var ps = GetComponent(); 19 | 20 | _emission = ps.emission; 21 | _originalEmission = _emission.rateOverTime.constant; 22 | 23 | _shape = ps.shape; 24 | _originalRadius = _shape.radius; 25 | 26 | _noise = ps.noise; 27 | _originalNoise = _noise.strength.constant; 28 | 29 | _force = ps.externalForces; 30 | } 31 | 32 | void Update() 33 | { 34 | _emission.rateOverTime = Mathf.Clamp01(throttle * 5) * _originalEmission; 35 | _shape.radius = throttle * _originalRadius; 36 | _noise.strength = Mathf.Clamp01(throttle + 0.5f) * _originalNoise; 37 | _force.multiplier = throttle * 2 - 1; 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Input/RandomValueEditor.cs: -------------------------------------------------------------------------------- 1 | // Klak - Creative coding library for Unity 2 | // https://github.com/keijiro/Klak 3 | 4 | using UnityEngine; 5 | using UnityEditor; 6 | 7 | namespace Klak.Wiring 8 | { 9 | [CanEditMultipleObjects] 10 | [CustomEditor(typeof(RandomValue))] 11 | public class RandomValueEditor : Editor 12 | { 13 | SerializedProperty _minimum; 14 | SerializedProperty _maximum; 15 | SerializedProperty _sendOnStartUp; 16 | SerializedProperty _outputEvent; 17 | 18 | void OnEnable() 19 | { 20 | _minimum = serializedObject.FindProperty("_minimum"); 21 | _maximum = serializedObject.FindProperty("_maximum"); 22 | _sendOnStartUp = serializedObject.FindProperty("_sendOnStartUp"); 23 | _outputEvent = serializedObject.FindProperty("_outputEvent"); 24 | } 25 | 26 | public override void OnInspectorGUI() 27 | { 28 | serializedObject.Update(); 29 | 30 | EditorGUILayout.PropertyField(_minimum); 31 | EditorGUILayout.PropertyField(_maximum); 32 | EditorGUILayout.PropertyField(_sendOnStartUp); 33 | 34 | EditorGUILayout.Space(); 35 | 36 | EditorGUILayout.PropertyField(_outputEvent); 37 | 38 | serializedObject.ApplyModifiedProperties(); 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /Assets/Lasp/Internal/macOS/Lasp.bundle/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildMachineOSBuild 6 | 16F73 7 | CFBundleDevelopmentRegion 8 | en 9 | CFBundleExecutable 10 | Lasp 11 | CFBundleIdentifier 12 | jp.keijiro.Lasp 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | Lasp 17 | CFBundlePackageType 18 | BNDL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSupportedPlatforms 22 | 23 | MacOSX 24 | 25 | CFBundleVersion 26 | 1 27 | DTCompiler 28 | com.apple.compilers.llvm.clang.1_0 29 | DTPlatformBuild 30 | 8E3004b 31 | DTPlatformVersion 32 | GM 33 | DTSDKBuild 34 | 16E185 35 | DTSDKName 36 | macosx10.12 37 | DTXcode 38 | 0833 39 | DTXcodeBuild 40 | 8E3004b 41 | NSHumanReadableCopyright 42 | Copyright © 2017 Keijiro Takahashi. All rights reserved. 43 | 44 | 45 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/System/Patch.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | 26 | namespace Klak.Wiring 27 | { 28 | public class Patch : MonoBehaviour 29 | { 30 | [SerializeField, HideInInspector] 31 | public bool _wiringSelected; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Output/ColorOutEditor.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | using UnityEditor; 26 | 27 | namespace Klak.Wiring 28 | { 29 | [CustomEditor(typeof(ColorOut))] 30 | public class ColorOutEditor : GenericOutEditor 31 | { 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Output/FloatOutEditor.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | using UnityEditor; 26 | 27 | namespace Klak.Wiring 28 | { 29 | [CustomEditor(typeof(FloatOut))] 30 | public class FloatOutEditor : GenericOutEditor 31 | { 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Output/VectorOutEditor.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | using UnityEditor; 26 | 27 | namespace Klak.Wiring 28 | { 29 | [CustomEditor(typeof(VectorOut))] 30 | public class VectorOutEditor : GenericOutEditor 31 | { 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Output/RotationOutEditor.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | using UnityEditor; 26 | 27 | namespace Klak.Wiring 28 | { 29 | [CustomEditor(typeof(RotationOut))] 30 | public class RotaionOutEditor : GenericOutEditor 31 | { 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!19 &1 4 | Physics2DSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 3 7 | m_Gravity: {x: 0, y: -9.81} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_VelocityIterations: 8 10 | m_PositionIterations: 3 11 | m_VelocityThreshold: 1 12 | m_MaxLinearCorrection: 0.2 13 | m_MaxAngularCorrection: 8 14 | m_MaxTranslationSpeed: 100 15 | m_MaxRotationSpeed: 360 16 | m_BaumgarteScale: 0.2 17 | m_BaumgarteTimeOfImpactScale: 0.75 18 | m_TimeToSleep: 0.5 19 | m_LinearSleepTolerance: 0.01 20 | m_AngularSleepTolerance: 2 21 | m_DefaultContactOffset: 0.01 22 | m_AutoSimulation: 1 23 | m_QueriesHitTriggers: 1 24 | m_QueriesStartInColliders: 1 25 | m_ChangeStopsCallbacks: 0 26 | m_CallbacksOnDisable: 1 27 | m_AlwaysShowColliders: 0 28 | m_ShowColliderSleep: 1 29 | m_ShowColliderContacts: 0 30 | m_ShowColliderAABB: 0 31 | m_ContactArrowScale: 0.2 32 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} 33 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} 34 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} 35 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} 36 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 37 | -------------------------------------------------------------------------------- /Assets/Lasp/Internal/FilterBlock.cs: -------------------------------------------------------------------------------- 1 | // LASP - Low-latency Audio Signal Processing plugin for Unity 2 | // https://github.com/keijiro/Lasp 3 | 4 | using UnityEngine; 5 | 6 | namespace Lasp 7 | { 8 | // FilterBlock class that is used to cache results from a specific filter 9 | // block (single band in a filter bank). 10 | internal sealed class FilterBlock 11 | { 12 | FilterType _filter; 13 | LaspStream _stream; 14 | 15 | float _peak; 16 | bool _peakUpdated; 17 | 18 | public float peak 19 | { 20 | get 21 | { 22 | if (!_peakUpdated) 23 | { 24 | _peak = _stream.GetPeakLevel(_filter, Time.deltaTime); 25 | _peakUpdated = true; 26 | } 27 | return _peak; 28 | } 29 | } 30 | 31 | float _rms; 32 | bool _rmsUpdated; 33 | 34 | public float rms 35 | { 36 | get 37 | { 38 | if (!_rmsUpdated) 39 | { 40 | _rms = _stream.CalculateRMS(_filter, Time.deltaTime); 41 | _rmsUpdated = true; 42 | } 43 | return _rms; 44 | } 45 | } 46 | 47 | public FilterBlock(FilterType filter, LaspStream stream) 48 | { 49 | _filter = filter; 50 | _stream = stream; 51 | } 52 | 53 | public void InvalidateState() 54 | { 55 | _peakUpdated = _rmsUpdated = false; 56 | } 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Output/SystemPropertyOutEditor.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | using UnityEditor; 26 | 27 | namespace Klak.Wiring 28 | { 29 | [CanEditMultipleObjects] 30 | [CustomEditor(typeof(SystemPropertyOut))] 31 | public class SystemPropertyOutEditor : Editor 32 | { 33 | public override void OnInspectorGUI() 34 | { 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Math/BasicMath.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | 26 | namespace Klak.Math 27 | { 28 | static class BasicMath 29 | { 30 | public static float Lerp(float a, float b, float mix) 31 | { 32 | return a * (1 - mix) + b * mix; 33 | } 34 | public static Vector3 Lerp(Vector3 a, Vector3 b, float mix) 35 | { 36 | return a * (1 - mix) + b * mix; 37 | } 38 | } 39 | } 40 | 41 | -------------------------------------------------------------------------------- /ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshProjectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | areas: 8 | - name: Walkable 9 | cost: 1 10 | - name: Not Walkable 11 | cost: 1 12 | - name: Jump 13 | cost: 2 14 | - name: 15 | cost: 1 16 | - name: 17 | cost: 1 18 | - name: 19 | cost: 1 20 | - name: 21 | cost: 1 22 | - name: 23 | cost: 1 24 | - name: 25 | cost: 1 26 | - name: 27 | cost: 1 28 | - name: 29 | cost: 1 30 | - name: 31 | cost: 1 32 | - name: 33 | cost: 1 34 | - name: 35 | cost: 1 36 | - name: 37 | cost: 1 38 | - name: 39 | cost: 1 40 | - name: 41 | cost: 1 42 | - name: 43 | cost: 1 44 | - name: 45 | cost: 1 46 | - name: 47 | cost: 1 48 | - name: 49 | cost: 1 50 | - name: 51 | cost: 1 52 | - name: 53 | cost: 1 54 | - name: 55 | cost: 1 56 | - name: 57 | cost: 1 58 | - name: 59 | cost: 1 60 | - name: 61 | cost: 1 62 | - name: 63 | cost: 1 64 | - name: 65 | cost: 1 66 | - name: 67 | cost: 1 68 | - name: 69 | cost: 1 70 | - name: 71 | cost: 1 72 | m_LastAgentTypeID: -887442657 73 | m_Settings: 74 | - serializedVersion: 2 75 | agentTypeID: 0 76 | agentRadius: 0.5 77 | agentHeight: 2 78 | agentSlope: 45 79 | agentClimb: 0.75 80 | ledgeDropHeight: 0 81 | maxJumpAcrossDistance: 0 82 | minRegionArea: 2 83 | manualCellSize: 0 84 | cellSize: 0.16666667 85 | manualTileSize: 0 86 | tileSize: 256 87 | accuratePlacement: 0 88 | m_SettingNames: 89 | - Humanoid 90 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Filter/FloatVectorMixerEditor.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | using UnityEditor; 26 | 27 | namespace Klak.Wiring 28 | { 29 | [CanEditMultipleObjects] 30 | [CustomEditor(typeof(FloatVectorMix))] 31 | public class FloatVectorMixEditor : Editor 32 | { 33 | public override void OnInspectorGUI() 34 | { 35 | EditorGUILayout.HelpBox( 36 | "Output = VectorInput * FloatInput", 37 | MessageType.None, true 38 | ); 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Input/Starter.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | 26 | namespace Klak.Wiring 27 | { 28 | [AddComponentMenu("Klak/Wiring/Input/Starter")] 29 | public class Starter : NodeBase 30 | { 31 | #region Node I/O 32 | 33 | [SerializeField, Outlet] 34 | VoidEvent _onStartEvent = new VoidEvent(); 35 | 36 | #endregion 37 | 38 | #region MonoBehaviour functions 39 | 40 | void Start() 41 | { 42 | _onStartEvent.Invoke(); 43 | } 44 | 45 | #endregion 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Filter/QuaternionMixerEditor.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | using UnityEditor; 26 | 27 | namespace Klak.Wiring 28 | { 29 | [CanEditMultipleObjects] 30 | [CustomEditor(typeof(RotationMix))] 31 | public class RotationMixEditor : Editor 32 | { 33 | public override void OnInspectorGUI() 34 | { 35 | EditorGUILayout.HelpBox( 36 | "Take the rotation state of Input and apply a rotation of Modulation.", 37 | MessageType.None, true 38 | ); 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Output/EventOut.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | using System.Reflection; 26 | 27 | namespace Klak.Wiring 28 | { 29 | [AddComponentMenu("Klak/Wiring/Output/Generic/Event Out")] 30 | public class EventOut : NodeBase 31 | { 32 | #region Editable properties 33 | 34 | [SerializeField] 35 | VoidEvent _event; 36 | 37 | #endregion 38 | 39 | #region Node I/O 40 | 41 | [Inlet] 42 | public void Bang() 43 | { 44 | _event.Invoke(); 45 | } 46 | 47 | #endregion 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Basic/EulerRotation.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | 26 | namespace Klak.Wiring 27 | { 28 | [AddComponentMenu("Klak/Wiring/Convertion/Euler Rotation")] 29 | public class EulerRotation : NodeBase 30 | { 31 | #region Node I/O 32 | 33 | [Inlet] 34 | public Vector3 eulerAngles { 35 | set { 36 | if (!enabled) return; 37 | _rotationEvent.Invoke(Quaternion.Euler(value)); 38 | } 39 | } 40 | 41 | [SerializeField, Outlet] 42 | QuaternionEvent _rotationEvent = new QuaternionEvent(); 43 | 44 | #endregion 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Basic/HSBColorEditor.cs: -------------------------------------------------------------------------------- 1 | // Klak - Creative coding library for Unity 2 | // https://github.com/keijiro/Klak 3 | 4 | using UnityEngine; 5 | using UnityEditor; 6 | 7 | namespace Klak.Wiring 8 | { 9 | [CanEditMultipleObjects] 10 | [CustomEditor(typeof(HSBColor))] 11 | public class HSBColorEditor : Editor 12 | { 13 | SerializedProperty _hue; 14 | SerializedProperty _saturation; 15 | SerializedProperty _brightness; 16 | SerializedProperty _alpha; 17 | SerializedProperty _colorEvent; 18 | 19 | static GUIContent _textHue = new GUIContent("Initial Hue"); 20 | static GUIContent _textSaturation = new GUIContent("Initial Saturation"); 21 | static GUIContent _textBrightness = new GUIContent("Initial Brightness"); 22 | static GUIContent _textAlpha = new GUIContent("Initial Alpha"); 23 | 24 | void OnEnable() 25 | { 26 | _hue = serializedObject.FindProperty("_hue"); 27 | _saturation = serializedObject.FindProperty("_saturation"); 28 | _brightness = serializedObject.FindProperty("_brightness"); 29 | _alpha = serializedObject.FindProperty("_alpha"); 30 | _colorEvent = serializedObject.FindProperty("_colorEvent"); 31 | } 32 | 33 | public override void OnInspectorGUI() 34 | { 35 | serializedObject.Update(); 36 | 37 | EditorGUILayout.PropertyField(_hue, _textHue); 38 | EditorGUILayout.PropertyField(_saturation, _textSaturation); 39 | EditorGUILayout.PropertyField(_brightness, _textBrightness); 40 | EditorGUILayout.PropertyField(_alpha, _textAlpha); 41 | 42 | EditorGUILayout.Space(); 43 | 44 | EditorGUILayout.PropertyField(_colorEvent); 45 | 46 | serializedObject.ApplyModifiedProperties(); 47 | } 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Input/StarterEditor.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | using UnityEditor; 26 | 27 | namespace Klak.Wiring 28 | { 29 | [CanEditMultipleObjects] 30 | [CustomEditor(typeof(Starter))] 31 | public class StarterEditor : Editor 32 | { 33 | SerializedProperty _onStartEvent; 34 | 35 | void OnEnable() 36 | { 37 | _onStartEvent = serializedObject.FindProperty("_onStartEvent"); 38 | } 39 | 40 | public override void OnInspectorGUI() 41 | { 42 | serializedObject.Update(); 43 | 44 | EditorGUILayout.PropertyField(_onStartEvent); 45 | 46 | serializedObject.ApplyModifiedProperties(); 47 | } 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Basic/HSBColor.cs: -------------------------------------------------------------------------------- 1 | // Klak - Creative coding library for Unity 2 | // https://github.com/keijiro/Klak 3 | 4 | using UnityEngine; 5 | 6 | namespace Klak.Wiring 7 | { 8 | [AddComponentMenu("Klak/Wiring/Convertion/HSB Color")] 9 | public class HSBColor : NodeBase 10 | { 11 | #region Editable properties 12 | 13 | [SerializeField, Range(0, 1)] 14 | float _hue = 0; 15 | 16 | [SerializeField, Range(0, 1)] 17 | float _saturation = 1; 18 | 19 | [SerializeField] 20 | float _brightness = 1; 21 | 22 | [SerializeField] 23 | float _alpha = 1; 24 | 25 | #endregion 26 | 27 | #region Node I/O 28 | 29 | [Inlet] 30 | public float hue { 31 | set { 32 | _hue = value; 33 | if (enabled) UpdateAndInvoke(); 34 | } 35 | } 36 | 37 | [Inlet] 38 | public float saturation { 39 | set { 40 | _saturation = value; 41 | if (enabled) UpdateAndInvoke(); 42 | } 43 | } 44 | 45 | [Inlet] 46 | public float brightness { 47 | set { 48 | _brightness = value; 49 | if (enabled) UpdateAndInvoke(); 50 | } 51 | } 52 | 53 | [Inlet] 54 | public float alpha { 55 | set { 56 | _alpha = value; 57 | if (enabled) UpdateAndInvoke(); 58 | } 59 | } 60 | 61 | [SerializeField, Outlet] 62 | ColorEvent _colorEvent = new ColorEvent(); 63 | 64 | #endregion 65 | 66 | #region Private members 67 | 68 | void UpdateAndInvoke() 69 | { 70 | var hue = _hue - Mathf.Floor(_hue); 71 | var c = Color.HSVToRGB(hue, _saturation, _brightness); 72 | c.a = _alpha; 73 | _colorEvent.Invoke(c); 74 | } 75 | 76 | #endregion 77 | } 78 | } 79 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Basic/EulerRotationEditor.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | using UnityEditor; 26 | 27 | namespace Klak.Wiring 28 | { 29 | [CanEditMultipleObjects] 30 | [CustomEditor(typeof(EulerRotation))] 31 | public class EulerRotationEditor : Editor 32 | { 33 | SerializedProperty _rotationEvent; 34 | 35 | void OnEnable() 36 | { 37 | _rotationEvent = serializedObject.FindProperty("_rotationEvent"); 38 | } 39 | 40 | public override void OnInspectorGUI() 41 | { 42 | serializedObject.Update(); 43 | 44 | EditorGUILayout.PropertyField(_rotationEvent); 45 | 46 | serializedObject.ApplyModifiedProperties(); 47 | } 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Basic/Vector.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | 26 | namespace Klak.Wiring 27 | { 28 | [AddComponentMenu("Klak/Wiring/Convertion/Vector")] 29 | public class Vector : NodeBase 30 | { 31 | #region Editable properties 32 | 33 | [SerializeField] 34 | Vector3 _baseVector = Vector3.up; 35 | 36 | #endregion 37 | 38 | #region Node I/O 39 | 40 | [Inlet] 41 | public float scale { 42 | set { 43 | if (!enabled) return; 44 | _vectorEvent.Invoke(_baseVector * value); 45 | } 46 | } 47 | 48 | [SerializeField, Outlet] 49 | Vector3Event _vectorEvent = new Vector3Event(); 50 | 51 | #endregion 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Output/ParticleSystemOutEditor.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | using UnityEditor; 26 | 27 | namespace Klak.Wiring 28 | { 29 | [CanEditMultipleObjects] 30 | [CustomEditor(typeof(ParticleSystemOut))] 31 | public class ParticleSystemEditor : Editor 32 | { 33 | SerializedProperty _particleSystem; 34 | 35 | void OnEnable() 36 | { 37 | _particleSystem = serializedObject.FindProperty("_particleSystem"); 38 | } 39 | 40 | public override void OnInspectorGUI() 41 | { 42 | serializedObject.Update(); 43 | 44 | EditorGUILayout.PropertyField(_particleSystem); 45 | 46 | serializedObject.ApplyModifiedProperties(); 47 | } 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/System/PatchEditor.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | using UnityEditor; 26 | 27 | namespace Klak.Wiring 28 | { 29 | [CanEditMultipleObjects] 30 | [CustomEditor(typeof(Patch))] 31 | public class PatchEditor : Editor 32 | { 33 | [MenuItem("GameObject/Klak/Patch", false, 10)] 34 | static void CreatePatch() 35 | { 36 | var go = new GameObject("Patch"); 37 | go.AddComponent(); 38 | Selection.activeGameObject = go; 39 | } 40 | 41 | public override void OnInspectorGUI() 42 | { 43 | if (GUILayout.Button("Open Patcher", "LargeButton")) 44 | Patcher.PatcherWindow.OpenPatch((Patch)target); 45 | } 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Output/EventOutEditor.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | using UnityEditor; 26 | using System; 27 | using System.Reflection; 28 | using System.Collections.Generic; 29 | using System.Linq; 30 | 31 | namespace Klak.Wiring 32 | { 33 | [CustomEditor(typeof(EventOut))] 34 | public class EventOutEditor : Editor 35 | { 36 | SerializedProperty _event; 37 | 38 | void OnEnable() 39 | { 40 | _event = serializedObject.FindProperty("_event"); 41 | } 42 | 43 | public override void OnInspectorGUI() 44 | { 45 | serializedObject.Update(); 46 | 47 | EditorGUILayout.PropertyField(_event); 48 | 49 | serializedObject.ApplyModifiedProperties(); 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Extension/VectorMathExtension.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | 26 | namespace Klak.VectorMathExtension 27 | { 28 | /// Extension methods for Vector4 29 | static class Vector4Extension 30 | { 31 | public static Quaternion ToQuaternion(this Vector4 v) 32 | { 33 | return new Quaternion(v.x, v.y, v.z, v.w); 34 | } 35 | 36 | public static Quaternion ToNormalizedQuaternion(this Vector4 v) 37 | { 38 | v = Vector4.Normalize(v); 39 | return new Quaternion(v.x, v.y, v.z, v.w); 40 | } 41 | } 42 | 43 | /// Extension methods for Quaternion 44 | static class QuaternionExtension 45 | { 46 | public static Vector4 ToVector4(this Quaternion q) 47 | { 48 | return new Vector4(q.x, q.y, q.z, q.w); 49 | } 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Output/AnimatorOut.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | 26 | namespace Klak.Wiring 27 | { 28 | [AddComponentMenu("Klak/Wiring/Output/Component/Animator Out")] 29 | public class AnimatorOut : NodeBase 30 | { 31 | #region Editable properties 32 | 33 | [SerializeField] 34 | Animator _animator; 35 | 36 | [SerializeField] 37 | string _changeStateTo; 38 | 39 | #endregion 40 | 41 | #region Node I/O 42 | 43 | [Inlet] 44 | public float speed { 45 | set { 46 | if (!enabled || _animator == null) return; 47 | _animator.speed = value; 48 | } 49 | } 50 | 51 | [Inlet] 52 | public void ChangeState() 53 | { 54 | _animator.Play(_changeStateTo); 55 | } 56 | 57 | #endregion 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Output/AnimatorOutEditor.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | using UnityEditor; 26 | 27 | namespace Klak.Wiring 28 | { 29 | [CanEditMultipleObjects] 30 | [CustomEditor(typeof(AnimatorOut))] 31 | public class AnimatorEditor : Editor 32 | { 33 | SerializedProperty _animator; 34 | SerializedProperty _changeStateTo; 35 | 36 | void OnEnable() 37 | { 38 | _animator = serializedObject.FindProperty("_animator"); 39 | _changeStateTo = serializedObject.FindProperty("_changeStateTo"); 40 | } 41 | 42 | public override void OnInspectorGUI() 43 | { 44 | serializedObject.Update(); 45 | 46 | EditorGUILayout.PropertyField(_animator); 47 | EditorGUILayout.PropertyField(_changeStateTo); 48 | 49 | serializedObject.ApplyModifiedProperties(); 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /Assets/Test/Puff.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a17852d8283fe1e40a24457fec861faa 3 | timeCreated: 1500388576 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 4 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | sRGBTexture: 1 12 | linearTexture: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapsPreserveCoverage: 0 16 | alphaTestReferenceValue: 0.5 17 | mipMapFadeDistanceStart: 1 18 | mipMapFadeDistanceEnd: 3 19 | bumpmap: 20 | convertToNormalMap: 0 21 | externalNormalMap: 0 22 | heightScale: 0.25 23 | normalMapFilter: 0 24 | isReadable: 0 25 | grayScaleToAlpha: 0 26 | generateCubemap: 6 27 | cubemapConvolution: 0 28 | seamlessCubemap: 0 29 | textureFormat: 1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | serializedVersion: 2 33 | filterMode: -1 34 | aniso: -1 35 | mipBias: -1 36 | wrapU: -1 37 | wrapV: -1 38 | wrapW: -1 39 | nPOTScale: 1 40 | lightmap: 0 41 | compressionQuality: 50 42 | spriteMode: 0 43 | spriteExtrude: 1 44 | spriteMeshType: 1 45 | alignment: 0 46 | spritePivot: {x: 0.5, y: 0.5} 47 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 48 | spritePixelsToUnits: 100 49 | alphaUsage: 1 50 | alphaIsTransparency: 1 51 | spriteTessellationDetail: -1 52 | textureType: 0 53 | textureShape: 1 54 | maxTextureSizeSet: 0 55 | compressionQualitySet: 0 56 | textureFormatSet: 0 57 | platformSettings: 58 | - buildTarget: DefaultTexturePlatform 59 | maxTextureSize: 2048 60 | textureFormat: -1 61 | textureCompression: 1 62 | compressionQuality: 50 63 | crunchedCompression: 0 64 | allowsAlphaSplitting: 0 65 | overridden: 0 66 | - buildTarget: Standalone 67 | maxTextureSize: 2048 68 | textureFormat: -1 69 | textureCompression: 1 70 | compressionQuality: 50 71 | crunchedCompression: 0 72 | allowsAlphaSplitting: 0 73 | overridden: 0 74 | spriteSheet: 75 | serializedVersion: 2 76 | sprites: [] 77 | outline: [] 78 | physicsShape: [] 79 | spritePackingTag: 80 | userData: 81 | assetBundleName: 82 | assetBundleVariant: 83 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Basic/FromToVector.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | using Klak.Math; 26 | 27 | namespace Klak.Wiring 28 | { 29 | [AddComponentMenu("Klak/Wiring/Convertion/From To Vector")] 30 | public class FromToVector : NodeBase 31 | { 32 | #region Editable properties 33 | 34 | [SerializeField] 35 | Vector3 _fromVector = Vector3.zero; 36 | 37 | [SerializeField] 38 | Vector3 _toVector = Vector3.up; 39 | 40 | #endregion 41 | 42 | #region Node I/O 43 | 44 | [Inlet] 45 | public float parameter { 46 | set { 47 | if (!enabled) return; 48 | var v = BasicMath.Lerp(_fromVector, _toVector, value); 49 | _vectorEvent.Invoke(v); 50 | } 51 | } 52 | 53 | [SerializeField, Outlet] 54 | Vector3Event _vectorEvent = new Vector3Event(); 55 | 56 | #endregion 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Output/TransformOutEditor.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | using UnityEditor; 26 | 27 | namespace Klak.Wiring 28 | { 29 | [CanEditMultipleObjects] 30 | [CustomEditor(typeof(TransformOut))] 31 | public class TransformOutEditor : Editor 32 | { 33 | SerializedProperty _targetTransform; 34 | SerializedProperty _addToOriginal; 35 | 36 | void OnEnable() 37 | { 38 | _targetTransform = serializedObject.FindProperty("_targetTransform"); 39 | _addToOriginal = serializedObject.FindProperty("_addToOriginal"); 40 | } 41 | 42 | public override void OnInspectorGUI() 43 | { 44 | serializedObject.Update(); 45 | 46 | EditorGUILayout.PropertyField(_targetTransform); 47 | EditorGUILayout.PropertyField(_addToOriginal); 48 | 49 | serializedObject.ApplyModifiedProperties(); 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Basic/VectorEditor.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | using UnityEditor; 26 | 27 | namespace Klak.Wiring 28 | { 29 | [CanEditMultipleObjects] 30 | [CustomEditor(typeof(Vector))] 31 | public class VectorEditor : Editor 32 | { 33 | SerializedProperty _baseVector; 34 | SerializedProperty _vectorEvent; 35 | 36 | void OnEnable() 37 | { 38 | _baseVector = serializedObject.FindProperty("_baseVector"); 39 | _vectorEvent = serializedObject.FindProperty("_vectorEvent"); 40 | } 41 | 42 | public override void OnInspectorGUI() 43 | { 44 | serializedObject.Update(); 45 | 46 | EditorGUILayout.PropertyField(_baseVector); 47 | 48 | EditorGUILayout.Space(); 49 | 50 | EditorGUILayout.PropertyField(_vectorEvent); 51 | 52 | serializedObject.ApplyModifiedProperties(); 53 | } 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /Assets/Lasp/Internal/LaspStream.cs: -------------------------------------------------------------------------------- 1 | // LASP - Low-latency Audio Signal Processing plugin for Unity 2 | // https://github.com/keijiro/Lasp 3 | 4 | using System; 5 | 6 | namespace Lasp 7 | { 8 | // LASP input stream class 9 | // 10 | // NOTE: Even though the unmanaged resources are automatically disposed 11 | // by the finalizer, it's strongly recommended to explicitly call Dispose() 12 | // from owner because the finalizer is not necessarily invoked in the main 13 | // thread and the driver resources may not be correctly released from non- 14 | // main threads. Calling Dispose() is the safest way to clean things up. 15 | public class LaspStream : IDisposable 16 | { 17 | public LaspStream() 18 | { 19 | PluginEntry.SetupLogger(); 20 | _driver = PluginEntry.CreateDriver(); 21 | } 22 | 23 | ~LaspStream() 24 | { 25 | Dispose(false); 26 | } 27 | 28 | public void Dispose() 29 | { 30 | Dispose(true); 31 | GC.SuppressFinalize(this); 32 | } 33 | 34 | protected virtual void Dispose(bool disposing) 35 | { 36 | if (_driver != IntPtr.Zero) 37 | { 38 | PluginEntry.DeleteDriver(_driver); 39 | _driver = IntPtr.Zero; 40 | } 41 | } 42 | 43 | public bool Open() 44 | { 45 | return PluginEntry.OpenStream(_driver); 46 | } 47 | 48 | public void Close() 49 | { 50 | PluginEntry.CloseStream(_driver); 51 | } 52 | 53 | public float GetPeakLevel(FilterType filter, float duration) 54 | { 55 | return PluginEntry.GetPeakLevel(_driver, filter, duration); 56 | } 57 | 58 | public float CalculateRMS(FilterType filter, float duration) 59 | { 60 | return PluginEntry.CalculateRMS(_driver, filter, duration); 61 | } 62 | 63 | public int RetrieveWaveform(FilterType filter, float[] dest, int length) 64 | { 65 | return PluginEntry.RetrieveWaveform(_driver, filter, dest, length); 66 | } 67 | 68 | System.IntPtr _driver; 69 | } 70 | } 71 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Filter/FloatMixerEditor.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | using UnityEditor; 26 | 27 | namespace Klak.Wiring 28 | { 29 | [CanEditMultipleObjects] 30 | [CustomEditor(typeof(FloatMix))] 31 | public class FloatMixEditor : Editor 32 | { 33 | SerializedProperty _modulationType; 34 | SerializedProperty _outputEvent; 35 | 36 | void OnEnable() 37 | { 38 | _modulationType = serializedObject.FindProperty("_modulationType"); 39 | _outputEvent = serializedObject.FindProperty("_outputEvent"); 40 | } 41 | 42 | public override void OnInspectorGUI() 43 | { 44 | serializedObject.Update(); 45 | 46 | EditorGUILayout.PropertyField(_modulationType); 47 | 48 | EditorGUILayout.Space(); 49 | 50 | EditorGUILayout.PropertyField(_outputEvent); 51 | 52 | serializedObject.ApplyModifiedProperties(); 53 | } 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Filter/VectorMixerEditor.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | using UnityEditor; 26 | 27 | namespace Klak.Wiring 28 | { 29 | [CanEditMultipleObjects] 30 | [CustomEditor(typeof(VectorMix))] 31 | public class VectorMixEditor : Editor 32 | { 33 | SerializedProperty _modulationType; 34 | SerializedProperty _outputEvent; 35 | 36 | void OnEnable() 37 | { 38 | _modulationType = serializedObject.FindProperty("_modulationType"); 39 | _outputEvent = serializedObject.FindProperty("_outputEvent"); 40 | } 41 | 42 | public override void OnInspectorGUI() 43 | { 44 | serializedObject.Update(); 45 | 46 | EditorGUILayout.PropertyField(_modulationType); 47 | 48 | EditorGUILayout.Space(); 49 | 50 | EditorGUILayout.PropertyField(_outputEvent); 51 | 52 | serializedObject.ApplyModifiedProperties(); 53 | } 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Basic/AxisRotation.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | 26 | namespace Klak.Wiring 27 | { 28 | [AddComponentMenu("Klak/Wiring/Convertion/Axis Rotation")] 29 | public class AxisRotation : NodeBase 30 | { 31 | #region Editable properties 32 | 33 | [SerializeField] 34 | Vector3 _rotationAxis = Vector3.up; 35 | 36 | [SerializeField] 37 | float _angleMultiplier = 90.0f; 38 | 39 | #endregion 40 | 41 | #region Node I/O 42 | 43 | [Inlet] 44 | public float angle { 45 | set { 46 | if (!enabled) return; 47 | 48 | var angle = value * _angleMultiplier; 49 | var rotation = Quaternion.AngleAxis(angle, _rotationAxis); 50 | 51 | _rotationEvent.Invoke(rotation); 52 | } 53 | } 54 | 55 | [SerializeField, Outlet] 56 | QuaternionEvent _rotationEvent = new QuaternionEvent(); 57 | 58 | #endregion 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Patcher/Styles.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | using UnityEditor; 26 | using Graphs = UnityEditor.Graphs; 27 | 28 | namespace Klak.Wiring.Patcher 29 | { 30 | // Custom editor styles 31 | public static class Styles 32 | { 33 | static GUIStyle _pinIn; 34 | 35 | public static GUIStyle pinIn 36 | { 37 | get { 38 | if (_pinIn == null) { 39 | _pinIn = new GUIStyle(Graphs.Styles.triggerPinIn); 40 | _pinIn.stretchWidth = false; 41 | } 42 | return _pinIn; 43 | } 44 | } 45 | 46 | static GUIStyle _pinOut; 47 | 48 | public static GUIStyle pinOut 49 | { 50 | get { 51 | if (_pinOut == null) { 52 | _pinOut = new GUIStyle(Graphs.Styles.triggerPinOut); 53 | _pinOut.stretchWidth = false; 54 | } 55 | return _pinOut; 56 | } 57 | } 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Filter/RepeatEditor.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | using UnityEditor; 26 | 27 | namespace Klak.Wiring 28 | { 29 | [CanEditMultipleObjects] 30 | [CustomEditor(typeof(Repeat))] 31 | public class RepeatEditor : Editor 32 | { 33 | SerializedProperty _repeatCount; 34 | SerializedProperty _interval; 35 | SerializedProperty _outputEvent; 36 | 37 | void OnEnable() 38 | { 39 | _repeatCount = serializedObject.FindProperty("_repeatCount"); 40 | _interval = serializedObject.FindProperty("_interval"); 41 | _outputEvent = serializedObject.FindProperty("_outputEvent"); 42 | } 43 | 44 | public override void OnInspectorGUI() 45 | { 46 | serializedObject.Update(); 47 | 48 | EditorGUILayout.PropertyField(_repeatCount); 49 | EditorGUILayout.PropertyField(_interval); 50 | EditorGUILayout.PropertyField(_outputEvent); 51 | 52 | serializedObject.ApplyModifiedProperties(); 53 | } 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Input/AxisInput.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | using Klak.Math; 26 | 27 | namespace Klak.Wiring 28 | { 29 | [AddComponentMenu("Klak/Wiring/Input/Axis Input")] 30 | public class AxisInput : NodeBase 31 | { 32 | #region Editable properties 33 | 34 | [SerializeField] 35 | string _axisName = "Horizontal"; 36 | 37 | [SerializeField] 38 | FloatInterpolator.Config _interpolator; 39 | 40 | #endregion 41 | 42 | #region Node I/O 43 | 44 | [SerializeField, Outlet] 45 | FloatEvent _valueEvent = new FloatEvent(); 46 | 47 | #endregion 48 | 49 | #region MonoBehaviour functions 50 | 51 | FloatInterpolator _axisValue; 52 | 53 | void Start() 54 | { 55 | _axisValue = new FloatInterpolator(0, _interpolator); 56 | } 57 | 58 | void Update() 59 | { 60 | _axisValue.targetValue = Input.GetAxis(_axisName); 61 | _valueEvent.Invoke(_axisValue.Step()); 62 | } 63 | 64 | #endregion 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Filter/DelayEditor.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | using UnityEditor; 26 | 27 | namespace Klak.Wiring 28 | { 29 | [CanEditMultipleObjects] 30 | [CustomEditor(typeof(Delay))] 31 | public class DelayEditor : Editor 32 | { 33 | SerializedProperty _timeUnit; 34 | SerializedProperty _interval; 35 | SerializedProperty _outputEvent; 36 | 37 | void OnEnable() 38 | { 39 | _timeUnit = serializedObject.FindProperty("_timeUnit"); 40 | _interval = serializedObject.FindProperty("_interval"); 41 | _outputEvent = serializedObject.FindProperty("_outputEvent"); 42 | } 43 | 44 | public override void OnInspectorGUI() 45 | { 46 | serializedObject.Update(); 47 | 48 | EditorGUILayout.PropertyField(_timeUnit); 49 | EditorGUILayout.PropertyField(_interval); 50 | 51 | EditorGUILayout.Space(); 52 | 53 | EditorGUILayout.PropertyField(_outputEvent); 54 | 55 | serializedObject.ApplyModifiedProperties(); 56 | } 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Filter/Repeat.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | using System.Collections; 26 | 27 | namespace Klak.Wiring 28 | { 29 | [AddComponentMenu("Klak/Wiring/Switching/Repeat")] 30 | public class Repeat : NodeBase 31 | { 32 | #region Editable properties 33 | 34 | [SerializeField] 35 | int _repeatCount = 3; 36 | 37 | [SerializeField] 38 | float _interval = 0.5f; 39 | 40 | #endregion 41 | 42 | #region Node I/O 43 | 44 | [Inlet] 45 | public void Trigger() 46 | { 47 | StartCoroutine(InvokeRepeatedly()); 48 | } 49 | 50 | [SerializeField, Outlet] 51 | VoidEvent _outputEvent = new VoidEvent(); 52 | 53 | #endregion 54 | 55 | #region Private members 56 | 57 | IEnumerator InvokeRepeatedly() 58 | { 59 | for (var i = 0; i < _repeatCount ; i++) 60 | { 61 | _outputEvent.Invoke(); 62 | yield return new WaitForSeconds(_interval); 63 | } 64 | } 65 | 66 | #endregion 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Output/MaterialColorOut.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | using System.Reflection; 26 | 27 | namespace Klak.Wiring 28 | { 29 | [AddComponentMenu("Klak/Wiring/Output/Renderer/Material Color Out")] 30 | public class MaterialColorOut : NodeBase 31 | { 32 | #region Editable properties 33 | 34 | [SerializeField] 35 | Renderer _target; 36 | 37 | [SerializeField] 38 | string _propertyName; 39 | 40 | #endregion 41 | 42 | #region Node I/O 43 | 44 | [Inlet] 45 | public Color colorInput { 46 | set { 47 | if (!enabled || _target == null || _propertyID < 0) return; 48 | _target.material.SetColor(_propertyID, value); 49 | } 50 | } 51 | 52 | #endregion 53 | 54 | #region Private members 55 | 56 | int _propertyID = -1; 57 | 58 | void OnEnable() 59 | { 60 | if (!string.IsNullOrEmpty(_propertyName)) 61 | _propertyID = Shader.PropertyToID(_propertyName); 62 | } 63 | 64 | #endregion 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Output/MaterialFloatOut.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | using System.Reflection; 26 | 27 | namespace Klak.Wiring 28 | { 29 | [AddComponentMenu("Klak/Wiring/Output/Renderer/Material Float Out")] 30 | public class MaterialFloatOut : NodeBase 31 | { 32 | #region Editable properties 33 | 34 | [SerializeField] 35 | Renderer _target; 36 | 37 | [SerializeField] 38 | string _propertyName; 39 | 40 | #endregion 41 | 42 | #region Node I/O 43 | 44 | [Inlet] 45 | public float floatInput { 46 | set { 47 | if (!enabled || _target == null || _propertyID < 0) return; 48 | _target.material.SetFloat(_propertyID, value); 49 | } 50 | } 51 | 52 | #endregion 53 | 54 | #region Private members 55 | 56 | int _propertyID = -1; 57 | 58 | void OnEnable() 59 | { 60 | if (!string.IsNullOrEmpty(_propertyName)) 61 | _propertyID = Shader.PropertyToID(_propertyName); 62 | } 63 | 64 | #endregion 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Input/AxisInputEditor.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | using UnityEditor; 26 | 27 | namespace Klak.Wiring 28 | { 29 | [CanEditMultipleObjects] 30 | [CustomEditor(typeof(AxisInput))] 31 | public class AxisInputEditor : Editor 32 | { 33 | SerializedProperty _axisName; 34 | SerializedProperty _interpolator; 35 | SerializedProperty _valueEvent; 36 | 37 | void OnEnable() 38 | { 39 | _axisName = serializedObject.FindProperty("_axisName"); 40 | _interpolator = serializedObject.FindProperty("_interpolator"); 41 | _valueEvent = serializedObject.FindProperty("_valueEvent"); 42 | } 43 | 44 | public override void OnInspectorGUI() 45 | { 46 | serializedObject.Update(); 47 | 48 | EditorGUILayout.PropertyField(_axisName); 49 | EditorGUILayout.PropertyField(_interpolator); 50 | 51 | EditorGUILayout.Space(); 52 | 53 | EditorGUILayout.PropertyField(_valueEvent); 54 | 55 | serializedObject.ApplyModifiedProperties(); 56 | } 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Output/MaterialVectorOut.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | using System.Reflection; 26 | 27 | namespace Klak.Wiring 28 | { 29 | [AddComponentMenu("Klak/Wiring/Output/Renderer/Material Vector Out")] 30 | public class MaterialVectorOut : NodeBase 31 | { 32 | #region Editable properties 33 | 34 | [SerializeField] 35 | Renderer _target; 36 | 37 | [SerializeField] 38 | string _propertyName; 39 | 40 | #endregion 41 | 42 | #region Node I/O 43 | 44 | [Inlet] 45 | public Vector3 vectorInput { 46 | set { 47 | if (!enabled || _target == null || _propertyID < 0) return; 48 | _target.material.SetVector(_propertyID, value); 49 | } 50 | } 51 | 52 | #endregion 53 | 54 | #region Private members 55 | 56 | int _propertyID = -1; 57 | 58 | void OnEnable() 59 | { 60 | if (!string.IsNullOrEmpty(_propertyName)) 61 | _propertyID = Shader.PropertyToID(_propertyName); 62 | } 63 | 64 | #endregion 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Input/MousePositionInputEditor.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | using UnityEditor; 26 | 27 | namespace Klak.Wiring 28 | { 29 | [CanEditMultipleObjects] 30 | [CustomEditor(typeof(MousePositionInput))] 31 | public class MousePositionInputEditor : Editor 32 | { 33 | SerializedProperty _interpolator; 34 | SerializedProperty _xEvent; 35 | SerializedProperty _yEvent; 36 | 37 | void OnEnable() 38 | { 39 | _interpolator = serializedObject.FindProperty("_interpolator"); 40 | _xEvent = serializedObject.FindProperty("_xEvent"); 41 | _yEvent = serializedObject.FindProperty("_yEvent"); 42 | } 43 | 44 | public override void OnInspectorGUI() 45 | { 46 | serializedObject.Update(); 47 | 48 | EditorGUILayout.PropertyField(_interpolator); 49 | 50 | EditorGUILayout.Space(); 51 | 52 | EditorGUILayout.PropertyField(_xEvent); 53 | EditorGUILayout.PropertyField(_yEvent); 54 | 55 | serializedObject.ApplyModifiedProperties(); 56 | } 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Output/ColorOut.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | using System.Reflection; 26 | 27 | namespace Klak.Wiring 28 | { 29 | [AddComponentMenu("Klak/Wiring/Output/Generic/Color Out")] 30 | public class ColorOut : NodeBase 31 | { 32 | #region Editable properties 33 | 34 | [SerializeField] 35 | Component _target; 36 | 37 | [SerializeField] 38 | string _propertyName; 39 | 40 | #endregion 41 | 42 | #region Node I/O 43 | 44 | [Inlet] 45 | public Color input { 46 | set { 47 | if (!enabled || _target == null || _propertyInfo == null) return; 48 | _propertyInfo.SetValue(_target, value, null); 49 | } 50 | } 51 | 52 | #endregion 53 | 54 | #region Private members 55 | 56 | PropertyInfo _propertyInfo; 57 | 58 | void OnEnable() 59 | { 60 | if (_target == null || string.IsNullOrEmpty(_propertyName)) return; 61 | _propertyInfo = _target.GetType().GetProperty(_propertyName); 62 | } 63 | 64 | #endregion 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Output/FloatOut.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | using System.Reflection; 26 | 27 | namespace Klak.Wiring 28 | { 29 | [AddComponentMenu("Klak/Wiring/Output/Generic/Float Out")] 30 | public class FloatOut : NodeBase 31 | { 32 | #region Editable properties 33 | 34 | [SerializeField] 35 | Component _target; 36 | 37 | [SerializeField] 38 | string _propertyName; 39 | 40 | #endregion 41 | 42 | #region Node I/O 43 | 44 | [Inlet] 45 | public float input { 46 | set { 47 | if (!enabled || _target == null || _propertyInfo == null) return; 48 | _propertyInfo.SetValue(_target, value, null); 49 | } 50 | } 51 | 52 | #endregion 53 | 54 | #region Private members 55 | 56 | PropertyInfo _propertyInfo; 57 | 58 | void OnEnable() 59 | { 60 | if (_target == null || string.IsNullOrEmpty(_propertyName)) return; 61 | _propertyInfo = _target.GetType().GetProperty(_propertyName); 62 | } 63 | 64 | #endregion 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Output/VectorOut.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | using System.Reflection; 26 | 27 | namespace Klak.Wiring 28 | { 29 | [AddComponentMenu("Klak/Wiring/Output/Generic/Vector Out")] 30 | public class VectorOut : NodeBase 31 | { 32 | #region Editable properties 33 | 34 | [SerializeField] 35 | Component _target; 36 | 37 | [SerializeField] 38 | string _propertyName; 39 | 40 | #endregion 41 | 42 | #region Node I/O 43 | 44 | [Inlet] 45 | public Vector3 input { 46 | set { 47 | if (!enabled || _target == null || _propertyInfo == null) return; 48 | _propertyInfo.SetValue(_target, value, null); 49 | } 50 | } 51 | 52 | #endregion 53 | 54 | #region Private members 55 | 56 | PropertyInfo _propertyInfo; 57 | 58 | void OnEnable() 59 | { 60 | if (_target == null || string.IsNullOrEmpty(_propertyName)) return; 61 | _propertyInfo = _target.GetType().GetProperty(_propertyName); 62 | } 63 | 64 | #endregion 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /Assets/Test/Trail.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: New Material 10 | m_Shader: {fileID: 200, guid: 0000000000000000f000000000000000, type: 0} 11 | m_ShaderKeywords: 12 | m_LightmapFlags: 4 13 | m_EnableInstancingVariants: 0 14 | m_DoubleSidedGI: 0 15 | m_CustomRenderQueue: -1 16 | stringTagMap: {} 17 | disabledShaderPasses: [] 18 | m_SavedProperties: 19 | serializedVersion: 3 20 | m_TexEnvs: 21 | - _BumpMap: 22 | m_Texture: {fileID: 0} 23 | m_Scale: {x: 1, y: 1} 24 | m_Offset: {x: 0, y: 0} 25 | - _DetailAlbedoMap: 26 | m_Texture: {fileID: 0} 27 | m_Scale: {x: 1, y: 1} 28 | m_Offset: {x: 0, y: 0} 29 | - _DetailMask: 30 | m_Texture: {fileID: 0} 31 | m_Scale: {x: 1, y: 1} 32 | m_Offset: {x: 0, y: 0} 33 | - _DetailNormalMap: 34 | m_Texture: {fileID: 0} 35 | m_Scale: {x: 1, y: 1} 36 | m_Offset: {x: 0, y: 0} 37 | - _EmissionMap: 38 | m_Texture: {fileID: 0} 39 | m_Scale: {x: 1, y: 1} 40 | m_Offset: {x: 0, y: 0} 41 | - _MainTex: 42 | m_Texture: {fileID: 0} 43 | m_Scale: {x: 1, y: 1} 44 | m_Offset: {x: 0, y: 0} 45 | - _MetallicGlossMap: 46 | m_Texture: {fileID: 0} 47 | m_Scale: {x: 1, y: 1} 48 | m_Offset: {x: 0, y: 0} 49 | - _OcclusionMap: 50 | m_Texture: {fileID: 0} 51 | m_Scale: {x: 1, y: 1} 52 | m_Offset: {x: 0, y: 0} 53 | - _ParallaxMap: 54 | m_Texture: {fileID: 0} 55 | m_Scale: {x: 1, y: 1} 56 | m_Offset: {x: 0, y: 0} 57 | m_Floats: 58 | - _BumpScale: 1 59 | - _Cutoff: 0.5 60 | - _DetailNormalMapScale: 1 61 | - _DstBlend: 0 62 | - _GlossMapScale: 1 63 | - _Glossiness: 0.5 64 | - _GlossyReflections: 1 65 | - _InvFade: 1 66 | - _Metallic: 0 67 | - _Mode: 0 68 | - _OcclusionStrength: 1 69 | - _Parallax: 0.02 70 | - _SmoothnessTextureChannel: 0 71 | - _SpecularHighlights: 1 72 | - _SrcBlend: 1 73 | - _UVSec: 0 74 | - _ZWrite: 1 75 | m_Colors: 76 | - _Color: {r: 1, g: 1, b: 1, a: 1} 77 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 78 | - _TintColor: {r: 1, g: 1, b: 1, a: 1} 79 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Output/RotationOut.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | using System.Reflection; 26 | 27 | namespace Klak.Wiring 28 | { 29 | [AddComponentMenu("Klak/Wiring/Output/Generic/Rotation Out")] 30 | public class RotationOut : NodeBase 31 | { 32 | #region Editable properties 33 | 34 | [SerializeField] 35 | Component _target; 36 | 37 | [SerializeField] 38 | string _propertyName; 39 | 40 | #endregion 41 | 42 | #region Node I/O 43 | 44 | [Inlet] 45 | public Quaternion input { 46 | set { 47 | if (!enabled || _target == null || _propertyInfo == null) return; 48 | _propertyInfo.SetValue(_target, value, null); 49 | } 50 | } 51 | 52 | #endregion 53 | 54 | #region Private members 55 | 56 | PropertyInfo _propertyInfo; 57 | 58 | void OnEnable() 59 | { 60 | if (_target == null || string.IsNullOrEmpty(_propertyName)) return; 61 | _propertyInfo = _target.GetType().GetProperty(_propertyName); 62 | } 63 | 64 | #endregion 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Filter/FloatVectorMix.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | 26 | namespace Klak.Wiring 27 | { 28 | [AddComponentMenu("Klak/Wiring/Mixing/Float Vector Mix")] 29 | public class FloatVectorMix : NodeBase 30 | { 31 | #region Node I/O 32 | 33 | [Inlet] 34 | public float floatInput { 35 | set { 36 | if (!enabled) return; 37 | _floatValue = value; 38 | InvokeEvent(); 39 | } 40 | } 41 | 42 | [Inlet] 43 | public Vector3 vectorInput { 44 | set { 45 | if (!enabled) return; 46 | _vectorValue = value; 47 | InvokeEvent(); 48 | } 49 | } 50 | 51 | [SerializeField, Outlet] 52 | Vector3Event _outputEvent = new Vector3Event(); 53 | 54 | #endregion 55 | 56 | #region Private members 57 | 58 | float _floatValue; 59 | Vector3 _vectorValue; 60 | 61 | void InvokeEvent() 62 | { 63 | _outputEvent.Invoke(_floatValue * _vectorValue); 64 | } 65 | 66 | #endregion 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!30 &1 4 | GraphicsSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 12 7 | m_Deferred: 8 | m_Mode: 1 9 | m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0} 10 | m_DeferredReflections: 11 | m_Mode: 1 12 | m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0} 13 | m_ScreenSpaceShadows: 14 | m_Mode: 1 15 | m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0} 16 | m_LegacyDeferred: 17 | m_Mode: 1 18 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0} 19 | m_DepthNormals: 20 | m_Mode: 1 21 | m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0} 22 | m_MotionVectors: 23 | m_Mode: 1 24 | m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0} 25 | m_LightHalo: 26 | m_Mode: 1 27 | m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0} 28 | m_LensFlare: 29 | m_Mode: 1 30 | m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0} 31 | m_AlwaysIncludedShaders: 32 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 33 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0} 34 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0} 35 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0} 36 | - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0} 37 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} 38 | m_PreloadedShaders: [] 39 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, 40 | type: 0} 41 | m_CustomRenderPipeline: {fileID: 0} 42 | m_TransparencySortMode: 0 43 | m_TransparencySortAxis: {x: 0, y: 0, z: 1} 44 | m_DefaultRenderingPath: 1 45 | m_DefaultMobileRenderingPath: 1 46 | m_TierSettings: [] 47 | m_LightmapStripping: 0 48 | m_FogStripping: 0 49 | m_InstancingStripping: 0 50 | m_LightmapKeepPlain: 1 51 | m_LightmapKeepDirCombined: 1 52 | m_LightmapKeepDynamicPlain: 1 53 | m_LightmapKeepDynamicDirCombined: 1 54 | m_LightmapKeepShadowMask: 1 55 | m_LightmapKeepSubtractive: 1 56 | m_FogKeepLinear: 1 57 | m_FogKeepExp: 1 58 | m_FogKeepExp2: 1 59 | m_AlbedoSwatchInfos: [] 60 | m_LightsUseLinearIntensity: 0 61 | m_LightsUseColorTemperature: 0 62 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Filter/RotationMix.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | 26 | namespace Klak.Wiring 27 | { 28 | [AddComponentMenu("Klak/Wiring/Mixing/Rotation Mix")] 29 | public class RotationMix : NodeBase 30 | { 31 | #region Node I/O 32 | 33 | [Inlet] 34 | public Quaternion input { 35 | set { 36 | if (!enabled) return; 37 | _inputValue = value; 38 | InvokeEvent(); 39 | } 40 | } 41 | 42 | [Inlet] 43 | public Quaternion modulation { 44 | set { 45 | if (!enabled) return; 46 | _modulationValue = value; 47 | InvokeEvent(); 48 | } 49 | } 50 | 51 | [SerializeField, Outlet] 52 | QuaternionEvent _outputEvent = new QuaternionEvent(); 53 | 54 | #endregion 55 | 56 | #region Private members 57 | 58 | Quaternion _inputValue; 59 | Quaternion _modulationValue; 60 | 61 | void InvokeEvent() 62 | { 63 | _outputEvent.Invoke(_inputValue * _modulationValue); 64 | } 65 | 66 | #endregion 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /Assets/Lasp/Internal/PluginEntry.cs: -------------------------------------------------------------------------------- 1 | // LASP - Low-latency Audio Signal Processing plugin for Unity 2 | // https://github.com/keijiro/Lasp 3 | 4 | using System; 5 | using System.Runtime.InteropServices; 6 | 7 | namespace Lasp 8 | { 9 | public enum FilterType { Bypass, LowPass, BandPass, HighPass } 10 | 11 | public static class PluginEntry 12 | { 13 | #region Plugin interface 14 | 15 | [DllImport("Lasp", EntryPoint="LaspCreateDriver")] 16 | public static extern IntPtr CreateDriver(); 17 | 18 | [DllImport("Lasp", EntryPoint="LaspDeleteDriver")] 19 | public static extern void DeleteDriver(IntPtr driver); 20 | 21 | [DllImport("Lasp", EntryPoint="LaspOpenStream")] 22 | public static extern bool OpenStream(IntPtr driver); 23 | 24 | [DllImport("Lasp", EntryPoint="LaspCloseStream")] 25 | public static extern void CloseStream(IntPtr driver); 26 | 27 | [DllImport("Lasp", EntryPoint="LaspGetSampleRate")] 28 | public static extern float GetSampleRate(IntPtr driver); 29 | 30 | [DllImport("Lasp", EntryPoint="LaspGetPeakLevel")] 31 | public static extern float GetPeakLevel(IntPtr driver, FilterType filter, float duration); 32 | 33 | [DllImport("Lasp", EntryPoint="LaspCalculateRMS")] 34 | public static extern float CalculateRMS(IntPtr driver, FilterType filter, float duration); 35 | 36 | [DllImport("Lasp", EntryPoint="LaspRetrieveWaveform")] 37 | public static extern int RetrieveWaveform(IntPtr driver, FilterType filter, float[] dest, int length); 38 | 39 | #endregion 40 | 41 | #region Debug helpers 42 | 43 | public static void SetupLogger() 44 | { 45 | var del = (PrintDelegate)Log; 46 | var ptr = Marshal.GetFunctionPointerForDelegate(del); 47 | ReplaceLogger(ptr); 48 | } 49 | 50 | [DllImport("Lasp", EntryPoint="LaspReplaceLogger")] 51 | public static extern void ReplaceLogger(IntPtr logger); 52 | 53 | [UnmanagedFunctionPointer(CallingConvention.Cdecl)] 54 | public delegate void PrintDelegate(string message); 55 | 56 | static void Log(string message) 57 | { 58 | #if UNITY_EDITOR 59 | UnityEngine.Debug.Log(message); 60 | #else 61 | System.Console.WriteLine(message); 62 | #endif 63 | } 64 | 65 | #endregion 66 | } 67 | } 68 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Basic/AxisRotationEditor.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | using UnityEditor; 26 | 27 | namespace Klak.Wiring 28 | { 29 | [CanEditMultipleObjects] 30 | [CustomEditor(typeof(AxisRotation))] 31 | public class AxisRotationEditor : Editor 32 | { 33 | SerializedProperty _rotationAxis; 34 | SerializedProperty _angleMultiplier; 35 | SerializedProperty _rotationEvent; 36 | 37 | void OnEnable() 38 | { 39 | _rotationAxis = serializedObject.FindProperty("_rotationAxis"); 40 | _angleMultiplier = serializedObject.FindProperty("_angleMultiplier"); 41 | _rotationEvent = serializedObject.FindProperty("_rotationEvent"); 42 | } 43 | 44 | public override void OnInspectorGUI() 45 | { 46 | serializedObject.Update(); 47 | 48 | EditorGUILayout.PropertyField(_rotationAxis); 49 | 50 | EditorGUILayout.PropertyField(_angleMultiplier); 51 | 52 | EditorGUILayout.Space(); 53 | 54 | EditorGUILayout.PropertyField(_rotationEvent); 55 | 56 | serializedObject.ApplyModifiedProperties(); 57 | } 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /Assets/Test/Puff.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: Puff 10 | m_Shader: {fileID: 200, guid: 0000000000000000f000000000000000, type: 0} 11 | m_ShaderKeywords: 12 | m_LightmapFlags: 4 13 | m_EnableInstancingVariants: 0 14 | m_DoubleSidedGI: 0 15 | m_CustomRenderQueue: -1 16 | stringTagMap: {} 17 | disabledShaderPasses: [] 18 | m_SavedProperties: 19 | serializedVersion: 3 20 | m_TexEnvs: 21 | - _BumpMap: 22 | m_Texture: {fileID: 0} 23 | m_Scale: {x: 1, y: 1} 24 | m_Offset: {x: 0, y: 0} 25 | - _DetailAlbedoMap: 26 | m_Texture: {fileID: 0} 27 | m_Scale: {x: 1, y: 1} 28 | m_Offset: {x: 0, y: 0} 29 | - _DetailMask: 30 | m_Texture: {fileID: 0} 31 | m_Scale: {x: 1, y: 1} 32 | m_Offset: {x: 0, y: 0} 33 | - _DetailNormalMap: 34 | m_Texture: {fileID: 0} 35 | m_Scale: {x: 1, y: 1} 36 | m_Offset: {x: 0, y: 0} 37 | - _EmissionMap: 38 | m_Texture: {fileID: 0} 39 | m_Scale: {x: 1, y: 1} 40 | m_Offset: {x: 0, y: 0} 41 | - _MainTex: 42 | m_Texture: {fileID: 2800000, guid: a17852d8283fe1e40a24457fec861faa, type: 3} 43 | m_Scale: {x: 1, y: 1} 44 | m_Offset: {x: 0, y: 0} 45 | - _MetallicGlossMap: 46 | m_Texture: {fileID: 0} 47 | m_Scale: {x: 1, y: 1} 48 | m_Offset: {x: 0, y: 0} 49 | - _OcclusionMap: 50 | m_Texture: {fileID: 0} 51 | m_Scale: {x: 1, y: 1} 52 | m_Offset: {x: 0, y: 0} 53 | - _ParallaxMap: 54 | m_Texture: {fileID: 0} 55 | m_Scale: {x: 1, y: 1} 56 | m_Offset: {x: 0, y: 0} 57 | m_Floats: 58 | - _BumpScale: 1 59 | - _Cutoff: 0.5 60 | - _DetailNormalMapScale: 1 61 | - _DstBlend: 0 62 | - _GlossMapScale: 1 63 | - _Glossiness: 0.5 64 | - _GlossyReflections: 1 65 | - _InvFade: 1 66 | - _Metallic: 0 67 | - _Mode: 0 68 | - _OcclusionStrength: 1 69 | - _Parallax: 0.02 70 | - _SmoothnessTextureChannel: 0 71 | - _SpecularHighlights: 1 72 | - _SrcBlend: 1 73 | - _UVSec: 0 74 | - _ZWrite: 1 75 | m_Colors: 76 | - _Color: {r: 1, g: 1, b: 1, a: 1} 77 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 78 | - _TintColor: {r: 1, g: 1, b: 1, a: 1} 79 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Patcher/GUIUtility.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | using UnityEditor; 26 | using System.Reflection; 27 | using System; 28 | 29 | namespace Klak.Wiring.Patcher 30 | { 31 | public static class GUIUtility 32 | { 33 | // Clears the property drawer cache to avoid the 34 | // "SerializedObject of SerializedProperty has been Disposed" error. 35 | public static void ClearPropertyDrawerCache() 36 | { 37 | // Call internal function ScriptAttributeUtility.ClearGlobalCache. 38 | var t = Type.GetType("UnityEditor.ScriptAttributeUtility,UnityEditor"); 39 | var m = t.GetMethod("ClearGlobalCache", BindingFlags.NonPublic | BindingFlags.Static); 40 | m.Invoke(null, null); 41 | } 42 | 43 | // Sends repaint request to all inspectors. 44 | public static void RepaintAllInspectors() 45 | { 46 | // Call internal function InspectorWindow.RepaintAllInspectors. 47 | var t = Type.GetType("UnityEditor.InspectorWindow,UnityEditor"); 48 | var m = t.GetMethod("RepaintAllInspectors", BindingFlags.NonPublic | BindingFlags.Static); 49 | m.Invoke(null, null); 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Filter/ThresholdEditor.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | using UnityEditor; 26 | 27 | namespace Klak.Wiring 28 | { 29 | [CanEditMultipleObjects] 30 | [CustomEditor(typeof(Threshold))] 31 | public class ThresholdEditor : Editor 32 | { 33 | SerializedProperty _threshold; 34 | SerializedProperty _delayToOff; 35 | SerializedProperty _onEvent; 36 | SerializedProperty _offEvent; 37 | 38 | void OnEnable() 39 | { 40 | _threshold = serializedObject.FindProperty("_threshold"); 41 | _delayToOff = serializedObject.FindProperty("_delayToOff"); 42 | _onEvent = serializedObject.FindProperty("_onEvent"); 43 | _offEvent = serializedObject.FindProperty("_offEvent"); 44 | } 45 | 46 | public override void OnInspectorGUI() 47 | { 48 | serializedObject.Update(); 49 | 50 | EditorGUILayout.PropertyField(_threshold); 51 | EditorGUILayout.PropertyField(_delayToOff); 52 | 53 | EditorGUILayout.Space(); 54 | 55 | EditorGUILayout.PropertyField(_onEvent); 56 | EditorGUILayout.PropertyField(_offEvent); 57 | 58 | serializedObject.ApplyModifiedProperties(); 59 | } 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Basic/FloatAnimationEditor.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | using UnityEditor; 26 | 27 | namespace Klak.Wiring 28 | { 29 | [CanEditMultipleObjects] 30 | [CustomEditor(typeof(FloatAnimation))] 31 | public class FloatAnimationEditor : Editor 32 | { 33 | SerializedProperty _curve; 34 | SerializedProperty _speed; 35 | SerializedProperty _playOnStart; 36 | SerializedProperty _floatEvent; 37 | 38 | void OnEnable() 39 | { 40 | _curve = serializedObject.FindProperty("_curve"); 41 | _speed = serializedObject.FindProperty("_speed"); 42 | _playOnStart = serializedObject.FindProperty("_playOnStart"); 43 | _floatEvent = serializedObject.FindProperty("_floatEvent"); 44 | } 45 | 46 | public override void OnInspectorGUI() 47 | { 48 | serializedObject.Update(); 49 | 50 | EditorGUILayout.PropertyField(_curve); 51 | EditorGUILayout.PropertyField(_speed); 52 | EditorGUILayout.PropertyField(_playOnStart); 53 | 54 | EditorGUILayout.Space(); 55 | 56 | EditorGUILayout.PropertyField(_floatEvent); 57 | 58 | serializedObject.ApplyModifiedProperties(); 59 | } 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Editor/Basic/FromToVectorEditor.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | using UnityEditor; 26 | 27 | namespace Klak.Wiring 28 | { 29 | [CanEditMultipleObjects] 30 | [CustomEditor(typeof(FromToVector))] 31 | public class FromToVectorEditor : Editor 32 | { 33 | SerializedProperty _fromVector; 34 | SerializedProperty _toVector; 35 | SerializedProperty _vectorEvent; 36 | 37 | static GUIContent _textFrom = new GUIContent("From (parameter = 0)"); 38 | static GUIContent _textTo = new GUIContent("To (parameter = 1)"); 39 | 40 | void OnEnable() 41 | { 42 | _fromVector = serializedObject.FindProperty("_fromVector"); 43 | _toVector = serializedObject.FindProperty("_toVector"); 44 | _vectorEvent = serializedObject.FindProperty("_vectorEvent"); 45 | } 46 | 47 | public override void OnInspectorGUI() 48 | { 49 | serializedObject.Update(); 50 | 51 | EditorGUILayout.PropertyField(_fromVector, _textFrom); 52 | EditorGUILayout.PropertyField(_toVector, _textTo); 53 | 54 | EditorGUILayout.Space(); 55 | 56 | EditorGUILayout.PropertyField(_vectorEvent); 57 | 58 | serializedObject.ApplyModifiedProperties(); 59 | } 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /Assets/Klak Imported/Wiring/Input/MousePositionInput.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | using Klak.Math; 26 | 27 | namespace Klak.Wiring 28 | { 29 | [AddComponentMenu("Klak/Wiring/Input/Mouse Position Input")] 30 | public class MousePositionInput : NodeBase 31 | { 32 | #region Editable properties 33 | 34 | [SerializeField] 35 | FloatInterpolator.Config _interpolator; 36 | 37 | #endregion 38 | 39 | #region Node I/O 40 | 41 | [SerializeField, Outlet] 42 | FloatEvent _xEvent = new FloatEvent(); 43 | 44 | [SerializeField, Outlet] 45 | FloatEvent _yEvent = new FloatEvent(); 46 | 47 | #endregion 48 | 49 | #region MonoBehaviour functions 50 | 51 | FloatInterpolator _xValue; 52 | FloatInterpolator _yValue; 53 | 54 | void Start() 55 | { 56 | _xValue = new FloatInterpolator(0, _interpolator); 57 | _yValue = new FloatInterpolator(0, _interpolator); 58 | } 59 | 60 | void Update() 61 | { 62 | var pos = Input.mousePosition; 63 | 64 | _xValue.targetValue = pos.x / Screen.width; 65 | _yValue.targetValue = pos.y / Screen.height; 66 | 67 | _xEvent.Invoke(_xValue.Step()); 68 | _yEvent.Invoke(_yValue.Step()); 69 | } 70 | 71 | #endregion 72 | } 73 | } 74 | --------------------------------------------------------------------------------