TMP Text On Missing Character#
UI / Graphic / TMP Text / TMP Text On Missing Character
Description#
Executes whenever the static On Missing Character event of TMP Text class is invoked
Code#
// <auto-generated>
// This script was automatically generated using the Visual Script Transpiler.
// Do not modify. Changes to this file will be lost when updating the package.
// </auto-generated>
using System;
using UnityEngine;
using VisualScript.Icons;
using UnityEngine.UI;
using TMPro;
namespace VisualScript.Runtime
{
[Title("TMP Text On Missing Character")]
[Category("UI/Graphic/TMP Text/On Missing Character")]
[Description("Executes whenever the static On Missing Character event of TMP Text class is invoked")]
[Image(typeof(IconUIText), ColorTheme.Type.Blue)]
[Keywords("UI, User, Interface, TMP, Text, Mesh, Pro")]
[Serializable]
public class GenTriggerTMP_Text_OnMissingCharacter : Trigger
{
protected override string GetTitle(GameObject source)
{
string className = TextUtils.ThemeAsKeyword("TMP Text");
string member = TextUtils.ThemeAsKeyword("On Missing Character");
return $"{className} {member}";
}
public override void OnDisable()
{
base.OnDisable();
TMP_Text.OnMissingCharacter -= this.Run;
}
public override void OnEnable()
{
base.OnEnable();
TMP_Text.OnMissingCharacter += this.Run;
}
private void Run(int value1, int value2, string value3, TMP_FontAsset value4, TMP_Text value5)
{
using Args args = Args.Get(
this.Component,
this.Component
);
this.Run(args);
}
}
}