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; }
public bool Equals(DIKey other) { return(_fromNodeId == other._fromNodeId && _targetNodeId == other._targetNodeId); }