Skip to content

Commit b39ee9a

Browse files
authored
Fix warnings build errors (#822)
* Remove warning messages. * Fix build errors. * Fix ARTableTop scene - wrong shaders * Resave Pngs without ETC1 compression
1 parent 31c27b9 commit b39ee9a

File tree

18 files changed

+56
-282
lines changed

18 files changed

+56
-282
lines changed
-42 KB
Loading
-43.3 KB
Loading
-47.6 KB
Loading
-57.5 KB
Loading
-4.63 KB
Loading
-56.8 KB
Loading

sdkproject/Assets/Mapbox/Unity/DataContainers/GeometryMaterialOptions.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
using System;
44
using Mapbox.Unity.MeshGeneration.Modifiers;
55
using Mapbox.Unity.MeshGeneration.Data;
6-
using UnityEngine;
7-
using UnityEditor;
86

97
[Serializable]
108
public class GeometryMaterialOptions : ModifierProperties

sdkproject/Assets/Mapbox/Unity/Editor/PropertyDrawers/MaterialListDrawer.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
[CustomPropertyDrawer(typeof(MaterialList))]
88
public class MaterialListDrawer : PropertyDrawer
99
{
10-
static float lineHeight = EditorGUIUtility.singleLineHeight;
1110
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
1211
{
1312
EditorGUI.BeginProperty(position, label, property);

sdkproject/Assets/Mapbox/Unity/Editor/PropertyDrawers/VectorFilterOptionsDrawer.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ public class VectorFilterOptionsDrawer : PropertyDrawer
1818
private string[] descriptionArray;
1919
static float lineHeight = EditorGUIUtility.singleLineHeight;
2020
bool showFilters = true;
21-
static bool _isInitialized = false;
22-
static string cachedLayerName = "";
23-
static bool dataUnavailable = false;
2421

2522
GUIContent operatorGui = new GUIContent { text = "Operator", tooltip = "Filter operator to apply. " };
2623
GUIContent numValueGui = new GUIContent { text = "Num Value", tooltip = "Numeric value to match using the operator. " };

sdkproject/Assets/Mapbox/Unity/Location/AbstractEditorLocationProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public abstract class AbstractEditorLocationProvider : AbstractLocationProvider
1717
[SerializeField]
1818
bool _sendEvent;
1919

20-
WaitForSeconds _wait;
20+
WaitForSeconds _wait = new WaitForSeconds(0);
2121

2222
#if UNITY_EDITOR
2323
protected virtual void Awake()

0 commit comments

Comments
 (0)