Example #1
0
    static void Init()
    {
        // Get existing open window or if none, make a new one:
        WebrtcBuild window = (WebrtcBuild)EditorWindow.GetWindow(typeof(WebrtcBuild));

        window.titleContent.text = "WebRTC Build";
        window.Show();
    }
    public void OnPreprocessBuild(BuildTarget target, string path)
    {
        if (target != BuildTarget.Android)
        {
            return;
        }

        WebrtcBuild.BuildAarAndCopy();
    }