how to activate enemies when there is a certain distance from player and enemy,and enemy is generated prefab?

后端 未结 0 556
余生分开走
余生分开走 2020-12-15 07:29

it works if i place enemy in starting zone but it doesn\'t if its generated with environment in 2d game.

distance between enemy and player function

pri         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题