As in, it's physical size? That's a case of affecting the slider's RectTransform sizeDelta value, i.e.:
audioSlider.GetComponent<RectTransform> ().sizeDelta
Welcome to the communirt, @chichinohaha.
Attempting to turn on an already-visible Menu should't have an effect - naturally, if there is an issue here it will be addressed.
I cannot reproduce any issue from your description, however - it may be tha…
There was an issue related to the way Events were being saved - I'm afraid it may be that you need to recreate them when jumping between those versions. How many are missing?
Unless you're modifiying AC's codebase, then AC will be in control of the character's rotation each frame - additional calls to set it will need to be in LateUpdate for them to take effect.
What are your AC/Unity versions, and can you share shots o…
The AudioSource of Music and Ambience tracks respectively can be gotten with:
KickStarter.stateHandler.GetMusicEngine ().audioSource;KickStarter.stateHandler.GetAmbienceEngine ().audioSource;
You can handle this with a script attached to the Player that checks for Hotspots with a specific tag:
using UnityEngine;using AC;public class HotspotLight : MonoBehaviour{ bool isShowingHotspotLight; public string hotspotTag; public Light…
You can expand that thread's script to keep a list of items if the Menu isn't open at the time, and then hook into the OnMenuTurnOn custom event to show anything in the list when it opens:
using System.Collections.Generic;using UnityEngine;using Un…
You could do it like that, but I was suggesting having a 2nd light as part of the Player's prefab - not in the scene. The Light component would be disabled by default. To both, attach AC's Light Switch component.
When the Interaction begins, use …
Do items get selected normally when clicking one in the Inventory?
What are your AC versions, and share screenshots of the Hotspot, the Interaction ActionList, and your Settings Manager. In particular, check that none of the "Deselect item&qu…
It's a bit of an edge case, this. While not the cleanest solution, it should be that you can brute-force through this by keeping Ignore input? checked, and attaching this script to each of the Item slot Button GameObjects the UI prefab:
using Unit…
You're welcome to share screenshots to clarify your set up, but it sounds like you can make use of the Set Interaction Parameters component here, to avoid creating such "mini" ActionLists for each object.
Attaching this component to a Hot…
Presumably, you'd need to change not just the direction, but the position as well - i.e. place the centre of the light over the centre of the Hotspot?
You can use the Events Editor to create a Hotspot: Interact event, which will give you an ActionL…
(Quote)
The Inventory: Interact event is fired when using an Item by itself. When a Hotspot is involved, you can use the Hotspot: Interact event.
(Quote)
A script would be needed, and there's a few ways you can approach this - but you'd need to re…
The Inventory: Select Action can be used to force the selection of an Item without it needing to be present in the Player's Inventory. Running this in a table item's Hotspot interaction should do it.