示例#1
0
    public void ShowCar()
    {
        foreach (Transform child in car.transform)
        {
            Destroy(child.gameObject);
        }
        int carNum = PreferencesSaver.GetCurrentCar();

        StartCoroutine(CreateCar(carNum));

        UpdateDisableButton();
    }