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