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