Search Unity

Resolved Change Custom component Parameter Using BOLT

Discussion in 'Visual Scripting' started by MaxenceJacquot, Feb 8, 2021.

  1. MaxenceJacquot

    MaxenceJacquot

    Joined:
    Feb 1, 2021
    Posts:
    2
    I have found on the Asset store a custom component. It works great but I want to change it's parameters using Bolt.
    How do I do that?
    Capture.JPG
     
  2. ericb_unity

    ericb_unity

    Unity Technologies

    Joined:
    Nov 24, 2017
    Posts:
    167
    Hi,
    Normally, you will need to add the Assemblies and Types to Bolt to be able to interact with the component.

    In Bolt 1.43
    1. 1. Go in: Tools -> Bolt -> Unit Options Wizard...
      upload_2021-2-9_22-0-13.png
    2. In the Unity Options Wizard window, click on the + button a new field to add an assembly will show.
      upload_2021-2-9_22-0-48.png
    3. Click on the Field with the (No Assembly) written in it.
      upload_2021-2-9_22-2-56.png
    4. You will now get a list of everything you can add, try to find anything related to your component. upload_2021-2-9_22-4-24.png
    5. Click next and go to the Types section. in the Type Options section, do the same as before to add new types you may not need to add new Types.
      upload_2021-2-9_22-26-12.png
    6. Click on the Generate Button. You should now be able to see your component in your graph if you try to drag and drop it in your graph.

    What you will be looking at are normally the Set Name of the field you want to edit.
     
  3. MaxenceJacquot

    MaxenceJacquot

    Joined:
    Feb 1, 2021
    Posts:
    2
    It works! Thank you so much :D
     
    ericb_unity likes this.