CSS (Construct 3 Plugins)

  • 9
    This content is deleted
    Addon
    CSS

    INJECT CSS 2 - Use CSS stylesheet in Construct 3.

You're viewing a single comment in a conversation. View all the comments
  • 3 Comments

  • Order by
  • removed the inject JS option ? why ?

    • Because you can do this via Vanilla C3. Add a JS script in the editor and insert this

      runOnStartup(async runtime =>

      {

      runtime.addEventListener("beforeprojectstart", () => LoadExternalScript(runtime));

      });

      async function LoadExternalScript(runtime)

      {

      await runtime.assets.loadScripts("https://apis.google.com/js/api.js");

      await runtime.assets.loadScripts("https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js");

      }

      I think it's better to use the official way instead of a custom option that replicates the official one.