remove unnecessary models in animation folder

player waypoint indicator
walk and idle animations
stop when menu opens
This commit is contained in:
2022-11-16 23:17:02 +02:00
parent de20e774eb
commit b58221dc98
65 changed files with 33062 additions and 642 deletions
@@ -4,6 +4,7 @@ using System.Linq;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
using static UnityEditor.Experimental.GraphView.GraphView;
public class ConversationController : MonoBehaviour
{
@@ -13,6 +14,9 @@ public class ConversationController : MonoBehaviour
public Button _choiceButton;
[SerializeField]
private Button _closeBtn;
[SerializeField]
CharacterMovement _player;
public ConversationChangeEvent conversationChangeEvent;
private List<ChoiceController> choiceControllers = new();
@@ -24,6 +28,7 @@ public class ConversationController : MonoBehaviour
public void Change(string title, Dictionary<string, BaseAction> options)
{
_player.allowMovement = false;
RemoveChoices();
_title.text = title;
gameObject.SetActive(true);
@@ -50,8 +55,10 @@ public class ConversationController : MonoBehaviour
}
public void Hide()
{
RemoveChoices();
gameObject.SetActive(false);
Time.timeScale = 1;
_player.allowMovement = true;
}
}