public Vector3 SetThunderLoc() { for (int i = 0; i < usedCollectList.childCount; i++) { CPickCollection pickCollection = usedCollectList.GetChild(i).GetComponent <CPickCollection>(); if (pickCollection.CanOnFire()) //&& Random.Range(0.0f, 1.0f) > 0.85f) { fireTree = pickCollection; fireTree.StartFire(); return(pickCollection.transform.position); } } return(new Vector3(-60.0f, 0.0f, 0.0f)); }