Site icon Tangled Reality Studios

Order of GetWorldCorners in Unity

GetWorldCorners returns the positions of the corners of a RectTransform in world space. It drives me nuts that I can’t just get the order of the corners in the Get World Corners array by searching for it in Google. To fix this, I checked it out myself. Next time you need to know which is which from the Get World Corners array, you’ll find it here.

Order of GetWorld Corners:

0 – Bottom Left

1 – Top Left

2 – Top Right

3 – Bottom Right

I hope this helps someone else out. If nothing else, I’m sure it’ll help me later.

Exit mobile version

Fatal error

: Uncaught wfWAFStorageFileException: Unable to verify temporary file contents for atomic writing. in /var/www/tangledrealitystudios.com/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php:51 Stack trace: #0 /var/www/tangledrealitystudios.com/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php(658): wfWAFStorageFile::atomicFilePutContents() #1 [internal function]: wfWAFStorageFile->saveConfig() #2 {main} thrown in /var/www/tangledrealitystudios.com/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php on line 51