player can enter the door
This commit is contained in:
@@ -4,12 +4,10 @@ public class WaypointVisual : BaseInteractableObject
|
||||
{
|
||||
[SerializeField]
|
||||
private ParticleSystem _particleSystem;
|
||||
[SerializeField]
|
||||
private Transform _wayPoint;
|
||||
|
||||
public void SetWaypoint(Vector3 position)
|
||||
{
|
||||
_wayPoint.position = position;
|
||||
_interactionPoint.position = position;
|
||||
_particleSystem.Play();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user