Wihiii mantap bang, main pake vr, bisa pake vr handphone gak itu bang?
@fadlhlislАй бұрын
@@danabani Bisa Juga dong
@fadlhlisl2 ай бұрын
*** OUR METAVERSE YANG TERBARU**** Instagram Poster dan Demo: instagram.com/p/DBBl8MBh32A/?locale=en_GB%2Cen_GB&hl=en&img_index=1 YT Gameplay: kzbin.info/www/bejne/r5ypkIOCrdGJiNk
@danabani11 ай бұрын
Mantap, keren bang👍
@fadlhlisl11 ай бұрын
Keren Mas, keep it up
@k2gr678 Жыл бұрын
we can do collaboration
@k2gr678 Жыл бұрын
nice bro keep it up
@fadlhlisl Жыл бұрын
Keep it up
@fadlhlisl Жыл бұрын
Great Content Bro
@fadlhlisl Жыл бұрын
Enjoy the script 😊 using UnityEngine; using UnityEngine.UI; [System.Serializable] public class Car { public string name; public GameObject prefab; public string description; } public class CarListManager : MonoBehaviour { public Transform spawnPoint; public Text nameText; public Text descriptionText; public Car[] cars; public int currentCarIndex = 0; private GameObject currentCarInstance; private void Start() { SpawnCurrentCar(); UpdateCarInfo(); } - public void SwitchToNextCar() { currentCarIndex++; if (currentCarIndex >= cars.Length) currentCarIndex = 0; Destroy(currentCarInstance); SpawnCurrentCar(); UpdateCarInfo(); } public void SwitchToPreviousCar() { currentCarIndex--; if (currentCarIndex < 0) currentCarIndex = cars.Length - 1; Destroy(currentCarInstance); SpawnCurrentCar(); UpdateCarInfo(); } private void SpawnCurrentCar() { currentCarInstance = Instantiate(cars[currentCarIndex].prefab, spawnPoint.position, spawnPoint.rotation); } private void UpdateCarInfo() { nameText.text = cars[currentCarIndex].name; descriptionText.text = cars[currentCarIndex].description; } }