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.


Topics - wheretheidivides

Pages: [1] 2 3 ... 12
1
Playmaker Help / Unity 2017 Console errors[SOLVED]
« on: July 13, 2017, 07:27:07 PM »
So I get these console errors after upgrading to unity 2017. Any chance they can be fixed?

Assets/PlayMaker/Actions/Animator/GetAnimatorCurrentStateInfo.cs(147,29): warning CS0618: `UnityEngine.AnimatorStateInfo.nameHash' is obsolete: `Use AnimatorStateInfo.fullPathHash instead.'

Assets/PlayMaker/Actions/Animator/GetAnimatorNextStateInfo.cs(145,29): warning CS0618: `UnityEngine.AnimatorStateInfo.nameHash' is obsolete: `Use AnimatorStateInfo.fullPathHash instead.'

Assets/PlayMaker/Actions/ComponentAction.cs(62,39): warning CS0618: `UnityEngine.NetworkView' is obsolete: `Unity Multiplayer and NetworkIdentity component instead.'

Assets/PlayMaker uGui/Editor/PlayMakerUGuiCanvasRaycastFilterEventsProxyInspector.cs(17,20): warning CS0618: `UnityEditor.SerializedObject.UpdateIfDirtyOrScript()' is obsolete: `UpdateIfDirtyOrScript has been deprecated. Use UpdateIfRequiredOrScript instead.'

Assets/PlayMaker uGui/Editor/PlayMakerUGuiDragEventsProxyInspector.cs(17,20): warning CS0618: `UnityEditor.SerializedObject.UpdateIfDirtyOrScript()' is obsolete: `UpdateIfDirtyOrScript has been deprecated. Use UpdateIfRequiredOrScript instead.'

Assets/PlayMaker uGui/Editor/PlayMakerUGuiDropEventsProxyInspector.cs(17,20): warning CS0618: `UnityEditor.SerializedObject.UpdateIfDirtyOrScript()' is obsolete: `UpdateIfDirtyOrScript has been deprecated. Use UpdateIfRequiredOrScript instead.'

Assets/PlayMaker uGui/Editor/PlayMakerUGuiPointerEventsProxyInspector.cs(17,20): warning CS0618: `UnityEditor.SerializedObject.UpdateIfDirtyOrScript()' is obsolete: `UpdateIfDirtyOrScript has been deprecated. Use UpdateIfRequiredOrScript instead.'

Assets/PlayMaker/Actions/Editor/LookAtActionEditor.cs(70,25): warning CS0618: `UnityEditor.Handles.ConeCap(int, UnityEngine.Vector3, UnityEngine.Quaternion, float)' is obsolete: `Use ConeHandleCap instead'

Assets/PlayMaker/Actions/Editor/MoveTowardsActionEditor.cs(64,21): warning CS0618: `UnityEditor.Handles.ConeCap(int, UnityEngine.Vector3, UnityEngine.Quaternion, float)' is obsolete: `Use ConeHandleCap instead'




2
So I have a game that exports fine to android and windows 86/64. However, when I try to export to windows 10 it gives the following error. Is this a playmaker error?  I am using unity 5.3.4p6 and PM 1.8.0f43.
Any Ideas?
===========================
Unhandled Exception: System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.

at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool)

at System.Reflection.Assembly.GetTypes () [0x00000] in :0

at Mono.CSharp.RootNamespace.ComputeNamespaces (System.Reflection.Assembly assembly, System.Type extensionType) [0x00000] in :0

at Mono.CSharp.RootNamespace.ComputeNamespace (Mono.CSharp.CompilerContext ctx, System.Type extensionType) [0x00000] in :0

at Mono.CSharp.GlobalRootNamespace.ComputeNamespaces (Mono.CSharp.CompilerContext ctx) [0x00000] in :0

at Mono.CSharp.Driver.LoadReferences () [0x00000] in :0

at Mono.CSharp.Driver.Compile () [0x00000] in :0

at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] in :0

Missing method .ctor in assembly C:\0-ORIGINALS\Unity3D\BLASTO-Space Bombardiers-MAIN\Assets\Plugins\PlayMaker\Metro\PlayMaker.dll, type System.Runtime.Versioning.TargetFrameworkAttribute The class System.Runtime.Versioning.TargetFrameworkAttribute could not be loaded, used in PlayMaker Can't find custom attr constructor image: C:\0-ORIGINALS\Unity3D\BLASTO-Space Bombardiers-MAIN\Assets\Plugins\PlayMaker\Metro\PlayMaker.dll mtoken: 0x0a000002

==========================
 Error building Player because scripts had compiler errors

