C#C
C#2y ago
brave

Difficulty in passing index

Hi guys im changing the value of the currentLevelForHUD through another script then this value goes to on enable missions.transform.GetChild(currentLevelForHUD).gameObject.SetActive(isActive); problem is currentLevelForHUD remains zero i have debugged the code the value is successfully being changed but in onenable its just remains zero
https://paste.ofcode.org/itT7PSKah2heFFBVQXx4FS
Was this page helpful?