SampleExtension.cs 449 B

1234567891011121314151617
  1. using PixiEditor.Extensions.Wasm;
  2. namespace SampleExtension.WASM;
  3. public class SampleExtension : WasmExtension
  4. {
  5. public override void OnLoaded()
  6. {
  7. Api.Logger.Log("WASM SampleExtension loaded!");
  8. }
  9. public override void OnInitialized()
  10. {
  11. Api.Logger.Log("WASM SampleExtension initialized!");
  12. Api.WindowProvider.CreatePopupWindow("WASM SampleExtension", "Hello from WASM PixiEditor Extension");
  13. }
  14. }