Unity is so difficult compared to delphi. In delphi you can just say:
Rectangle1.Position.Y := 0;
Rectangle1.Position.X := screen.Width - Rectangle1.Width;
This will just change the position of the Rectangle to the top right corner of the screen. But in Unity there's so much to lean just to do this and I don't know where I start. Can someone please simplify this to me? I just want create a object at the top right corner of the screen, both in smartphones and pcs.
I'm using Unity2D
EDIT: This is the Inspector of the object that I want to create:
http://i.imgur.com/TZ3gqWR.png
And this is the code that I use to create the object:
`Instantiate(objectName, new Vector3(0, 0, 0), Quaternion.identity);`
EDIT to be more clear:
![alt text][1]
[1]: /storage/temp/85095-test.png
↧