Closed ccjmk closed 3 years ago
Example usage:
JavaScript
window.Tokenizer.launch({ name: 'actorName' }, (response) => { console.log(response.avatarFilename); console.log(response.tokenFilename); });
TypeScript
type TokenizerResponse = { avatarFilename: string; tokenFilename: string; }; (window as any).Tokenizer.launch({ name: 'actorName' }, (response: TokenizerResponse) => { console.log(response.avatarFilename); console.log(response.tokenFilename); });
Example usage:
JavaScript
TypeScript