Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma strict
- function Update () {
- if (Event.current.type == EventType.KeyDown)
- {
- if (Event.current.keyCode == KeyCode.Return) {
- print ("Worked");
- gameObject.SendMessage("SendChat");
- }
- }
- }
- function SendChat () {
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement