In essence, it sounds you're looking to check if the Player is currently moving at the time.
That should be do-able with the following custom Action:
using UnityEngine;#if UNITY_EDITORusing UnityEditor;#endifnamespace AC{ [System.Serializable] …
It may be something more along these lines:
using UnityEngine;using AC;public class VerbCoin : MonoBehaviour{ public float maxHoldTime = 0.5f; private float heldTime; private void Update () { if (Input.GetMouseButton (0) &&am…
(Quote)
Apologies - that should have been Loop is checked.
(Quote)
Is it possible that's an issue with the scene's NavMesh? Unless the Animator is affecting the root position, it shouldn't interfere with pathfinding.
(Quote)
The Animator can be o…
As in, the characters should avoid the Player?
There isn't a built-in option for that, but I'm not sure how you're moving the NPCs in the first place - if you can share details/screenshots showing the situation, I'll see if I can make any suggestio…
When building a Unity UI based Menu, AC is only dealing with its functionality (i.e. when it appears, what happens when clicked), but its appearance is handled by Unity's UI components.
There should be no need to involve UI Toolkit - how your Image…
Make sure that Has Exit Time is unchecked in your transitions, and that Loop is unchecked in the Animation Clip inspectors.
If it still has the issue afterwards, share a longer video with the Animator open while it occurs.
Should the Interaction menu appear while the minigame is ongoing?
If you have a way to check if the minigame is running (if its a Menu, use "Menu: Check state", otherwise use a variable), then you could precede any Interaction menu-openin…
You need to make sure that the Conversation referenced in your ActionLists is the one in the scene - not the original prefab.
You can still assign the prefab in your lists, but the Constant ID will need to be consistent as this is how it will "…
The fix involved a number of different files - I'd start with copying over the ActionRunActionList, ActionListManager, and Conversation scripts from the latest release and see if that compiles.
I need to be clear: is the original issue of items becoming selected at the wrong time now resolved, such that the only remaining issue your following request?
(Quote)
using UnityEngine;using System.Collections;using AC;public class VerbCoin : Mono…
The issues with the ActionList: Run Action running nested Conversations were discussed most recently here.
It looks like your topic overlaps that discussion, which should be resolved in the latest release, v1.81.3.
For a Conversation's state to be saved, it needs:
* To be present in the scene
* To have a Remember Conversation component attached
Upon restarting (via the Engine: End game Action), all scene save data will be reset.
Are the above conditions bot…
As the issue is one in motion, the screenshots aren't enough to fully demonstrate the issue.
Does the issue persist if you remove the NPC components? I'm not seeing a direct involvement with AC - if the positions are being updated through root mot…
Welcome to the community, @Gou.
A custom script should not be necessary - the "Use Icon" refers to the icon of each Hotspot's first-enabled "Use interaction", which should be "Look at" in your provided screenshot.
Try…
Welcome to the community, @rlove166. Is this for a 2D or 3D game?
One way to "cheat" a floating character is to just use a regular NPC that walks on the NavMesh as normal, but have their visible graphics raised up above their origin. Th…
It's a wide topic, but on the specific topic of variables: it's a good idea to combine them when the values are dependent on one another.
For example, if IsTutorialComplete is always set to True before FirstNight, then you can combine these into a …
That's true - while you'll still want to do this to ensure builds work correctly, you can undo the change in the Editor upon exiting Play mode with EditorApplication.playModeStateChanged.
With Sprites Unity, yes - AC will be in control over the animation playback. Unless, that is, you set the character's "charState" to Custom first:
KickStarter.player.charState = CharState.Custom;
With Sprites Unity Complex, however, ani…
Assign the Panel child object as the Menu's "RectTransform boundary" field.
Among other things, the "RectTransform boundary" is used to determine the Menu's mouse-over area - so it should generally be set to a RectTransform that…