我正在使用 FlowEnt 庫并創建了一個補間,但它沒有從這里開始,這是代碼
transform.Tween(3f).MoveTo(destination);
uj5u.com熱心網友回復:
FlowEnt 中的影片不會自動啟動。該庫有 2 個選項:自動啟動和真正啟動。根據他們的網站,True-Start 速度更快,但實施了 Auto-Start 以便為人們提供熟悉的訪問。True-Start 還提供了一個異步選項。更多資訊在這里。
在如何修復影片方面,可以使用以下方法
真正的開始
transform.Tween(3f).MoveTo(destination).Start();
True-Start但異步
await transform.Tween(3f).MoveTo(destination).StartAsync();
自動開啟
transform.Tween(3f, true).MoveTo(destination);
轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/363395.html
上一篇:基于媒體查詢未正確選擇CSS懸停
下一篇:如何在FlowEnt中創建流?
