void Start() { eat = GameObject.FindGameObjectWithTag("Player").GetComponent <MonsterEat>(); }
void Start() { eat = GameObject.FindGameObjectWithTag("Player").GetComponent<MonsterEat>(); }
void Start() { rb = GetComponent <Rigidbody2D>(); anim = GetComponent <Animator>(); eat = GetComponent <MonsterEat>(); }
void Start() { rb = GetComponent<Rigidbody2D>(); anim = GetComponent<Animator>(); eat = GetComponent<MonsterEat>(); }