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