refactor
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using UnityEngine;
|
||||
|
||||
public class WaypointVisual : BaseInteractableObject
|
||||
{
|
||||
[SerializeField]
|
||||
private ParticleSystem _particleSystem;
|
||||
|
||||
public void SetWaypoint(Vector3 position)
|
||||
{
|
||||
_interactionPoint.position = position;
|
||||
_particleSystem.Play();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user