Search Unity

Question Try to make a FOV with Bolt (Public struct)

Discussion in 'Visual Scripting' started by calixe00, Nov 14, 2022.

  1. calixe00

    calixe00

    Joined:
    Dec 1, 2018
    Posts:
    2
    Hi everyone,
    I would like creat a Field Of View, and the tutorial are only in C#.
    I don't understand how i can creat a public Struct with bolt...
    And i don't know how creat a ViewCastInfo...
    Someone can help me please <3

    It's the tutorial :
    Capture d’écran 2022-11-14 à 10.46.24.png
     
  2. Trindenberg

    Trindenberg

    Joined:
    Dec 3, 2017
    Posts:
    396
    You can't but you can add it as a Type in Bolt settings, then you can create them. Types are structs, or classes, written in code.