LinkerTarget.cs 458 B

12345678910111213141516171819202122232425
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEditor;
  4. using UnityEngine;
  5. public class LinkerTarget : MonoBehaviour
  6. {
  7. [MenuItem("Tools/WebGL_LinkerTarget_Wasm")]
  8. static void BuildScene1()
  9. {
  10. PlayerSettings.WebGL.linkerTarget = WebGLLinkerTarget.Wasm;
  11. }
  12. // Start is called before the first frame update
  13. void Start()
  14. {
  15. }
  16. // Update is called once per frame
  17. void Update()
  18. {
  19. }
  20. }