Guest User

Untitled

a guest
May 20th, 2018
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. using UnityEngine;
  2. using System.Collections;
  3.  
  4. public class Manda : MonoBehaviour
  5. {
  6. public KeyCode mandakey;
  7. public GameObject orochimaru1;
  8. // Use this for initialization
  9. void Start () {
  10.  
  11. }
  12.  
  13. // Update is called once per frame
  14. void Update ()
  15. {
  16. if (Input.GetKeyDown("mandakey"))
  17. print("space key was pressed");
  18. Vector3 orochimarupos = orochimaru1.transform.position;
  19. }
  20. }
Add Comment
Please, Sign In to add comment