You mean line 277-278 with this? :
public override void ProcessClick (AC.Menu _menu, int _slot, MouseState _mouseState)
{
if (KickStarter.stateHandler.gameState == GameState.Cutscene) …
Chris,I just found out, why Hotspots get activated on both mouse buttons clicks? Shouldn't there be just left button usage?
Is there an option to limit only to left button and leave the right button for diselect, how?
Tried to define it as public SpriteFader mySpriteFader;
and calling like this:
mySpriteFader.Fade (FadeType.FadeOut, 0.2f);
Now it says:
error CS0117: `AC.FadeType' does not contain a definition for `FadeOut'
Just got back to check it. I can't get it work. It says:
error CS1061: Type `UnityEngine.SpriteRenderer' does not contain a definition for `Fade' and no extension method `Fade' of type `UnityEngine.SpriteRenderer' could be found (are you missing a…
Sorry, how exactly do I do it? Cause I get:
error CS0103: The name `MyHotspot' does not exist in the current context
If I just use this MyHotspot.TurnOff ();
Tried both, still can't get the right click when hovering over a Hotspot, only left click.
Also tried to include in the order other scripts AC.DetectHotspots, AC.PlayerCursor, AC.PlayerInteraction, AC.Hotspot, AC.Interaction beneath mine script.
You may want to add or child some collision circle to your Player with bigger radius to trigger whatever you need and experement with it.
Your question is vague though. Do you mean an NPC detects your player/character as it moves nearby, like in a …
After updating my interactions lost constant ID's and now they run with Pause game instead of Run in background !!! How to avoid this sort of things?
Also Hotspots lost custom collision boxes , now I have default boxes.
How to update without AC c…