您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

19 行
453 B

using GameplayIngredients;
using GameplayIngredients.Actions;
using UnityEngine;
public class ShakeAction : ActionBase
{
public bool ForceShake = false;
public ShakeManager.Settings ShakeSettings = new ShakeManager.Settings
{
Intensity = 1.0f,
Position = Vector3.zero
};
public override void Execute(GameObject instigator = null)
{
Manager.Get<ShakeManager>().Shake(ShakeSettings, ForceShake);
}
}