mirror of
https://github.com/ConjureETS/VZ.git
synced 2026-03-24 02:11:15 +00:00
Fix tag layer manager bug.
This commit is contained in:
parent
5cf59ae91a
commit
3827ca6722
@ -6,11 +6,11 @@ using System.Linq;
|
|||||||
public class TagLayerManager : MonoBehaviour
|
public class TagLayerManager : MonoBehaviour
|
||||||
{
|
{
|
||||||
// Use this for initialization
|
// Use this for initialization
|
||||||
private static readonly string[] availableTags = UnityEditorInternal.InternalEditorUtility.tags;
|
//private static readonly string[] availableTags = UnityEditorInternal.InternalEditorUtility.tags;
|
||||||
// TODO FIND A WAY TO ADD EXCEPTION ERROR IF THE USER OMMIT TO ADD TAGS!!!
|
// TODO FIND A WAY TO ADD EXCEPTION ERROR IF THE USER OMMIT TO ADD TAGS!!!
|
||||||
public static string Human = availableTags[7];
|
public static string Human = "Human";
|
||||||
public static string VampirePlayer = availableTags[8];
|
public static string VampirePlayer = "VampirePlayer";
|
||||||
public static string ZombiePlayer = availableTags[9];
|
public static string ZombiePlayer = "ZombiePlayer";
|
||||||
// TODO remove hard coding layers
|
// TODO remove hard coding layers
|
||||||
public static int HumanLayerIndex = 8;
|
public static int HumanLayerIndex = 8;
|
||||||
public static int VampireLayerIndex = 9;
|
public static int VampireLayerIndex = 9;
|
||||||
|
|||||||
@ -7,3 +7,5 @@ EditorBuildSettings:
|
|||||||
m_Scenes:
|
m_Scenes:
|
||||||
- enabled: 1
|
- enabled: 1
|
||||||
path: Assets/Scenes/AwesomeSplashScreen.unity
|
path: Assets/Scenes/AwesomeSplashScreen.unity
|
||||||
|
- enabled: 1
|
||||||
|
path: Assets/Scenes/Scene_Legere.unity
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user