Exemple #1
0
        private AudioReader(int apiKey)
        {
            if (apiKey == -1)
            {
                ApiKey = ReaderAPIPRM.CreateApiInstance();
            }
            else
            {
                ApiKey = apiKey;
            }

            AudioData = new AudioDataPRM();
        }
        // MeshReader
        private MeshReaderPRM(int apiKey)
        {
            if (apiKey == -1)
            {
                ApiKey = ReaderAPIPRM.CreateApiInstance();
            }
            else
            {
                ApiKey = apiKey;
            }

            MeshData = new MeshDataPRM();

            Debug.Log("[MeshReader] Create API instance " + ApiKey);
        }