Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Economy Functions

Discussion in 'Economy' started by grantar2k, Sep 21, 2023.

  1. grantar2k

    grantar2k

    Joined:
    Jun 6, 2017
    Posts:
    5
    Hello,

    Wanted to know if there is a list of function calls I can use in my scripting. For example, I found EconomyService.Instance.PlayerInventory.GetInventoryAsync() in the example code, wanted to find a listing for What the Functions of EconomyService are.
     
  2. bugfinders

    bugfinders

    Joined:
    Jul 5, 2018
    Posts:
    1,372
    thats what your IDE auto suggestions are for, or the documentation. Whatever PlayerInventory is, a) your ide should be able to either take you to the implementation, or, show you the options (usually both) and the documentation should tell you what bits they actually expect you to use and how
     
  3. grantar2k

    grantar2k

    Joined:
    Jun 6, 2017
    Posts:
    5
    The problem is i don't get any auto suggestions in my IDE which is visualstudios, so that doesn't help.
     
  4. bugfinders

    bugfinders

    Joined:
    Jul 5, 2018
    Posts:
    1,372
    then you need to set it up. Visual studio works great