Sign in to follow this  

Registering Properties

This topic is 2587 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have seen in several game engines before where there will be "GameObject" or some sort of base class for mostly game objects and through macros, there will be a way to register properties for the class. What I mean by properties is say for example there is a "int Height;" in the class and you write your typical get/set function. You would then register the Height property and it will some how be saved so that way in the future, your editor would be able to use this property (with having to modify the editor of course). The main idea of this because that you don't have to write specific code for every property you want to register.

My question is, how is this possible? Does anyone have any good examples or tutorials on how this is done?

Share this post


Link to post
Share on other sites
Very interesting, I read the first link and I am going through the Helium code now ... is there any suggested tutorials on how to do this from scratch?

Share this post


Link to post
Share on other sites

This topic is 2587 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this