public void Init(FBXSetting setting)
    {
        this.setting = setting;

        switch (this.setting.paths.runnningMethode)
        {
        case RunnningMethode.MainThread: this.Run(); break;

#if (!UNITY_WEBPLAYER && !UNITY_WEBGL)
        case RunnningMethode.AsyncThread: UniFBXThread.RunAsync(this.Run); break;
#endif
        default: this.Run(); break;
        }
    }
Example #2
0
    public void Init(List <string> list, FBXSetting setting, int connectionsIndex)
    {
        this.list    = list;
        this.setting = setting;
        this.foo     = connectionsIndex;

        switch (this.setting.paths.runnningMethode)
        {
        case RunnningMethode.MainThread: this.Run(); break;

#if (!UNITY_WEBPLAYER && !UNITY_WEBGL)
        case RunnningMethode.AsyncThread: UniFBXThread.RunAsync(this.Run); break;
#endif
        default: this.Run(); break;
        }
    }