1
This commit is contained in:
@@ -9,6 +9,16 @@ function L_drawMainCustomUI_All() {
|
||||
local obj = sq_getMyCharacter();
|
||||
if (!obj) return;
|
||||
|
||||
//获取与上一帧的dt
|
||||
if (!(getroottable().rawin("Rindro_DurationFlag"))) {
|
||||
Rindro_DurationFlag <- L_Getmicroseconds();
|
||||
Rindro_Duration <- 0;
|
||||
} else {
|
||||
local NowM = L_Getmicroseconds();
|
||||
Rindro_Duration = NowM - Rindro_DurationFlag;
|
||||
Rindro_DurationFlag = NowM;
|
||||
}
|
||||
|
||||
local RootTab = getroottable();
|
||||
//下帧执行任务事件
|
||||
if (RootTab.rawin("LenheartNextFrameFuncTab")) {
|
||||
@@ -121,6 +131,7 @@ function L_drawMainCustomUI_All() {
|
||||
}
|
||||
|
||||
|
||||
|
||||
// if (Clock() - getroottable().Lsnzz >= 50) {
|
||||
// getroottable().Lsnzz = Clock();
|
||||
// local T = {
|
||||
@@ -165,7 +176,10 @@ function L_drawMainCustomUI_All() {
|
||||
// }
|
||||
|
||||
// print(sq_GetCurrentModuleType());
|
||||
// Rindro_BaseToolClass.T_DrawDynamicAni(obj, "common/luke/newtile/02_success_back_1.ani", 430, 210 + 26, "卢克阻截开始" + AHSJKDNJKA);
|
||||
}
|
||||
|
||||
// AHSJKDNJKA <- Clock();
|
||||
// getroottable().SINNU <- Clock();
|
||||
// getroottable().Lsnzz <- Clock();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user