14 lines
280 B
C#
14 lines
280 B
C#
using UnityEngine;
|
|
|
|
public class WaypointVisual : BaseInteractableObject
|
|
{
|
|
[SerializeField]
|
|
private ParticleSystem _particleSystem;
|
|
|
|
public void SetWaypoint(Vector3 position)
|
|
{
|
|
_interactionPoint.position = position;
|
|
_particleSystem.Play();
|
|
}
|
|
}
|