Search the Community
Showing results for tags 'components'.
christine.donath posted a topic in C++ ProgrammingHi guys, I downloaded Unigine yesterday and so far I am having a blast trying everything out. But I just can't seem to understand how exactly properties and components work. I understand the idea and structure behind it, but when I try to create a property file (by declaring it in a C++ class), it just doesn't work and I don't see any newly generated file in the editor. So my questions are: 1) Does the C++ class that inherits from ComponentBase need to be at a specific location to be recognized by the engine? 2) I followed your Pawn/Spinner/Projectile tutorial (but with my own variables) - set the property name, parameters, etc., registered it in AppSystemLogic and made sure that REGISTER_COMPONENT is implemented in my newly created class. When I build the solution and run the app, nothing happens. What did I miss? 3) More of a general question, because coming from Unity and Unreal Engine, it's a bit confusing: If I edit the code in Visual Studio and save it, is the Editor updated automatically or do I have to do anything else? It confuses me because I followed your programming documentation and when I run the app from VS it worked during my first steps, but if I run it from the SDK nothing happens. The workflow is really new for me... Thanks for any help!