Ejemplo n.º 1
0
    public void OnHitRangeLimit(Vector3Int position, ModuleSet modulesToRemove)
    {
        if (this.muteRangeLimitWarning || position.y < 0 || position.y >= this.Height)
        {
            return;
        }

        var moduleNames = modulesToRemove.Select(module => module.Name);

        Debug.LogWarning("Hit range limit at " + position + ". Module(s) to be removed:\n" + string.Join("\n", moduleNames.ToArray()) + "\n");
        this.muteRangeLimitWarning = true;
    }