Пример #1
0
    private void ExplodeRocket(RocketController rocket)
    {
        if (!serverMode)
        {
            rocket.Explode();
        }

        rocketControllers.Remove(rocket);
        gamePieces.Remove(rocket.gameObject);
        Destroy(rocket.gameObject);
    }