mirror of
https://github.com/imperialsushi/gutterball-3.git
synced 2025-06-15 05:07:42 +00:00
New Version 1.42
Moving cam replay. Fixed the bugs. New Version 1.42 Moving cam replay. Fixed the bugs. New Version 1.42 Moving cam replay, Fixed the bugs.
This commit is contained in:
parent
dcb7df5fd1
commit
1c033119df
7079 changed files with 186851 additions and 48991 deletions
|
@ -0,0 +1,51 @@
|
|||
using System;
|
||||
using UnityEngine.TextCore;
|
||||
|
||||
namespace TMPro
|
||||
{
|
||||
/// <summary>
|
||||
/// A basic element of text.
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class TMP_Character : TMP_TextElement
|
||||
{
|
||||
/// <summary>
|
||||
/// Default constructor.
|
||||
/// </summary>
|
||||
public TMP_Character()
|
||||
{
|
||||
m_ElementType = TextElementType.Character;
|
||||
this.scale = 1.0f;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Constructor for new character
|
||||
/// </summary>
|
||||
/// <param name="unicode">Unicode value.</param>
|
||||
/// <param name="glyph">Glyph</param>
|
||||
public TMP_Character(uint unicode, Glyph glyph)
|
||||
{
|
||||
m_ElementType = TextElementType.Character;
|
||||
|
||||
this.unicode = unicode;
|
||||
this.glyph = glyph;
|
||||
this.glyphIndex = glyph.index;
|
||||
this.scale = 1.0f;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Constructor for new character
|
||||
/// </summary>
|
||||
/// <param name="unicode">Unicode value.</param>
|
||||
/// <param name="glyphIndex">Glyph index.</param>
|
||||
internal TMP_Character(uint unicode, uint glyphIndex)
|
||||
{
|
||||
m_ElementType = TextElementType.Character;
|
||||
|
||||
this.unicode = unicode;
|
||||
this.glyph = null;
|
||||
this.glyphIndex = glyphIndex;
|
||||
this.scale = 1.0f;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue