Manual/class-OcclusionPortal #682
Replies: 1 comment
-
The Center and Size fields of this class can't be accessed by code. Also, for some reason, they can't be accessed via reflection either. However, if you want to modify these values by code (editor only, tested on 2022.3.28) you can do so with the following code:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Manual/class-OcclusionPortal
https://docs.unity3d.com/Manual/class-OcclusionPortal.html
Beta Was this translation helpful? Give feedback.
All reactions