Esempio n. 1
0
    public void RegisterPlayer(RCC_CarControllerV3 playerVehicle)
    {
        activePlayerVehicle = playerVehicle;

        if (activePlayerCamera)
        {
            activePlayerCamera.SetTarget(activePlayerVehicle.gameObject);
        }

        if (loadCustomizationAtFirst)
        {
            RCC_Customization.LoadStats(RCC_SceneManager.Instance.activePlayerVehicle);
        }

        if (GameObject.FindObjectOfType <RCC_CustomizerExample> ())
        {
            GameObject.FindObjectOfType <RCC_CustomizerExample> ().CheckUIs();
        }
    }
Esempio n. 2
0
 public void LoadStats()
 {
     RCC_Customization.LoadStats(RCC_SceneManager.Instance.activePlayerVehicle);
     CheckUIs();
 }
Esempio n. 3
0
 public void LoadStats()
 {
     RCC_Customization.LoadStats(car);
     CheckUIs();
 }