Hi Chris
Ok deep profiler seems to have showed me things I wasn't expecting
One of them appears to be about loading the level async - I disabled that and that part went away.
The other weirdly was about menus?
https://imgur.com/a/jvJV16i
Hi Chris,
Im trying to follow the OnGUI bit as I have a menu with a lot of elements that are visible at all times during gameplay, but I'm getting these errors and the menu disappearing from the game if I add the line:
https://imgur.com/a/KlDGaOO
I…
Hi Chris,
I'm now getting the errors:
(Spoiler)
And
(Spoiler)
This was the line now:
AC.KickStarter.ResetPlayer(player2.name, 1, false, spawnPoint.rotation, false, true, true);
And these were the variables:
(Spoiler)
How have I messed it up this…
Hi Chris,
AC.PlayerMenus.GetElementWithName (MenuName, ElementName).backgroundTexture = myNewTexture;
Is the line and yes it's coming from a new actionlist
Hi Chris,
Thanks very much for that,
It works the first time, but when trying to use it again to change the icons back to how they were it does this:
"NullReferenceException: Object reference not set to an instance of an object
AC.ActionChangeM…
So this?
(Spoiler)
I've changed it to yours and it's still saying "Assets/AdventureCreator/Scripts/Actions/ActionChangeMenuButtonIcon.cs(60,103): error CS0266: Cannot implicitly convert type UnityEngine.Texture' toUnityEngine.Texture2D'. An ex…
Hi Chris,
I'm trying to make it so that it can be changed in an action
But it's giving me the error: "Assets/AdventureCreator/Scripts/Actions/ActionChangeMenuButtonIcon.cs(60,83): error CS0029: Cannot implicitly convert type UnityEngine.Texture…
Hey
I used this again after 2 months and found a problem with it but not sure if it's just me.
When I use the change menu icon action and then turn on said menu on the same actionlist, the menu flashes, the icon changes but it deactivates again. Pro…
Hi Chris,
That works! Thanks so much, this will make everything sooo much easier. :D
If you don't mind, for some reason if I put the new code below myNewTexture instead of above it , it does this.
(Image)
I'm just curious why it does this? Just as …
Hi,
Sorry to bump an old thread but while messing with actions again I found myself wanting to try this again (I gave up back in March).
So today I've got to a point where the action appears under Custom, and there is a "texture" image fi…
Hi Chris,
Thank you for that,
Is this right?
https://imgur.com/a/APnVLqM
When I use the action in the actionlist, everything just stops and nothing happens. But if I remove everything from isRunning and save it (so essentially without the code) it r…
Hi Chris,
Thanks I'll do that! :) And sorry I thought with AC installed with all the movement settings I'd need to do something AC-related to get it to work, but colliders is fine!
Hiya
Yes the problem was value being 1,2,3 etc instead of the Mon Tue Wed like I thought it was. I made the event day Mon for all of the variables assuming that it would be the same variable every time and so would always match the game day, but of …
Hi Chris
I've updated to the latest version of AC and the issue still occurs.
I'm using unity 2017.4.0f1
The capsule collider isn't 'rotated' so to say, I'm just using the collider direction as the Z-axis.
What should I do at this point?