Пример #1
0
    bool endOverlap    = true; // pozwala kontrolować tylko jednokrotne wykonanie metody po ucieczce myszki z pola ściany

    // Start is called before the first frame update
    void Start()
    {
        domaManager       = DomaManager.Instance;
        currentStatusDoma = domaManager.currentStatusDoma;

        wall = currentStatusDoma.GetWallByGameObject2D(gameObject);

        _collider = GetComponent <PolygonCollider2D>();
    }