Hi there,
Is there any one out there who can explain to me what I am doing wrong with my little code here. I want to activate two other object if the statement meets the requirement in my IF statement. So it needs to meet two or more to set it active. but this is not making it work. Can anyone assist?
if (boxDestroy.length == 0 && boxDestroy2.length == 0){
Debug.Log("MenuActivated");
Wait();
secondCamera.SetActive(true);
passedObj.SetActive(true);
myTimer= 0;
}