3
Assets/PlayMaker Custom Actions/uGui/EventSystem/GetLastPointerEventData.cs(221,74): warning CS0618: `UnityEngine.EventSystems.PointerEventData.worldNormal' is obsolete: `Use either pointerCurrentRaycast.worldNormal or pointerPressRaycast.worldNormal'


Assets/PlayMaker Custom Actions/uGui/EventSystem/GetLastPointerEventData.cs(226,76): warning CS0618: `UnityEngine.EventSystems.PointerEventData.worldPosition' is obsolete: `Use either pointerCurrentRaycast.worldPosition or pointerPressRaycast.worldPosition'


Assets/PlayMaker Custom Actions/uGui/uGuiInputFieldOnValueChangeEvent.cs(36,53): warning CS0618: `UnityEngine.UI.InputField.onValueChange' is obsolete: `onValueChange has been renamed to onValueChanged'


Assets/PlayMaker Custom Actions/uGui/uGuiInputFieldOnValueChangeEvent.cs(50,45): warning CS0618: `UnityEngine.UI.InputField.onValueChange' is obsolete: `onValueChange has been renamed to onValueChanged'


Assets/PlayMaker Custom Actions/uGui/uGuiInputFieldScreenToLocal.cs(65,59): warning CS0618: `UnityEngine.UI.InputField.ScreenToLocal(UnityEngine.Vector2)' is obsolete: `This function is no longer used. Please use RectTransformUtility.ScreenPointToLocalPointInRectangle() instead.'

Assets/PlayMaker Utils/Editor/PlayMakerEditorUtils.cs(21,40): warning CS0618: `UnityEditor.EditorApplication.SaveCurrentSceneIfUserWantsTo()' is obsolete: `Use EditorSceneManager.SaveCurrentModifiedScenesIfUserWantsTo'


Assets/PlayMaker Utils/Editor/PlayMakerEditorUtils.cs(45,78): warning CS0618: `UnityEditor.EditorApplication.currentScene' is obsolete: `Use EditorSceneManager to see which scenes are currently loaded'


Assets/PlayMaker Utils/Editor/PlayMakerEditorUtils.cs(55,60): warning CS0618: `UnityEditor.EditorApplication.currentScene' is obsolete: `Use EditorSceneManager to see which scenes are currently loaded'

4
Playmaker Help / How do you change a PM variable from c#? [SOLVED]
« on: February 15, 2016, 07:19:56 AM »
I know this has probably been asked before but I can't find a answer.  I am writing a game that uses some c#, javascript and playmaker.  I want the variables to be in playmaker, so was wondering if you could change a playmaker global variable from c#.

The other option is just to make all variables in c# script and access then from playmaker.  I can do this as well, but am trying to move more towards playmaker for everything.

5
Playmaker Help / Is translate action messed up?
« on: February 04, 2016, 04:48:46 PM »
I have been trying to use translate but it seems to not work right.  I am using RC40 of PM with latest unity.

I created a capsule that I want to fall down.  It instead goes to bottom left.  If you look at the XYZ you will see it changes multiple areas and not just the Y axis.  I have tried turning stuff off and changing the rotation but it still keeps doing this.

6
Playmaker Help / How do you set something with a mouse (move left/right)?
« on: February 02, 2016, 01:21:52 PM »
So basically, I want to use a mouse to move a paddle in breakout left and right.  I have 'get axis' and store the float in a variable.  So how would I use this to move the paddle left and right?  This has got to have been asked before,  I can do it in C# but not sure in playmaker.

Edit:
I tried using the action 'follow mouse' but it follows on X and Y.  I just needed 1 axis.  Maybe someone could modify that action to allow X, Y or both?

7
Feature Requests / Change green to darker color
« on: December 20, 2015, 08:33:09 PM »
In the PM editor, the green is wimpy.  Either make is a darker shade or make it bolder.  I can see the other colors buy can not see the green lines in the editor.

8
Playmaker Help / How do you check/read a javascript variable?
« on: December 18, 2015, 12:52:15 AM »
So I have a variable being set in javascript "CoinsHas.coinsLeft".  The player must have enough coins to play the game.  Otherwise, he must watch a video to get coins.  When he doesn't have any coins left, the button to play is inactive.  The button is shown, but he can not use it.  When I use the joystick with playmaker, I bypass this because I am not checking to see if "CoinsHas.coinsLeft" <0.  the joystick is being controlled by playmaker.  So I need to check what the value is from playmaker so I can decide if to allow the person to use the button.

So I was wondering how do I see what the value of this JavaScript Integer from playmaker?  Also, just so I know, how do you change the value from playmaker as well?

