增加文档

This commit is contained in:
2025-10-18 15:49:45 +08:00
parent a9b10b88c0
commit a753cf4998
7 changed files with 106 additions and 88 deletions

View File

@@ -5,11 +5,23 @@
文件用途:角色站立状态
*/
/**
*
* @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");
@@ -17,6 +29,13 @@ function SetState_Character_Rest(obj) {
obj.SetSpeed(0, 0, null);
}
/**
*
* @function
* @param {IRDSQRCharacter} obj
* @param {integer} DeltaTime
* @returns {void}
*/
function ProcState_Character_Rest(obj, DeltaTime) {
}