子要素の兄弟関係にあるオブジェクトを取りたい時
SituationManager tempSituationManager; GameObject Parent = hit2.transform.parent.gameObject; tempSituationManager = Parent.transform.GetComponentInChildren<SituationManager>();
SituationManager tempSituationManager; GameObject Parent = hit2.transform.parent.gameObject; tempSituationManager = Parent.transform.GetComponentInChildren<SituationManager>();