Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: joduffy on July 10, 2013, 01:09:44 AM
-
Hi,
I am trying to display a custom list in the playmaker editor window like what happens with the unity3d inspector panel.
But I can't seem to get it to work.
This is the example of the custom list I want to dispay
public List<KinectWrapper.Gestures> DetectGestures;
Here is a photo of what is being displayed in playmaker editor and how it is being displayed in the inspector panel:
(http://)
-
Hi,
one way to do this is to create a custom editor for that class, and build the action interface yourself, then you have total freedom.
if you want to let playmaker handle the display, it's possible too. I have attached a example using custom class, and a custom inspector on a custom action.
In your case, you'll need to convert the list into an array, then it will be all fine.
bye,
Jean
-
Thanks for the information.
I am getting this error though:
Assets/custom class/Editor/CustomClassActionTestEditor.cs(43,56): error CS0103: The name `VariableEditor' does not exist in the current context
Assets/custom class/Editor/CustomClassActionTestEditor.cs(44,58): error CS0103: The name `VariableEditor' does not exist in the current context
what is VariableEditor
Thanks for all your help Jean
-
Hi,
You need to update PlayMaker from the asset store, that's all.
bye,
Jean