Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Drag 'n Drop custom file (.vox)

Discussion in 'Scripting' started by RiokuTheSlayer, May 31, 2015.

  1. RiokuTheSlayer

    RiokuTheSlayer

    Joined:
    Aug 22, 2013
    Posts:
    356
    Hey all, Rioku here again with another small question.

    I have a custom file importer for the .vox format (Based on this using my own meshing system), and I'd like to know how to have a drag and drop for the files rather than inserting a path to the file.

    As I said, currently in the GUI I just have it load from a path specified in the inspector, it would help a lot if I could drag the files onto the variable to use for importing.
     
  2. SAOTA

    SAOTA

    Joined:
    Feb 9, 2015
    Posts:
    220
    did you ever figure this out?
     
  3. Nigey

    Nigey

    Joined:
    Sep 29, 2013
    Posts:
    1,129
  4. RiokuTheSlayer

    RiokuTheSlayer

    Joined:
    Aug 22, 2013
    Posts:
    356
    I'm not working on this anymore, but the problem is still how to display the actual file as selected in the editor.

    I could do this now if I wanted to, but I'm not working on this anymore.