Пример #1
0
    void DestroyAlternative()
    {
        DiactivateObject _d = gameObject.GetComponent <DiactivateObject>();

        Timer = 1;
        Fuild = MaxFuild;
        _d.Diactivate();
    }
Пример #2
0
    void DestroyAlternative()
    {
        DiactivateObject _d = gameObject.GetComponent <DiactivateObject> ();

        _d.Diactivate();
    }