Beispiel #1
0
 public Drawer()
 {
     _lineMesh   = MeshUtils.LineMesh(Vector3.zero, Vector3.forward);
     _circleMesh = MeshUtils.CircleMesh(1f);
     _material   = new Material(Shader.Find("Unlit/Color"));
 }
Beispiel #2
0
 public Drawer()
 {
     _lineMesh   = MeshUtils.LineMesh(Vector3.zero, Vector3.forward);
     _circleMesh = MeshUtils.CircleMesh(1f);
     _material   = new Material(Shader.Find("Legacy Shaders/Diffuse"));
 }