Clipboard

Functions for accessing the clipboard.

namespace Sirenix.Utilities.Editor
{
public static class Clipboard
}

Requirements

Namespace: Sirenix.Utilities.Editor
Assembly: Sirenix.OdinInspector
Version: 2.0.0.0

Static Properties

Return Type Definition Description
CopyModes CurrentCopyMode Gets the current copy mode.

Static Methods

Return Type Definition Description
bool CanPaste(Type) Determines whether this instance can paste the specified type.
bool CanPaste<T>() Determines whether this instance can paste the specified type.
void Clear() Clears this instance.
void Copy<T>(T) Copies the specified object.
void Copy<T>(T, CopyModes) Copies the specified object.
bool IsEmpty() Determines whether or not the Clipboard contains any instance.
Object Paste() Copies or gets the current object in the clipboard.
T Paste<T>() Copies or gets the current object in the clipboard.
bool TryPaste<T>(ref T) Tries the paste.