Unity-Technologies / UnityPlayground

A collection of simple scripts to create 2D physics game, intended for giving workshops to a young audience
MIT License
855 stars 163 forks source link

When adding the Playground from the packages selection, custom Inspectors don't show up #31

Open ciro-unity opened 5 years ago

ciro-unity commented 5 years ago

(Sent by @tamtam via Slack)

When adding the Playground from the .unitypackage selection when creating a new project, custom Inspectors don't show up.

swenyan commented 5 years ago

I had the same problem and fixed it by turning on the DEFAULT_INSPECTORS macro.

Here is what I did:

  1. Go to top menu, select "Playground -> Turn Playground on"
  2. Then the API update dialogue window pops up, Select "Go Ahead. I made a backup"
  3. Wait until API update finished ( should be over in a few seconds )
  4. When API update finished, console message "Finished updating scripts / assemblies" should show up.

Then the custom inspector should come back.

If it doesn't work, open an custom inspector script to check out whether the DEFAULT_INSPECTORS macro is on. if it is still off, perhaps you need to restart Unity and do the above steps again.