Forum rules - please read before posting.

Change Hotspot Texture size

Hi!
Is there a way to change the hotspot texture size? It´s too small during the gameplay.
Thanks!

My config:
https://ibb.co/t9ng1PQ

Comments

  • Ah, looks like a field display issue.

    The "Hotspot icon size" field that's showing won't be applied to a World Space icon. The correct field that will affect it isn't showing - likely because your Cursor Rendering field in the Cursor Manager is not set to Software.

    As a temporary workaround, switch to Software rendering to expose the correct "Size" field, then switch back to your old rendering value after adjusting it.

  • Thank you very much, Chris!
    It´s working now!

  • Hi Chris! I have another question regarding this topic, please. My game takes place in the past and the present. How could I change the Hotspot texture between the past and present according to my scenes? Thank you!
  • You'd need to change the field value at runtime through script.

    You can get an API reference to the texture by right-clicking the label - see this tutorial for details.

    In the case of the Hotspot icon texture field, this reference will return the CursorIconBase class which has a ReplaceTexture function you can use to change its texture:

    AC.KickStarter.settingsManager.hotspotIconGraphic.ReplaceTexture (myNewTexture);
    
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.