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