playMaker

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - jrDev

Pages: [1] 2 3 4
1
PlayMaker Help / Re: Deleting Actions In State
« on: April 29, 2020, 07:53:42 PM »
Hello @jeanfabre,

I know that response meant well but doesn't change the fact that Delete All selection is already there and it would be a good option to also have Delete Disabled Actions because that's the workflow I use and pretty sure others do too when testing out different actions. It just makes the process much quicker even if its just 3 disabled actions on one state. This example would be 1 click instead of 3 or potentially more. Please consider adding, it shouldn't be that trivial.

Thanks,
jrDev

2
PlayMaker Help / Re: Adding action from Editor Script
« on: April 28, 2020, 09:19:46 PM »
Nevermind,

I found it:

HutongGames.PlayMakerEditor.ActionUtility.AddAction()

Thanks,
jrDev

3
PlayMaker Help / Adding action from Editor Script (SOLVED)
« on: April 28, 2020, 09:04:29 PM »
Hello,

Is there a way to add an action from my own Editor Window to the selected state? Can I write a script to make this happen?

Thanks,
jrDev

4
Hello Javelin_IA,

Did you figure this out? If not, I did post above the solution is to make sure that the Playmaker Proxy is not observing itself in the Observed components section.

Thanks,
jrDev

5
Hi,

 what email did you use and what date was the bug report from?

Bye,

 Jean
Hey,

I don’t remember. Did you not receive anything?

Thanks,
jrDev

6
Hello,

I submitted a bug report about this a while ago! Let me know if you receive?

Thanks,
jrDev

7
PlayMaker Bug Reporting / Deleting Event from Events Window throws error
« on: January 01, 2020, 09:33:49 PM »
Hello,

I get this error when I delete an event from the Events Window.

InvalidOperationException: Collection was modified; enumeration operation may not execute.
System.ThrowHelper.ThrowInvalidOperationException (System.ExceptionResource resource) (at <567df3e0919241ba98db88bec4c6696f>:0)
System.Collections.Generic.List`1+Enumerator[T].MoveNextRare () (at <567df3e0919241ba98db88bec4c6696f>:0)
System.Collections.Generic.List`1+Enumerator[T].MoveNext () (at <567df3e0919241ba98db88bec4c6696f>:0)
HutongGames.PlayMakerEditor.GlobalEventsWindow.DoEventTable () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/GlobalEventsWindow.cs:287)
HutongGames.PlayMakerEditor.GlobalEventsWindow.DoGUI () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/GlobalEventsWindow.cs:133)
HutongGames.PlayMakerEditor.BaseEditorWindow.OnGUI () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/BaseEditorWindow.cs:117)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <567df3e0919241ba98db88bec4c6696f>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <567df3e0919241ba98db88bec4c6696f>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <567df3e0919241ba98db88bec4c6696f>:0)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:359)
UnityEditor.HostView.Invoke (System.String methodName) (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:353)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:329)
UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect, System.Boolean floatingWindow, System.Boolean isBottomTab) (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:374)
UnityEditor.DockArea.OldOnGUI () (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:341)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:298)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:483)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:466)
UnityEngine.UIElements.IMGUIContainer.HandleEvent (UnityEngine.UIElements.EventBase evt) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:447)
UnityEngine.UIElements.MouseCaptureDispatchingStrategy.DispatchEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/Events/MouseCaptureDispatchingStrategy.cs:93)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/EventDispatcher.cs:280)
UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/EventDispatcher.cs:156)
UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/Panel.cs:190)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:255)
UnityEngine.UIElements.UIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:78)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at /Users/builduser/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)

Thanks,
jrDev

8
General Discussion / Can I Disable the "Click To Edit Template" step?
« on: December 17, 2019, 07:48:19 PM »
Hello,

I know this step is good to have but I would like to be able to skip this clicking step. Is there currently an option to turn this off?

Thanks,
jrDev

9
Hi,

 could it be that the array has only null elements or none? which then could mean that internally, it can't figure out what's the type for this array?

Bye,

 Jean
Hey,

It was because on the the array items didn't have that variable listed in it's fsm.

Thanks,
jrDev

10
Hello,

I am getting this error when I use either GetFsmArray or SetFsmArray. The weird issue is that I have used these actions before in another part of the project I and don't get the error. Current use case is that I am looping through an array of gameobjects and the current index object I try to retrieve and set an array from it's fsm. Any insight?

Thanks,
jrDev

11
PlayMaker Help / Re: pun 2 OnPhotonInstantiate Event?[SOLVED]
« on: November 07, 2019, 09:23:05 AM »
Hello,

Late response but thanks for adding!

Thanks,
jrDev

12
PlayMaker Help / Deleting Actions In State
« on: November 07, 2019, 09:15:59 AM »
Hello,

Is there a way to delete all actions that are disabled in a state? Doing them one by one is time consuming but I only see the Delete All Actions button. Is there a Delete All Disabled Actions button?

Thanks,
jrDev

13
PlayMaker Help / PUN actions naming conventions.
« on: October 31, 2019, 08:09:42 AM »
Hello,

This is primarily directed and @jeanfabre. What I want to know if the naming convention of the PUN Actions with the script name using "Pun" and the action name using "PhotonNetwork" was intentional. Eg PunGetPlayerProperties.cs and "public class PhotonNetworkGetPlayerProperties : FsmStateAction" using these names. It seems rather weird that this would be intentional since you can't "Find" or "Edit" script because the names are different and Unity will throw an error. Please look into this and fix with update to Ecosystem.

Thanks,
jrDev

14
PlayMaker Help / Re: UI Click Event Bug?
« on: October 31, 2019, 08:05:40 AM »
Hi,

 PlaymakerUIClickEvent is added under the hood to catch the unity events and dispatch them inside the Fsm so that you can get the system events to work.

it's odd though, cause I can't reproduce this...

are you working on a prefab?
what version of Unity and playmaker are you on?

Bye,

 Jean
Hello,

I am using Prefabs and I just updated to new versions of Unity and Playmaker so I need to retest to see if this is still an issue.

Also, what you are saying is that the UIClickEvent script should automatically be added to gameobject that I add the UI Click event to?

Thanks,
jrDev

15
PlayMaker Help / Re: UI Click Event Bug?
« on: October 29, 2019, 07:40:50 PM »
Hi,

just so that I understand, you have copied the fsm component using the Unity inspector right click menu right?

Bye,

 Jean
Hello,

Yes I copied using the Unity component copier from inspector.

On another note, when does the PlaymakerUIClickEvent.cs script get added to button object. Does playmaker do this itself cause I can't remember if I manually added this. Also no tutorials mention this script.

Thanks,
jrDev

Pages: [1] 2 3 4