Example #1
0
 public CellsShapeRenderer(Transform parent, ShaderHelper helper = null) : base(parent)
 {
     _shaderHelper = helper;
     _facePrefab   = Resources.Load("FacePrefab") as GameObject;
     _filters      = new List <List <MeshFilter> >();
 }
 public LinesShapeRenderer(ShaderHelper helper = null)
 {
     _shaderHelper = helper;
     _edgePrefab   = Resources.Load("EdgePrefab") as GameObject;
     _edges        = new List <LineRenderer>();
 }
 public LinesShapeRenderer(Transform parent, ShaderHelper helper = null) : base(parent)
 {
     _shaderHelper = helper;
     _edgePrefab   = Resources.Load("EdgePrefab") as GameObject;
     _edges        = new List <LineRenderer>();
 }
 public FacesShapeRenderer(ShaderHelper helper = null)
 {
     _shaderHelper = helper;
     _facePrefab   = Resources.Load("FacePrefab") as GameObject;
     _filters      = new List <MeshFilter>();
 }