Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

Collecting objects

Discussion in 'Scripting' started by Steve79, Oct 23, 2019.

  1. Steve79


    Oct 4, 2018

    I want to make player collects object on the ground and so the collecting script should run when the player's Crouching animation is played.
    I write the code for collecting but I cannot make palyer do the action right when I want it do it.
    Can you help me?
  2. GameDevCouple


    Oct 5, 2013
    This is not feedback so it should not be marked as such, its not going to get you responses faster.

    Secondly, this is not a support forum, try posting in the scripting section. Even then though, they will need actual context and some code to see what you have done, what you describe isnt very informative so its difficult to tell what you have done + what is working and isnt working and assess what to advise based on that.

    So to recap: post in scripting section, without a feedback tag, and add the code that you currently have so people can look at it and help you.
    Joe-Censored likes this.