you don’t need to do anything special if you use it by reflection.
You will need to change the class name to be able to see it in the fuzzy finder. Rename your class to something like myitem as item collide with another class.
Make your variables public if you want to interact with them.
public class Myitem
{
public string itemDescription;
public int itemPrice;
public int itemWeight;
}
You will need to add the class as a type before being able to use it.
Tools > Bolt > Unit Options Wizard….
Click on Next button in the Assembly Options section.
In the Type Options section, you will add your class it will be in the (Global Namespace) section
Sorry, I forgot to use it as a variable, you will need to add
[Inspectable] attribute on top of your class and also on top of variables.
Bolt 1.43 ```csharp
**using Ludiq;
using UnityEngine;
[Inspectable]
public class Myitem
{
[Inspectable]
public string itemDescription;
[Inspectable]
public int itemPrice;
[Inspectable]
public int itemWeight;
[Inspectable]
public GameObject NewAnswerList;
}** ** **UnityVS** **csharp
**using Unity.VisualScripting;
using UnityEngine;
[Inspectable]
public class Myitem
{
[Inspectable]
public string itemDescription;
[Inspectable]
public int itemPrice;
[Inspectable]
public int itemWeight;
[Inspectable]
public GameObject NewAnswerList;
}** ```