unity enabling preview packages code example
Example: unity show preview packages
Steps to Show Preview Packages in Unity 2020.2
Edit -> Project Settings.
Find Package Manager in the window hierarchy.
Check the Enable Preview Packages box.
Click I understand.