Hello, I am trying to change the color of the ATriggerBox once it spawns. I think have the correct imports in order to use GEditor, but I am getting the error below when I compile. After the ShapeColor property is changed and I call PostEditChangeProperty(ShapeColorProperty). I then, try to re-draw the viewports using GEditor. This is where I find my issue. I get this error when I try to compile. Anyone have any advice on how to use GEditor properly? Below are snippets of: Imports, Code, Error.
Everytime i get an unresolved external symbol error when compiling like this, it’s often because i forgot to declare a module in the Build.cs
There is a module name that is “UnrealEd” , and another one "PropertyEditor " that could be the issues if you didn’t added to your build (but i’m not sure that you need both, try and tell me )
Hey I was able to solve this with a few edits. Turns out I didn’t need the GEditor in the first place. Just had to call PreEditChange() on the object before actually changing the property.