A few months ago I posted a question for help in learning scripting, and I’m starting to get the hang of it. Anyway, I realized my problem wasn’t really learning scripting in itself, it’s applying scripts. Can anyone teach me how exactly to apply a script for a certain action or trait? For example, crouching. How do you connect the animation of the crouch, the input for the crouch, and any other things that happen in a crouch?
Hello, I have been also learning scripting and applying them to objects. On the Unity website, there is a script reference, which helped me a lot. Also, like you stated with crouching. Let,s say first you should declare an animation for crouching, or have the player get smaller as a simulation. Then you think who should be crouching? Basically try breaking up functions into simple questions. Hope this helps and I’m sorry if I didn’t explain good enough.