Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Can't reference script inside package? Heretic demo

Discussion in 'Package Manager' started by Vectrex, Aug 17, 2020.

  1. Vectrex

    Vectrex

    Joined:
    Oct 31, 2009
    Posts:
    267
    I'm using the Human model from Unity and just trying to reference a script type. But no matter what I do, it doesn't recognise it.
    I'm not trying to change the script, I just want to mess with the imported demo guy's script instances.

    • The package's script
    upload_2020-8-17_14-8-19.png

    • The script's namespace
    upload_2020-8-17_14-9-48.png

    • My code. Doesn't matter if I use a 'using' or directly spell it out.
    upload_2020-8-17_14-10-58.png

    • I've added these packages to my manifest.json
    "com.unity.demoteam.digital-human.sample": "https://github.com/Unity-Technologies/com.unity.demoteam.digital-human.sample.git",
    "com.unity.demoteam.digital-human": "https://github.com/Unity-Technologies/com.unity.demoteam.digital-human.git",

    "com.unity.demoteam.attributes": "https://github.com/Unity-Technologies/com.unity.demoteam.attributes.git"
     

    Attached Files: