Search Unity

Object Disappears while Drag/Drop_C#

Discussion in 'Scripting' started by heyramb89, Jan 12, 2019.

  1. heyramb89

    heyramb89

    Joined:
    Dec 29, 2018
    Posts:
    29
    Hi,
    I was trying drag drop from some tutorial.
    Everything is working fine but just one thing is not.
    While Dragging & Dropping from one place to the other object disappears.
    When drops it appears on the perfect place where I have dropped it.
    Let me tell you that the object is a prefab.
    And there are slots where one can drag & drop objects from one place to the another.
    Please help.
    I am new to Unity & C#
     

    Attached Files: