private void CallEditorDragFunctions()
{
Event current = Event.current;
SpriteUtility.OnSceneDrag(this);
if ((current.type != EventType.Used) && (DragAndDrop.objectReferences.Length != 0))
{
if (this.m_DragEditorCache == null)
{
this.m_DragEditorCache = new EditorCache(EditorFeatures.OnSceneDrag);
}
foreach (Object obj2 in DragAndDrop.objectReferences)
{
if (obj2 != null)
{
EditorWrapper wrapper = this.m_DragEditorCache[obj2];
if (wrapper != null)
{
wrapper.OnSceneDrag(this);
}
if (current.type == EventType.Used)
{
break;
}
}
}
}
}