コード例 #1
0
 private void Start()
 {
     currentScreen = partScreens[0];
     toAttach      = mech.GetComponent <MechComp>();
     playerPrefab.GetComponent <MechDriver>().findColliders();
 }
コード例 #2
0
 // Start is called before the first frame update
 void Start()
 {
     mechComp = GetComponent <MechComp>();
 }