Fix in game monument preview
This commit is contained in:
parent
23b6921cc5
commit
74aecd2b9b
File diff suppressed because one or more lines are too long
|
@ -44,12 +44,14 @@ public class MonumentController : MonoBehaviour
|
|||
PlayerSetup.Instance.UnlockMonument(_info);
|
||||
}
|
||||
|
||||
[ContextMenu("Show preview")]
|
||||
public void PlaySound()
|
||||
{
|
||||
_previewSound.PlaySound(_info.LongClip);
|
||||
_monumentPreview.ShowInfo(_info.Name, _info.Image, _info.LongDescription, _info.LongDuration);
|
||||
}
|
||||
|
||||
|
||||
public void ShowPreview()
|
||||
{
|
||||
_cockpitUI.ShowInfo(_info.Image, _info.Description);
|
||||
|
|
|
@ -28,6 +28,7 @@ public class UITextShow : MonoBehaviour
|
|||
public void SetText(string text)
|
||||
{
|
||||
_text.SetText($"{Prefix}{text}{Postfix}");
|
||||
_text.SetAllDirty();
|
||||
}
|
||||
|
||||
public void SetText(int num)
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue