Files
Dino_Love_Simulation/Assets/SpecialSkillsEffectsPack/Scripts/ForEffects/LookAtTarget.cs
2026-07-17 18:09:45 +09:00

15 lines
262 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LookAtTarget : MonoBehaviour
{
public Transform Target;
// Update is called once per frame
void Update()
{
transform.LookAt(Target);
}
}