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