void Start() { instance = this; polyColl = GetComponent <PolygonCollider2D>(); capsColl = GetComponent <CapsuleCollider2D>(); }
void Start() { total = pathway.Count; target = pathway[1]; anim = GetComponent <Animator>(); player = GameObject.Find("Bob (Player)"); coll_tran = coll.GetComponent <Transform>(); collScript = coll.GetComponent <NurseCollider>(); }