Exemplo n.º 1
0
        public bool CreateAdapter(string avatarID, string outputPathName, IEnumerable <Tuple <Texture2D, Point[]> > images, ModelDensity meshDensity, string logFileName, bool triGenerationEnabled)
        {
            bool success = false;

            try
            {
                if (_plugin != null)
                {
                    success = _plugin.CreateAdapter(avatarID, outputPathName, images, meshDensity, logFileName, triGenerationEnabled);
                }
            }
            catch (Exception exp)
            {
                Debug.Log(exp);
                throw;
            }

            return(success);
        }