Jump to content

Preload assets inside plugin


MrQuest
 Share

Recommended Posts

Hi!

 

I am writing a plugin that will show some images (needed for UI).

I would like to be able to preload all assest needed for this plugin when the plugin is added/activated to the code.

 

I have tried to use preload functionality of GameState inside the plugin contructor, but I doubt it's the correct way.

 

How do I do that correctly?

 

Thank you.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...