Initial commit

This commit is contained in:
gunnbr committed 2021-01-11 22:20:43 -08:00
1 parent ee9615239e
commit 16feac691f
4093 files changed
+1030491

No files matched your search

@@ -0,0 +1,42 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEditor;
using UnityEngine;
namespace Gaia
{
/// <summary>
/// The baked mask types publicly available for selection
/// </summary>
public enum BakedMaskType { LayerGameObject = 2, LayerTree = 3, RadiusTag=1, RadiusTree = 0}
/// <summary>
/// All possible baked mask types
/// </summary>
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;
}
}