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