Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using UnityEngine;
- using System.Collections;
- public class Manda : MonoBehaviour
- {
- public KeyCode mandakey;
- public GameObject orochimaru1;
- // Use this for initialization
- void Start () {
- }
- // Update is called once per frame
- void Update ()
- {
- if (Input.GetKeyDown("mandakey"))
- print("space key was pressed");
- Vector3 orochimarupos = orochimaru1.transform.position;
- }
- }
Add Comment
Please, Sign In to add comment