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.

Bolt - how call a C# bool variable into bolt ?

Discussion in 'Visual Scripting' started by Und3rscor_, May 11, 2021.

  1. Und3rscor_

    Und3rscor_

    Joined:
    Mar 26, 2020
    Posts:
    1
    Hello,

    Is there a way with bolt to call a bool variable form a C# ?
    Basicly i'm making a rewards video ads button, I'm mostly using the C# code available on the Unity guide. https://unityads.unity3d.com/help/unity/integration-guide-unity#rewarded-video-ads
    And I want the public void OnUnityAdsDidFinish's result been a condition to start a flow graph. So I made a bool variable who is set to true when the ads finish properly.

    And now i'm looking to a solution to call the Bool variable into my flow graph.
    I have look around a lot without find any solutions ><"


    Thanks in advance for any answer :)