Skip to content

Commit d6d7116

Browse files
committed
fix: build fail because of editor using
1 parent 3c47aea commit d6d7116

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Runtime/IInfluencer.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
using System.Collections;
2-
using System.Collections.Generic;
31
using UnityEngine;
42

53
namespace InfluenceMapPackage

Runtime/TerrainInfluenceMap.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
using System;
21
using System.Collections.Generic;
32
using Unity.Profiling;
4-
using UnityEditor;
5-
using UnityEditor.VersionControl;
63
using UnityEngine;
74
using UnityEngine.Assertions;
85
using UnityEngine.Rendering;
96

7+
#if UNITY_EDITOR
8+
using UnityEditor;
9+
#endif
10+
1011
namespace InfluenceMapPackage
1112
{
1213
[RequireComponent(typeof(Terrain))]

0 commit comments

Comments
 (0)