Esempio n. 1
0
 // Use this for initialization
 void Start()
 {
     thePlayer = FindObjectOfType <CharacterMovementTile>();
     tcontrols = FindObjectOfType <TouchControls>();
 }
Esempio n. 2
0
 void Start()
 {
     anim = player.GetComponent<Animator>();
     thePlayer = FindObjectOfType<CharacterMovementTile>();
 }
 void Start()
 {
     anim      = player.GetComponent <Animator>();
     thePlayer = FindObjectOfType <CharacterMovementTile>();
 }