Check out NextGen Sprites, with Playmaker Actions:
A reminder that if you use Get Property, Set Property or Call Method actions on iOS, Android, WebGL, or any platform where Unity strips unused code, you can use link.xml files to preserve the properties/methods that youāre using:
You can also use Jean Fabreās PlayMaker Linker Wizard to generate the link.xml file:
Thanks. Is there anyway to only disable parent and not its children? I used Active Game Object for this purpose but itās not working! it disable children too.
Unity automatically disables children when you disable the parent. You could try another strategy, maybe un-parent the children (using Set Parent)⦠It depends what youāre trying to achieveā¦
Iāve been waiting for a tool like this for Unity, Panoply looks amazing:
And it has Playmaker actions ![]()
Hey guysā using Unity Pro 5.3.4p4 and PlayMaker, when I set Mouse Cursor to Lock, it works perfectly in the editor but not in the build (Windows on Windows 10). Any advice for a fix?
Iāve even tried adding to the camera a script that used to work a year ago when this happened then too:
#pragma strict
public var cursorMode: CursorMode = CursorMode.ForceSoftware;
public var hotSpot: Vector2 = Vector2.zero;
function Start () {
LockCursor();
}
function Update () {
LockCursor();
}
function LockCursor() {
Cursor.lockState = CursorLockMode.Locked;
}
However, even this isnāt resolving it.
This pretty much breaks the entire game if the Mouse canāt get center-locked. Any advice would be much appreciated! Thanks!!!
I heard there was a bug in Unity 5 that meant you needed to set the cursor lockState in update�
But it looks like your script is doing that already.
Iāll try to reproduce here and investigate a fix.
In the meantime I would poke around Unity Answers/Forums to see if this is a common problem with a known solution.
EDIT: Just tried it in 5.3.4 and it works as expected. Itās possible something broke in the patch releases. Iāll download and checkā¦
Thanks!
Also, a new insightā
This is a Rift VR project. Just tried disabling Virtual Reality Supported in the Player Settings and now Mouse Lock works in the build.
With VR Enabled, in the build through the Rift you canāt see the mouse cursor at all, but if you look on the flat screen, you can see it, positioned wherever it was last placed when launching the app and freely movable with the mouse. And again this is only happening on builds. In the editor, it works even with VR Enabled.
I believe we did have Mouse Lock working by simply setting it in PlayMaker on a single state FSM before with VR Enabled, but now this no longer works even if we set it in every state weāve got (plus the script to lock it is running all the time anyway still with no help).
Weāre using Mouse Pick Events in PlayMaker for interact objects, but if we canāt get the Mouse to Lock with VR Enabled in builds, we would possibly need a āVR Gaze Pick Eventā in PlayMaker to substitute this, making the Look Ahead direction fixed and independent of wherever the mouse hangs. Otherwise we couldnāt use PlayMaker for interacts.
It might be a good idea anyway to create a Gaze Pick Event for PlayMaker because Gaze Cursors are usually slightly lower than absolute center, where Mouse Lock would be positioned.
Or maybe this could be subverted by manually creating our own Gaze Pick Event through using the existing PlayMaker Raycast action⦠If it comes to thatā¦
Thanks so much for looking into this! Hope we can figure something out!
Doing some research it seems like others are running into the same issue with the mouse cursor and VR mode.
Not sure if itās supposed to work, but it seems like it doesnātā¦
You should be able to use the Screen Pick action instead of Mouse Pick without re-working too much.
I would also start a thread on the Playmaker Forums. I know other Playmaker users are doing VR projects so they will probably have some tips. Somebody has probably already made a Gaze Pick Event or equivalent actionā¦
Okay-- thanks!
Hutong Games is happy to announce we will be at the first annual Creative Tech Week in NYC!
Weāll be demoāing Playmaker as well as showing off user projects at the booth.
More details on the Playmaker Forums here:
Playmaker Tip: Double click an event in the Graph View to select it in the Events Manager.

https://hutonggames.fogbugz.com/default.asp?W148
Quick Update available for latest Photon Networking support:
https://hutonggames.fogbugz.com/?W928
U-GRUVE, Interactive Soundtracks for Public Spaces, will be at Creative Tech Week in NYC:
If youāre in the area check it out!
U-GRUVE is made with Playmaker
and weāll be there too:
3D Infinite Runner for Playmaker is 35% Off in the Unity Asset Store 24 Hour Sale:

Check out new Steam VR tools for Playmaker!

Check out ARDUnity, Visual Programming for ARDUINO in Unity, with Playmaker support:



