You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
386 B
20 lines
386 B
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
using UnityEngine.Events;
|
|
|
|
namespace FFmpeg.Demo
|
|
{
|
|
public class DefaultFieldInitializer : MonoBehaviour
|
|
{
|
|
[System.Serializable]
|
|
public class SetEvent : UnityEvent<string> { }
|
|
|
|
public Text placeholder;
|
|
public SetEvent setter;
|
|
|
|
public void Awake()
|
|
{
|
|
setter.Invoke(placeholder.text);
|
|
}
|
|
}
|
|
} |