- Home /
Question by
MadM · Aug 31, 2012 at 04:23 PM ·
editorwebplayerbuildpipeline
How to select WebPlayer Template through scripting?
For the webplayer, we can create webpages template in folder WebPlayerTemplates. I would like to select the template by code, instead of clicking on it in the interface.
Most options seems accessible, but not this one. EditorUserBuildSettings.SetBuildLocation( ...); PlayerSettings.apiCompatibilityLevel = ...;
How to do it? Would a unity macro work if direct scripting is not working ? Is it possible with Pro version, or should I buy the source licence and change Unity code ?
Best regards,
Pierre
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613080448im_/https://answers.unity.com/themes/thub/images/avi.jpg)