private void CreateAndAddPoint(Vector2 coordinate, CircleEnum circle) { nodes.Add(coordinate, new Node { Coordinate = coordinate, Circle = circle }); }
public void SetLoadingCircle(bool isShow = true, CircleEnum circle = CircleEnum.NONE) { if (_loadingGo == null) { return; } if (circle != CircleEnum.NONE) { if (isShow) { if (!_circles.ContainsKey(circle)) { _circles.Add(circle, isShow); } _loadingGo.SetActive(true); } else { if (_circles.ContainsKey(circle)) { _circles.Remove(circle); } if (_circles.Count == 0) { _loadingGo.SetActive(false); } } } else { _loadingGo.SetActive(isShow); _circles.Clear(); } }