For example you could change prefab mode overlay color to be different from Game view ones. (Safe area is a rectangle.) Although please note that Apple advise against intentionally trying to design on that gap. The overlay is also useful for aiming roughly what can fit in the corner around the notch, because you can see the notch's width and also rounded corner visually where safe area does not cover such information. You can keep the data in the component to use it later. All INotchSimulatorTarget found will be sent a simulated Rect of safeArea and Rect of cutouts. Portrait or landscape orientation is determined from width vs height of the current game view's size.You need to set the game view to match your simulation device choice or it would looks weird.Effectively any image put on this should be on top of everything. Those Canvas is on "Screen Space - Overlay".AssetDatabase uses a fixed GUID to go to an overlay collection folder and load the correct one. They are with HideFlags that make it invisible on Hierarchy and do not get saved.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |