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(); } }
public void LoadStats() { RCC_Customization.LoadStats(RCC_SceneManager.Instance.activePlayerVehicle); CheckUIs(); }
public void LoadStats() { RCC_Customization.LoadStats(car); CheckUIs(); }