Parameter Edit

Function has its parameters, and the user need to decide what the function should be. This way I’m adding ┬áthe function that when you double click the item in actionlist you will be able to edit them.

Here is a picture showing how it look like:

parameterEdit1

 

Input parameter in the pop-up parameter window and press OK to save the parameter to the item in actionlist.

For our game there are either two parameters or one parameter for a certain function. When there are two parameters for the function, there will be two input boxes showing in the parameter window.

Following are some code of how I realize it:

parameterEdit2 parameterInput3

 

Leave a Reply

You must be logged in to post a comment.