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. Dismiss Notice

How do i open scriots

Discussion in '2D' started by RepUnityz65, Feb 8, 2021.

  1. RepUnityz65

    RepUnityz65

    Joined:
    Feb 8, 2021
    Posts:
    7
    Im having problems opening scripts and implementing them into a sprite
     
  2. RepUnityz65

    RepUnityz65

    Joined:
    Feb 8, 2021
    Posts:
    7
    and yes i indeed wanna change my name
     
  3. Cornysam

    Cornysam

    Joined:
    Feb 8, 2018
    Posts:
    1,333
    Double click the script name either in the inspector of a gameobject or go to project window and assets folder and find it that way. Double click and Visual Studio (or whatever code editor you use) should open.

    You may want to watch some beginner tutorials to get familiar with Unity.
     
  4. RepUnityz65

    RepUnityz65

    Joined:
    Feb 8, 2021
    Posts:
    7
    I'm Still having troubles. Im using the 64 bit windows version. Is Visual studio in that version? Screenshot 2021-02-09 212458.png
     
  5. Vryken

    Vryken

    Joined:
    Jan 23, 2018
    Posts:
    2,106
  6. RepUnityz65

    RepUnityz65

    Joined:
    Feb 8, 2021
    Posts:
    7
  7. RepUnityz65

    RepUnityz65

    Joined:
    Feb 8, 2021
    Posts:
    7
    I can't because i need the admin code, But somebody else can.
     
  8. Vryken

    Vryken

    Joined:
    Jan 23, 2018
    Posts:
    2,106
    Do you mean you don't have administrator permissions on your PC?
     
  9. RepUnityz65

    RepUnityz65

    Joined:
    Feb 8, 2021
    Posts:
    7
    ok i got it but HOW DO I USE IT i dont see the visual studio tab on unity
     
  10. Vryken

    Vryken

    Joined:
    Jan 23, 2018
    Posts:
    2,106
    It's an entirely separate application from Unity.
    Inside Unity, navigate to: Edit > Preferences > External Tools and make sure "External Script Editor" is set to Visual Studio.

    That's all you need to do. From then on, opening a C# script in Unity should launch/switch over to Visual Studio to edit the script in.
     
  11. RepUnityz65

    RepUnityz65

    Joined:
    Feb 8, 2021
    Posts:
    7
    beep bop skiddy bap
     
  12. Vryken

    Vryken

    Joined:
    Jan 23, 2018
    Posts:
    2,106
    Does uh, that mean it worked?
     
    Cornysam likes this.