Skip to content

Commit 4d05d31

Browse files
committed
Merge remote-tracking branch 'graphics/virtualtexturing-shader-lib-fixes' into vfx/staging
2 parents 17cf298 + 875e021 commit 4d05d31

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

com.unity.visualeffectgraph/Editor/Utilities/VectorFieldImporter/Editor/VectorFieldImporter.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
using System.Text;
66
using System.Globalization;
77
using UnityEngine;
8-
using UnityEditor.Experimental.AssetImporters;
8+
99

1010
namespace UnityEditor.VFXToolbox
1111
{
12-
[ScriptedImporter(1, "vf")]
13-
class VectorFieldImporter : ScriptedImporter
12+
[UnityEditor.AssetImporters.ScriptedImporter(1, "vf")]
13+
class VectorFieldImporter : UnityEditor.AssetImporters.ScriptedImporter
1414
{
1515
public enum VectorFieldOutputFormat
1616
{
@@ -32,7 +32,7 @@ public static T[] SubArray<T>(T[] data, int index, int length)
3232
return result;
3333
}
3434

35-
public override void OnImportAsset(AssetImportContext ctx)
35+
public override void OnImportAsset(UnityEditor.AssetImporters.AssetImportContext ctx)
3636
{
3737
byte[] bytes = File.ReadAllBytes(ctx.assetPath);
3838
int width = 1, height = 1, depth = 1;

com.unity.visualeffectgraph/Editor/Utilities/VectorFieldImporter/Editor/VectorFieldImporterEditor.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
using UnityEngine;
2-
using UnityEditor.Experimental.AssetImporters;
2+
33

44
namespace UnityEditor.VFXToolbox
55
{
66
[CustomEditor(typeof(VectorFieldImporter))]
7-
class VectorFieldImporterEditor : ScriptedImporterEditor
7+
class VectorFieldImporterEditor : UnityEditor.AssetImporters.ScriptedImporterEditor
88
{
99
SerializedProperty format;
1010
SerializedProperty wrapMode;

com.unity.visualeffectgraph/Editor/Utilities/pCache/Importer/PointCacheImporter.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
using System.Text;
66
using System.Globalization;
77
using UnityEngine;
8-
using UnityEditor.Experimental.AssetImporters;
8+
99

1010
namespace UnityEditor.Experimental.VFX.Utility
1111
{
12-
[ScriptedImporter(1, "pcache")]
13-
class PointCacheImporter : ScriptedImporter
12+
[UnityEditor.AssetImporters.ScriptedImporter(1, "pcache")]
13+
class PointCacheImporter : UnityEditor.AssetImporters.ScriptedImporter
1414
{
1515
public static T[] SubArray<T>(T[] data, int index, int length)
1616
{
@@ -77,7 +77,7 @@ public static void GetHeader(Stream s, out long byteLength, out List<string> lin
7777
while (!found_end_header);
7878
}
7979

80-
public override void OnImportAsset(AssetImportContext ctx)
80+
public override void OnImportAsset(UnityEditor.AssetImporters.AssetImportContext ctx)
8181
{
8282
try
8383
{

0 commit comments

Comments
 (0)