Exemplo n.º 1
0
    void SetPathPassed(int fromNodeId, int targetNodeId, Color c)
    {
        DIKey  id   = new DIKey(fromNodeId, targetNodeId);
        UINode node = _nodeLines[id].GetComponent <UINode>();

        node.GetComponent <Slider>().value = 1;
        node.GetRef("Fill").GetComponent <Image>().color = c;
    }
Exemplo n.º 2
0
 public bool Equals(DIKey other)
 {
     return(_fromNodeId == other._fromNodeId && _targetNodeId == other._targetNodeId);
 }