Finally, inside the script, you can use Unity's GameObject . import System. ... gameObject; } Then, when the player attacks, if its distance to the obj is ...
確定! 回上一頁