I've tried set property but can't find where the script part is.
here is setup for javascript variable so it does not show up in inspector.
public static int coinsLeft = 0;

9
Playmaker Help / 1.80 R37 build questions
« on: December 15, 2015, 11:00:16 PM »
- Version 1.744 will not export out to windows 10 store universal.  I was wondering if the beta 1.8 RC 37 will.  Also, are there any issues by doing so (bugs).

- Version 1.774 you can not change the name of global variables.  Does 1.80 RC 37 allow you to change the names of global variables?

- Do you still need array maker in 1.80 RC 37?


10
Playmaker Bug Reporting / Errors after upgrading to PM beta
« on: December 13, 2015, 10:43:51 AM »
So I did a fresh install of playmaker from the unity store.  Then I upgraded to beta version.  Now I get the following errors.  It says it updated the FSMs and to save.   I do, but after playing the game they pop up again.

Also the UGUI errors are still there from previous version of playmaker.

==========================
FSM Updated: AncientWarrior : FSM Idle
Please re-save the scene/project.
UnityEngine.Debug:LogWarning(Object, Object)
HutongGames.PlayMaker.Fsm:CheckIfDirty() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1001)
HutongGames.PlayMaker.Fsm:InitData() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1266)
HutongGames.PlayMaker.Fsm:Init(MonoBehaviour) (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1169)
PlayMakerFSM:Init() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:240)
PlayMakerFSM:Awake() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:202)
======================================
Assets/PlayMaker Custom Actions/uGui/EventSystem/GetLastPointerEventData.cs(221,74): warning CS0618: `UnityEngine.EventSystems.PointerEventData.worldNormal' is obsolete: `Use either pointerCurrentRaycast.worldNormal or pointerPressRaycast.worldNormal'

================================
Assets/PlayMaker Custom Actions/uGui/EventSystem/GetLastPointerEventData.cs(226,76): warning CS0618: `UnityEngine.EventSystems.PointerEventData.worldPosition' is obsolete: `Use either pointerCurrentRaycast.worldPosition or pointerPressRaycast.worldPosition'

11
Playmaker Help / Triggering from C# a playmaker FSm event
« on: December 07, 2015, 09:12:23 PM »
So I have a C# script and want to play a playmaker event.  I am not sure all about broadcasting but here is what I have that doesn't work.

C# script
PlayMakerFSM.BroadcastEvent("TextFX-BestScore");

in playmaker I have a global event set up.  So I guess I am trying to trigger this global event so it can do stuff.  It doesn't.

12
Playmaker Help / Audio Play action. How to get it to do reset?
« on: December 05, 2015, 02:15:33 PM »
So I am using 'audio play' action, I have it play a ding when pressing a button.  It uses the audio source component and outputs to the mixer so I can control the volume better.  It works.  The issue is if a person presses the button again before the audio clip is done playing.  It will be silent because the audio is still on the audio play state.  Once the clip is done, it then goes to the first state wich looks for a button press. 

Is there a way to have the clip play again before it is done?  This can't be a new issue with playmaker. 

I've tried activating the button and deactivating it before and after the menu sound but that looks dumb.  I'd rather just restart the audio clip again on the new keypress.

13
Playmaker Help / u gui set is interactable bug?
« on: November 26, 2015, 06:43:21 PM »
There is an activate action.  This complete turns off a button making it invisible.  I was wondering if there was a disable button action.  This would keep the button on screen but use the disable image.

14
Playmaker Help / 'Show Cursor' action not working
« on: November 24, 2015, 12:58:52 PM »
I am using the show cursor action and it doesn't seem to be working.  The cursor is always in screen.  I went to the ecosystem and updated it, yet still the same.  It can't be me cause there is just 1 setting.

Can someone confirm this and if so, can it be fixed?

15
Playmaker Help / Playmaker errors. Getlastpointereventdata
« on: November 22, 2015, 10:33:53 PM »
In unity I now get these 2 errors every time I open unity.  Really annoying.  Is there a way you all could fix them?

Assets/PlayMaker Custom Actions/uGui/EventSystem/GetLastPointerEventData.cs(221,74): warning CS0618: `UnityEngine.EventSystems.PointerEventData.worldNormal' is obsolete: `Use either pointerCurrentRaycast.worldNormal or pointerPressRaycast.worldNormal'


Assets/PlayMaker Custom Actions/uGui/EventSystem/GetLastPointerEventData.cs(226,76): warning CS0618: `UnityEngine.EventSystems.PointerEventData.worldPosition' is obsolete: `Use either pointerCurrentRaycast.worldPosition or pointerPressRaycast.worldPosition'

Pages: [1] 2 3 ... 12