Search Unity

  1. Check out the Unite LA keynote for updates on the Visual Effect Editor, the FPS Sample, ECS, Unity for Film and more! Watch it now!
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  4. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  5. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

The Typr UnityEngine.Rect does not contain 3 arguments

Discussion in 'Unity Certification' started by Phanthom_King, Nov 9, 2018 at 12:19 AM.

  1. Phanthom_King


    Nov 23, 2016
    Hi, i am working on an drag and drop system and i can't understand the problem.

    My script:
    Rect dragIconpos = new Rect(Event.Current.mousePosition.x - BoxWidth / 2, Event.current.mousePosition.y - BoxHeight / 2, BoxHeight) :

    On an referencescript its work why not by me.