示例#1
0
 void Start()
 {
     player = gameObject.GetComponentInParent<LinkControllerScript>();
 }
示例#2
0
 void Start()
 {
     player = GameObject.FindGameObjectWithTag("Player").GetComponent <LinkControllerScript>();
 }
示例#3
0
 void Start()
 {
     player = gameObject.GetComponentInParent <LinkControllerScript>();
 }
示例#4
0
 void Start()
 {
     player = GameObject.FindGameObjectWithTag("Player").GetComponent<LinkControllerScript>();
 }