jp.keijiro.klutter-tools 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,6 +16,11 @@
16
16
  "name": "com.unity.render-pipelines.high-definition",
17
17
  "expression": "1.0.0",
18
18
  "define": "KLUTTER_TOOLS_HAS_HDRP"
19
+ },
20
+ {
21
+ "name": "com.unity.visualeffectgraph",
22
+ "expression": "1.0.0",
23
+ "define": "KLUTTER_TOOLS_HAS_VFXGRAPH"
19
24
  }
20
25
  ],
21
26
  "noEngineReferences": false
@@ -4,6 +4,8 @@ using UnityEditor;
4
4
 
5
5
  namespace Klak.KlutterTools {
6
6
 
7
+ #if KLUTTER_TOOLS_HAS_VFXGRAPH
8
+
7
9
  [InitializeOnLoad]
8
10
  public static class VfxGraphZoomStepModifier
9
11
  {
@@ -40,4 +42,6 @@ public static class VfxGraphZoomStepModifier
40
42
  }
41
43
  }
42
44
 
45
+ #endif
46
+
43
47
  } // namespace Klak.KlutterTools
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "author": "Keijiro Takahashi",
6
6
  "license": "Unlicense",
7
7
  "dependencies": { },
8
- "version": "1.0.0",
8
+ "version": "1.0.1",
9
9
  "unity": "6000.0",
10
10
  "keywords": [ "unity" ]
11
11
  }