(Quote)
You can hook into the OnMenuTurnOn / OnMenuTurnOff custom events to run code whenever a menu is turned on or off, but which setting specifically are you looking to change?
Is there also a pattern to which menus you want to react to, e.g. on…
With scripting, you can hook into the OnSkipCutscene custom event to close the Pause menu when a cutscene is skipped.
Try this: copy/paste the code below into a C# file named ClosePauseMenuWhenSkipCutscene, and attach it to a GameObject in your sce…
Welcome to the community, @Midonk.
Unfortunately, mileage will vary when it comes to registering an overlapping collider as a hole in the NavMesh. The feature is actually more of a side-effect with the way Unity incorporates additional polygons, r…
Sorry, can you elaborate? Mouse input should be overridden with the integration script, along with other input calls.
It should be the case that you can rely on the new input system alone - can you share steps that cause that to not be the case?
Recreated.
It should be possible to fix by opening up Char.cs, and looking for line:
Transform.position = _position;
inside the Teleport function (around line #1555 in the latest release). Add the following afterwards:
if (_rigidbody) _rigidbod…
(Quote)
Teleporting the GameObject is generally the way to go, yes. It's lot easier than removing it from the scene completely, as you otherwise have to deal with re-spawning it when loading an earlier save.
(Quote)
It's a GameObject. "Unity…
No scripting need be involved - I'm referring to Unity's Input Manager which can be found under "Project settings -> Input" in the top toolbar:
https://docs.unity3d.com/Manual/class-InputManager.html
Increase the number of axes at the…
Welcome to the community, @PinoEire.
You can do this by defining an input named "InteractionA" in Unity's Input Manager, and setting its Positive Button field to e.
To prevent mouse-clicks from working as well, uncheck Mouse clicks have …
It's not an inconsistency - I just forgot you wanted that behaviour, sorry.
Try this:
using UnityEngine;using AC;public class AutoUseItem : MonoBehaviour{ public string menuName = "Inventory Popup"; private Hotspot inventoryHotspot…
What exactly is showing in the InventoryBox element?
Two things I see at this point:
* Container is a MonoBehaviour (i.e. component) script. You can't declare a "new Container" - it must be attached to a GameObject, though this too can …
Thanks for the files.
The property-linking issue can be fixed by opening up AC's InvInstance script and replacing line 63:
invVars = invInstance.invVars;
with:
invVars = new List<InvVar> ();if (invInstance.invVars != null){ for (int i =…
No problem!
Let's leave the posts here - as they may be useful to others with similar issues - but let's continue on from my first reply in the thread, and see how the Save-game Manager looks.