Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using UnityEngine;
- using System.Collections;
- public class EnemyAI : MonoBehaviour {
- public Transform target;
- public int moveSpeed;
- public int rotationSpeed;
- private Transform myTransform;
- }
- void Awake() {
- myTransform = transform;
- }
- // Use this for initialization
- void Start () {
- GameObject go = GameObject.FindGameObjectWithTag("Player");
- }
- // Update is called once per frame
- void Update () {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement