using System.Collections; using UnityEngine; using UnityEngine.UI; /// /// gif显示测试 /// public class UniGifTest : MonoBehaviour { public UniGifImage gifImage; private void Start() { StartCoroutine(ViewGifCoroutine()); } private IEnumerator ViewGifCoroutine() { yield return StartCoroutine(gifImage.SetGifFromUrlCoroutine("pkq.gif")); } }