Skip to content

Commit 52a82af

Browse files
Add warning about IL2CPP
1 parent 3b413cf commit 52a82af

File tree

3 files changed

+38
-0
lines changed

3 files changed

+38
-0
lines changed

Editor.meta

+9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Editor/DetectBackend.cs

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
using UnityEngine;
2+
using UnityEditor;
3+
using System.Collections;
4+
5+
namespace Meteor.Editor
6+
{
7+
[InitializeOnLoad]
8+
public class DetectBackend
9+
{
10+
static DetectBackend ()
11+
{
12+
#if ENABLE_IL2CPP
13+
Debug.LogError ("Meteor-Unity is currently not supported on the IL2CPP backend.");
14+
#endif
15+
}
16+
}
17+
}

Editor/DetectBackend.cs.meta

+12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)