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