LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

DragAndDrop.SetGenericData

public static void SetGenericData(string type, object data);

Description

Set data associated with current drag and drop operation.