示例#1
0
 private void Start()
 {
     menuManager = CarMenuManager.menuManagerInstance;
     playerCarImage.GetComponent <Image>();
     currentCarIndex         = Random.Range(0, menuManager.cars.Length);
     playerCarImage.material = menuManager.cars[currentCarIndex];
 }
示例#2
0
 private void Awake()
 {
     menuManagerInstance = this;
 }