コード例 #1
0
 // Start is called before the first frame update
 private void Awake()
 {
     PC = new PlayerMini_Control();
     CW = GameObject.FindObjectOfType <CounterBullet_Work>();
     PS = GameObject.FindObjectOfType <PlayerScript>();
 }
コード例 #2
0
 void Start()
 {
     CB = GameObject.FindObjectOfType <CounterBullet_Work>();
 }