// Start is called before the first frame update void Start() { cam = Camera.main; motor = GetComponent <JHNavAgentCtrl>(); }
private void Awake() { instance = this; }