示例#1
0
    void deactivateTurret(int i)
    {
        GameObject   o = turrets[i];
        TurretScript t = o.GetComponent <TurretScript>();

        t.setActive(false);
    }