removed extraneous options list
This commit is contained in:
parent
3867e5166b
commit
f284cf88eb
2 changed files with 1 additions and 3 deletions
Binary file not shown.
|
@ -18,7 +18,6 @@ public class InteractionPanelController : MonoBehaviour {
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
private Text requestedInteractionText;
|
private Text requestedInteractionText;
|
||||||
private static InteractionPanelController activePanel;
|
private static InteractionPanelController activePanel;
|
||||||
private List<Dropdown.OptionData> optionsList;
|
|
||||||
private StateController _controller;
|
private StateController _controller;
|
||||||
|
|
||||||
public class InteractionData : Dropdown.OptionData
|
public class InteractionData : Dropdown.OptionData
|
||||||
|
@ -38,7 +37,6 @@ public class InteractionPanelController : MonoBehaviour {
|
||||||
void Start()
|
void Start()
|
||||||
{
|
{
|
||||||
ActivePanel = this;
|
ActivePanel = this;
|
||||||
optionsList = new List<Dropdown.OptionData>();
|
|
||||||
Hide();
|
Hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -81,7 +79,7 @@ public class InteractionPanelController : MonoBehaviour {
|
||||||
_controller = controller;
|
_controller = controller;
|
||||||
requestPanel.SetActive(true);
|
requestPanel.SetActive(true);
|
||||||
string description = controller.Interactor.SelectedInteraction.receiverDescription;
|
string description = controller.Interactor.SelectedInteraction.receiverDescription;
|
||||||
requestedInteractionText.GetComponent<Text>().text = "Press 'E' to " + description; //+ "\n(or press 'D' to decline)";
|
requestedInteractionText.GetComponent<Text>().text = "Press 'E' to " + description;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Hide()
|
public void Hide()
|
||||||
|
|
Reference in a new issue