15 lines
341 B
C#
15 lines
341 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class SpawnableMoverBase : MonoBehaviour
|
|
{
|
|
protected float moveSpeed;
|
|
protected WorldSpawnManager worldSpawnManager;
|
|
|
|
protected virtual void Update()
|
|
{
|
|
transform.position += transform.forward * Time.deltaTime * moveSpeed;
|
|
}
|
|
}
|