Forum rules - please read before posting.

Highlight - tweaking values

edited October 2015 in Technical Q&A
Hi,

Is there a built-in way to adjust the maxHighlight and fadeTime on a GameObject's Highlight component? It seems to work to make these variables public in Highlight.cs so I tweak them on a per-object basis, but I'd like to know if there's a better way.

Thanks!

Comments

  • No - are you looking to tweak them on a per-object basis, or globally?
  • On a per-object basis. If some of Highlight's methods were virtual, that would be even better. I could add a subclass to some objects rather than changing Highlight.cs directly.
  • Sure, I'll consider it.
  • Thanks! If you determine that it doesn't merit a change to AC, that's fine too; I'll just edit my copy of Highlight.cs manually.
  • No, it's a good idea.  I'll add a custom editor and expose them.
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.