// Use this for initialization
    void Start()
    {
        control  = FindObjectOfType <SaveLoadIndicator>();
        agent    = GetComponent <NavMeshAgent>();
        joystick = FindObjectOfType <Joystick>();

        currentTime      = -999f;
        movePoint.parent = null;
    }
Example #2
0
 // Start is called before the first frame update
 void Start()
 {
     control = FindObjectOfType <SaveLoadIndicator>();
 }