15 lines
250 B
C#
15 lines
250 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class Pfeil : MonoBehaviour
|
|
{
|
|
public Transform target;
|
|
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
transform.LookAt(target);
|
|
}
|
|
}
|