Exemple #1
0
 private void Awake()
 {
     if (!getVertices)
     {
         getVertices = GetComponent <GetVertices>();
     }
 }
Exemple #2
0
        public object Get(GetVertices query)
        {
            var verts = new List <SimpleVertex>();

            foreach (AbstractBlock vertex in ExprTree.Tree.Vertices.ToArray())
            {
                verts.Add(new SimpleVertex(vertex));
            }
            //Response.AddHeader("Access-Control-Allow-Origin", "*");
            return(verts.ToArray());
        }