I struggle with classes in Bolt or maybe cause of the lack of my c# skills. I have created a new class with a c# script:
public class DropItem : MonoBehaviour
public GameObject Gameobject;
public Vector3 SpawnArea;
public Vector3 SpawnAreaCenter;
public DropItem(GameObject GO, Vector3 SA, Vector3 SACenter)
Gameobject = GO;
SpawnArea = SA;
SpawnAreaCenter = SACenter;
Now I need to create a new DropItem in runtime. I have created a Graph-variable of type DropItem. When I leave it empty it goes null on enterplaymode, but I read somewhere that Bolt can transform this dynamically, so should be okay. The Problem is, that I cant create a "new DropItem"-node like the "new Vector3"-node and assign my Values.
What can I do about it?
Customer support service by UserEcho