Beispiel #1
0
 // Start is called before the first frame update
 void Start()
 {
     drm    = GetComponent <DirectionRelativeMovement>();
     sl     = GetComponentInChildren <SimpleLife>();
     player = GameObject.FindGameObjectWithTag(playerTag).GetComponent <Crowd>();
     cc     = GetComponent <CharacterController>();
 }
 // Start is called before the first frame update
 void Start()
 {
     drm = GetComponent <DirectionRelativeMovement>();
 }