using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyMove : MonoBehaviour
{
public float moveSpeed;
void Update()
{
transform.Translate(Vector3.forward * Time.deltaTime * moveSpeed);
}
}
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyMove : MonoBehaviour
{
public float moveSpeed;
void Update()
{
transform.Translate(Vector3.forward * Time.deltaTime * moveSpeed);
}
}