Beispiel #1
0
    void Start()
    {
        foreach (string node in connectedTo)
        {
            MapHandler mapHandler = GetComponentInParent <MapHandler>();
            mapHandler.AddEdge(id, node);
        }

        if (this.gameObject.name.Equals("Node_1"))
        {
            Reveal();
        }
    }