} // -1 for no connection on the edge // Use this for initialization void Start() { idMessage = -1; nodeEdge1.AddEdge(this); nodeEdge2.AddEdge(this); render = GetComponent <SpriteRenderer>(); gameManager = GameObject.Find("GameManager").GetComponent <GameManager>(); }