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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Script component

Discussion in 'Scripting' started by pninku, Aug 10, 2020.

  1. pninku

    pninku

    Joined:
    Apr 17, 2018
    Posts:
    3
    Hello everyone,
    I wanted to know how we find the scripts linked to a component?
    I would like to modify a parameter of a component but I do not know how to find the script which is attached to it ...:confused:

    Thank You :)
     
  2. PraetorBlue

    PraetorBlue

    Joined:
    Dec 13, 2012
    Posts:
    7,724
    When looking at a component in the inspector the script file is listed at the top:
    upload_2020-8-10_9-46-4.png

    You can double click the script to open it in your code editor.
     
    Bunny83 likes this.
  3. pninku

    pninku

    Joined:
    Apr 17, 2018
    Posts:
    3
    Thank you !