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