41 lines
664 B
Plaintext
41 lines
664 B
Plaintext
/*
|
|
文件名:Rest.nut
|
|
路径:Game/CharacterScript/Common/Rest.nut
|
|
创建日期:2025-10-03 02:02
|
|
文件用途:角色站立状态
|
|
*/
|
|
|
|
/**
|
|
*
|
|
* @function
|
|
* @param {IRDSQRCharacter} obj
|
|
* @returns {boolean}
|
|
*/
|
|
function checkCanChangeState_Character_Rest(obj) {
|
|
|
|
return true;
|
|
}
|
|
|
|
/**
|
|
*
|
|
* @function
|
|
* @param {IRDSQRCharacter} obj
|
|
* @returns {void}
|
|
*/
|
|
function SetState_Character_Rest(obj) {
|
|
//设置动作
|
|
obj.SetAction("rest");
|
|
//设置速度
|
|
obj.SetSpeed(0, 0, null);
|
|
}
|
|
|
|
/**
|
|
*
|
|
* @function
|
|
* @param {IRDSQRCharacter} obj
|
|
* @param {integer} DeltaTime
|
|
* @returns {void}
|
|
*/
|
|
function ProcState_Character_Rest(obj, DeltaTime) {
|
|
|
|
} |