2020-07-20 06:56:38 +00:00
|
|
|
using UnityEngine;
|
|
|
|
using UnityEngine.UI;
|
|
|
|
|
|
|
|
namespace ConformalDecals.UI {
|
|
|
|
public class TextEntryController : MonoBehaviour {
|
|
|
|
[SerializeField] private Selectable _textBox;
|
|
|
|
[SerializeField] private Button _fontButton;
|
|
|
|
|
2020-08-22 06:45:10 +00:00
|
|
|
[SerializeField] private Slider _lineSpacingSlider;
|
|
|
|
[SerializeField] private Selectable _lineSpacingTextBox;
|
|
|
|
|
|
|
|
[SerializeField] private Slider _charSpacingSlider;
|
|
|
|
[SerializeField] private Selectable _charSpacingTextBox;
|
|
|
|
|
2020-07-20 06:56:38 +00:00
|
|
|
[SerializeField] private Toggle _boldButton;
|
|
|
|
[SerializeField] private Toggle _italicButton;
|
|
|
|
[SerializeField] private Toggle _underlineButton;
|
|
|
|
[SerializeField] private Toggle _smallCapsButton;
|
|
|
|
[SerializeField] private Toggle _verticalButton;
|
|
|
|
|
2020-08-22 06:45:10 +00:00
|
|
|
public void Close() { }
|
2020-07-20 06:56:38 +00:00
|
|
|
|
|
|
|
public void OnTextUpdate(string text) { }
|
|
|
|
|
|
|
|
public void OnFontMenu() { }
|
|
|
|
|
2020-08-22 06:45:10 +00:00
|
|
|
public void OnLineSpacingUpdate(float value) { }
|
|
|
|
public void OnLineSpacingUpdate(string text) { }
|
|
|
|
public void OnCharSpacingUpdate(float value) { }
|
|
|
|
public void OnCharSpacingUpdate(string text) { }
|
2020-07-20 06:56:38 +00:00
|
|
|
public void OnBoldUpdate(bool state) { }
|
|
|
|
public void OnItalicUpdate(bool state) { }
|
|
|
|
public void OnUnderlineUpdate(bool state) { }
|
|
|
|
public void OnSmallCapsUpdate(bool state) { }
|
|
|
|
public void OnVerticalUpdate(bool state) { }
|
|
|
|
}
|
|
|
|
}
|