Version: 2023.1
언어: 한국어

OverlayCanvas

class in UnityEditor.Overlays


인터페이스 구현:ISerializationCallbackReceiver

매뉴얼로 전환

설명

OverlayCanvas is a container for collections of Overlays.

Every EditorWindow has an OverlayCanvas, but only windows that opt-in to Overlay support will display Overlays. See ISupportsOverlays for more information.

Public 함수

AddAdd an Overlay to this canvas. Added Overlays will be displayed in the associated EditorWindow until they are removed.
OnAfterDeserializeInvoked after OverlayCanvas is deserialized.
OnBeforeSerializeInvoked before OverlayCanvas will be serialized. This is used to store Overlay layout data.
RemoveRemove an Overlay from this canvas. Removed Overlays are disassociated from OverlayCanvas and the related EditorWindow, but not destroyed. This means you are able to move a single Overlay between multiple windows.