private void GenerateEffectRadius(uint maxRange, uint minRange) { float num = (15f - minRange) / 15f; num = Mathf.Max(num, 0.1f); CircleMeshUtils.AddCircleMesh(this.effectRadius, Units.BoardToWorldX(minRange), Units.BoardToWorldX(maxRange - minRange), num); this.GenerateEffectMaterial(); }
private void GenerateTriggerRadius(uint range) { CircleMeshUtils.AddCircleMesh(this.triggerRadius, Units.BoardToWorldX(range), 0.4f, 1f); this.GenerateTriggerMaterial(); }