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

Disable Script Via the Bolt

Discussion in 'Visual Scripting' started by VictorShabal, Feb 15, 2021.

  1. VictorShabal


    Feb 15, 2021
    Sup guys! I am new to the bolt, faced with such issue. I need to make a trigger that will disable c# that was set to the object. Have found a guide about how to disable components, but can not find anything for scripts
    Your help would be highly appreciated
  2. ericb_unity


    Unity Technologies

    Nov 24, 2017
    Your script is assigned as a component on a GameObject?

    Bolt 1.4.3
    You will need to import the Assembly and add your types.
    Open the Unit Option Wizard window.

    Tools->Bolt->Unit Option Wizard...

    In the Assembly Options list, add your script
    Click next to go in the Types section
    In the Type Options section, add your types if needed.
    Click generate.

    If everything worked, you should be able to drag and drop the component with your script in the Visual Scripting Graph and see the fuzzy finder with your script section.
    art092 likes this.