Exemplo n.º 1
0
 void Start()
 {
     moveParts   = GetComponent <moveParts>();
     charControl = GetComponent <characterControl>();
 }
Exemplo n.º 2
0
 private void Awake()
 {
     player = GameObject.FindGameObjectWithTag("Player").GetComponent <characterControl>();
 }