Hi Chris,
That's weird it doesn't run automatically for me.
My AC version is v1.70.1
An older version (because i've changed the player scripts lol) but I think it should still work?
And sometimes getting "MissingReferenceException: The variable m_Object of ActionDisableObject doesn't exist anymore." When I try to do AC's Call Event and enable it again later in the game?
Yes it's spawned by AC, it's not in the scene beforehand.
The text says:
Clicked GiveGiftButton (1) (UnityEngine.UI.Image), Sprite: itemselect (UnityEngine.Sprite)
Which helped me notice the button sprite was being used for the inventory item sprite…
Sorry to bring this back up! I hope it's okay!
Thanks so much for the previous, I was just wondering - it all works perfectly, but is there a way to grab the second and third next inventory items?
Say there's 3 inventorybox slots and the inventory…
Thank you Chris! I attached it to my Joystick UI gameobject, I think I've done it wrong though
using UnityEngine; using System.Collections;using AC;public class GameStateEvent : MonoBehaviour{ private Canvas CanvasObject; // Assign in inspecto…
Thanks so much for that Chris. I'm trying to turn it into a Custom Action to make it easier for me in future but I'm just having trouble with the variable type.
I've done
AC.PlayerMenus.GetMenuWithName (MenuName).appearType = "During Gameplay…
Thanks Chris - I'm getting this "The name `selectedItem' does not exist in the current context" - I tried copying over private InvItem selectedItem but it threw me an error instead haha
Edit: would it be private int selectedItem ?
Hi Chris,
I managed to narrow the debug.log not appearing because one of my others menus were underneath and it was picking that up instead, so I turned it off and that works and it says the correct item.
My main issue left right now is trying to g…
Hi Chris,
Sorry about this but I'm really struggling. In PhoneOK's button component I have the OnClick set to the button itself (and tried the phone object too) with SelectPhoneItem.UseItem and its not working, nothing happens even when trying to do…