class
SceneExtensions
public static abstract sealed class SceneExtensions Methods
static this Boolean IsDeletable(GameObject target) static this IEnumerable<GameObject> GetAll(GameObjectDirectory target) static this Menu CreateContextMenu(Scene scene, Widget parent = null) We should make this globally reachanle at some point. Should be able to draw icons using bitmaps etc too.
static this Void CopyToClipboard(Component component) Copy the target Component to the clipboard.
component static this Void PasteValues(Component target) Paste component values from clipboard to the target Component.
target static this Boolean ShouldShowInHierarchy(GameObject target) Return true if this object should be shown in the GameObject list
static this Void PasteComponent(GameObject target) Paste a Component as a new component on the target GameObject.
target static this Void PaintComponentIcon(TypeDescription td, Rect rect, Single opacity = 1) static this Void DisableEditorRigidBodies(Scene scene) static this Void EnableEditorPhysics(Scene scene, Boolean enabled) static this Void SetTargetTransform(Rigidbody body, Transform? tx)