Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

RTS like things(Need help)

Discussion in 'Getting Started' started by unity_mPzW9pTP3LGL4A, Sep 23, 2019.

  1. unity_mPzW9pTP3LGL4A

    unity_mPzW9pTP3LGL4A

    Joined:
    Sep 29, 2018
    Posts:
    5
    Hello!

    I'm noob at unity and i want to create a project that will include strategy games mechanics. Does anyone know how to do:
    - Left click on object highlights it
    - At the same time little window with information that connected to the object appears on the screen

    Thanks to everyone in advance!

    P.S. sorry for my Eng skills
     
  2. Murgilod

    Murgilod

    Joined:
    Nov 12, 2013
    Posts:
    6,122
  3. Billy4184

    Billy4184

    Joined:
    Jul 7, 2014
    Posts:
    4,667
    Murgilod is right, sounds like you need to learn the basics. This is like saying "I want to get in a car and when I sit down, I want it to move down the road and then turn left ..." you need to learn to drive!

    Also, learn to read the manual:

    https://docs.unity3d.com/ScriptReference/Input-mousePosition.html

    https://docs.unity3d.com/ScriptReference/Camera.ScreenToWorldPoint.html

    https://docs.unity3d.com/ScriptReference/Physics.Raycast.html

    https://docs.unity3d.com/ScriptReference/GameObject.SetActive.html
     
  4. unity_mPzW9pTP3LGL4A

    unity_mPzW9pTP3LGL4A

    Joined:
    Sep 29, 2018
    Posts:
    5
  5. unity_mPzW9pTP3LGL4A

    unity_mPzW9pTP3LGL4A

    Joined:
    Sep 29, 2018
    Posts:
    5
    Yeah, sounds like i want too much without learning, thank you for your reply, i'll check these manuals
     
    Billy4184 likes this.
  6. Thonnawan

    Thonnawan

    Joined:
    Aug 1, 2013
    Posts:
    2
  7. unity_mPzW9pTP3LGL4A

    unity_mPzW9pTP3LGL4A

    Joined:
    Sep 29, 2018
    Posts:
    5
  8. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    14,716
    Just be aware that first tutorial is five years old now. In the game development industry that's practically a lifetime and there will most likely be major differences you'll have to deal with. Just throwing this warning out there in case you are new with Unity. You might have to change some of the steps to make it work with newer releases.
     
    unity_mPzW9pTP3LGL4A likes this.
  9. unity_mPzW9pTP3LGL4A

    unity_mPzW9pTP3LGL4A

    Joined:
    Sep 29, 2018
    Posts:
    5
    Thank you for your warning!
    I hope this will not cause big issues. If you have any newer guides\tutorials\or any advice to do things, that i have described in the first message, i'll be very grateful.