update sample
Some checks failed
build / Build for Android (push) Has been cancelled

This commit is contained in:
Kirill Chikalin
2025-04-25 20:23:34 +03:00
parent 8b4042e5f2
commit 648c1a28bd
24 changed files with 1112 additions and 419 deletions

View File

@@ -0,0 +1,18 @@
using space.chikalin.textdecal;
using TMPro;
using UnityEngine;
public class TextDecalRuntimeInit : MonoBehaviour
{
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
gameObject.AddComponent<TextDecal>();
}
// Update is called once per frame
void Update()
{
gameObject.GetComponent<TMP_Text>().text = $"{Time.timeSinceLevelLoad:0.000}";
}
}