Can somebody please teach me how to make a script that allows me to cause damage to an enemy while playing a custom animation? I can’t find one anywhere, whenever I copy and paste a script, it doesn’t work, and I’m a total newby to scripting so I have not the slightest clue of how to go about this. Please and thank you!
1 Answer
1You can request collaboration to create an script at Unity Forums.
Unity Answers is about helping you write your own code, not writing or finding code for you.
– robertbuCopying and pasting scripts is not a valuable skill in the game development process. Learn to code- or don't, and find a different hobby. Also, the specific thing you asked how to do has probably been asked 100 times on this site; despite usable examples existing in every sample scene and tutorial.
– KiloblarghOK, well, I tried learning how to code, and horribly failed. I looked up several tutorials and everything and all the scripts I've written had errors I didn't know how to fix.
– TakeshiFujitaIf you are not able to learn by try and error. You should search a different hobby, because you will just waste time. Yours and others.
– EbilI'm going to politely decline that suggestion. I've been wanting to do this for quite some time, and you guys are right, I should learn how to do it, so I will keep trying.
– TakeshiFujita