コード例 #1
0
 // Use this for initialization
 void Start()
 {
     myPC = GetComponentInParent <projectilecontroller>();
 }
コード例 #2
0
 // Start is called before the first frame update
 void Awake()
 {
     myPC = GetComponentInParent <projectilecontroller>();
 }