player can enter the door

This commit is contained in:
Vladimir Koshevarov
2023-03-06 18:54:13 +02:00
parent 667c9901b6
commit ac5dce3507
35 changed files with 29063 additions and 1193 deletions
+1 -3
View File
@@ -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();
}
}