private void Awake() { animator = GetComponent <Animator>(); spriteRenderer = GetComponentsInChildren <SpriteRenderer>(); LevelController.AddAttacker(); }
private void Start() { levelController = FindObjectOfType <LevelController>(); levelController.AddAttacker(); }