Ejemplo n.º 1
0
    public void Capture(Tile newBorder, UnityAction <WorldTile> capturedCallback)
    {
        PlayerBorderTilemap.SetTile(LocalPlace, newBorder);

        tileCaptured.Invoke(this);
        tileCaptured.RemoveAllListeners();
        tileCaptured.AddListener(capturedCallback);
    }