void Setup()
 {
     //Get reference to mover component;
     mover = (Mover)target;
 }
Exemple #2
0
 // Use this for initialization
 private void Start()
 {
     tr             = transform;
     mover          = GetComponent <Mover>();
     characterInput = GetComponent <CharacterInput>();
 }