Ejemplo n.º 1
0
    void OnDisable()
    {
        if (spawnerScript != null)
        {
            spawnerScript.Remove(row, this.gameObject);
        }

        if (scripted != null)
        {
            scripted.Remove(row, this.gameObject);
        }

        if (doubleS != null)
        {
            doubleS.Remove(row, this.gameObject);
        }
    }