- Home /
Question by
laurG · Jan 21, 2019 at 04:59 PM ·
assemblydefinition
Reference Assembly-CSharp from within a custom Assembly Definition
For example purpose, I made this project:
As you can see, I have an Assembly Definition in the Main/Primary/PPrimary folder and a PPrimary script there which has a reference to scripts outside of this folder.
(Notice the errors)
As expected, the PPrimary script is compiled in a separate project:
How would I go about referencing something from the Assembly-CSharp from inside the PPrimary definition? (without creating a new definition for the other scripts and referencing it directly in the PPrimary definition's inspector)
As per Unity documentation I was expecting that everything from Assembly-CSharp was included automatically inside all custom Assembly definitions.
Thank you in advance!
capture.png
(227.0 kB)
2.png
(12.4 kB)
Comment