Skip to content

Instantly share code, notes, and snippets.

@hecomi
Created June 23, 2014 16:08
Show Gist options
  • Save hecomi/0f0ccb5594356f89829c to your computer and use it in GitHub Desktop.
Save hecomi/0f0ccb5594356f89829c to your computer and use it in GitHub Desktop.
using UnityEngine;
using System.Collections;
public class TalkTest : MonoBehaviour
{
public string word;
void Update()
{
if (Input.anyKeyDown) {
GetComponent<MMD4M_LipSync>().Talk(word);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment