Ejemplo n.º 1
0
    // Debug

    void OnDrawGizmos()
    {
        var dx = Mathf.FloorToInt(size.x * 0.5f);
        var dy = Mathf.FloorToInt(size.y * 0.5f);

        GameOfLife.DrawRect(new Rect(-dx, -dy, size.x, size.y), Color.red);
    }