// Use this for initialization
    void Start()
    {
        Client.Settings.ASSET_CACHE_DIR = Utility.GetOpenMetaverseCacheDir();
        Settings.RESOURCE_DIR           = Utility.GetResourceDir();
        calcGuiParams();
        Utility.InstallCharacterAndOmvResource();

        if (Debug.isDebugBuild)
        {
            msg += "persistentData: " + Application.persistentDataPath + "\n"
                   + "data: " + Application.dataPath + "\n"
                   + "cache: " + Application.temporaryCachePath + "\n"
                   + "stream: " + Application.streamingAssetsPath + "\n"
                   + "curDir: " + System.IO.Directory.GetCurrentDirectory();
        }

        m_loginout = new LogInOutProcess(Client);
        m_terrain  = new TerrainProcess(Client, m_defaultTerrainMat);
        m_textures = new TextureProcess(Client, m_defaultObjectMat);
        m_objects  = new ObjectProcess(Client, m_textures, m_defaultObjectMat);
        m_camera   = new CameraProcess(Client);
        m_selfmove = new SelfMoveProcess(Client);
        m_avatars  = new AvatarsProcess(Client, m_textures);
    }
    // Use this for initialization
    void Start()
    {
        Client.Settings.ASSET_CACHE_DIR = Utility.GetOpenMetaverseCacheDir();
        Settings.RESOURCE_DIR = Utility.GetResourceDir();
        calcGuiParams();
        Utility.InstallCharacterAndOmvResource();

        if (Debug.isDebugBuild)
            msg += "persistentData: " + Application.persistentDataPath + "\n"
                + "data: " + Application.dataPath + "\n"
                + "cache: " + Application.temporaryCachePath + "\n"
                + "stream: " + Application.streamingAssetsPath + "\n"
                + "curDir: " + System.IO.Directory.GetCurrentDirectory();

        m_loginout = new LogInOutProcess(Client);
        m_terrain = new TerrainProcess(Client, m_defaultTerrainMat);
        m_textures = new TextureProcess(Client, m_defaultObjectMat);
        m_objects = new ObjectProcess(Client, m_textures, m_defaultObjectMat);
        m_camera = new CameraProcess(Client);
        m_selfmove = new SelfMoveProcess(Client);
        m_avatars = new AvatarsProcess(Client, m_textures);
    }