using System; using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEditor; using UnityEngine; namespace Gaia { /// /// The baked mask types publicly available for selection /// public enum BakedMaskType { LayerGameObject = 2, LayerTree = 3, RadiusTag=1, RadiusTree = 0} /// /// All possible baked mask types /// public enum BakedMaskTypeInternal { RadiusTree=0, RadiusTag=1, WorldBiomeMask=2, LayerGameObject=3, LayerTree=4 } [System.Serializable] public class CollisionMask { public bool m_active = true; public bool m_invert = false; public BakedMaskType m_type; //public int m_treePrototypeId= -99; public string m_treeSpawnRuleGUID = ""; public static SpawnRule[] m_allTreeSpawnRules; public static Spawner[] m_allTreeSpawners; public static string[] m_allTreeSpawnRuleNames; public static int[] m_allTreeSpawnRuleIndices; public string m_tag; public float m_Radius; public float m_growShrinkDistance; public LayerMask m_layerMask; public string[] m_layerMaskLayerNames; } }