You've already forked taptap2024_GJ_chidouren
updat core
This commit is contained in:
@@ -51,6 +51,14 @@ namespace System
|
||||
this._cineMachineNormalImpulseSource.GenerateImpulse(vector.normalized * scale);
|
||||
}
|
||||
|
||||
public void SampleImpulseCamera (float time, Vector3 vector, float scale)
|
||||
{
|
||||
this._cineMachineNormalImpulseSource.m_ImpulseDefinition.m_ImpulseDuration = time;
|
||||
this._cineMachineNormalImpulseSource.m_ImpulseDefinition.m_ImpulseType = CinemachineImpulseDefinition.ImpulseTypes.Legacy;
|
||||
this._cineMachineNormalImpulseSource.m_ImpulseDefinition.m_ImpulseShape = CinemachineImpulseDefinition.ImpulseShapes.Bump;
|
||||
this._cineMachineNormalImpulseSource.GenerateImpulse(vector.normalized * scale);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 持续震动
|
||||
/// </summary>
|
||||
|
||||
@@ -88,7 +88,7 @@ namespace System
|
||||
return;
|
||||
#endif
|
||||
var shakeValue = Account.Instance.AccountSystemData.ShakeValue;
|
||||
var duration = 40 * (int)vibratorScale;
|
||||
var duration = 250;
|
||||
int type = (int)vibratorScale;
|
||||
|
||||
if (VibratorImp.Instance.HasCustomVibration ())
|
||||
|
||||
@@ -46,7 +46,7 @@ Material:
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- Vector1_c9f2135c9d254951b22c018d295f8558: 0.003
|
||||
- _blurOffset: 1
|
||||
- _blurOffset: 0.08123708
|
||||
m_Colors: []
|
||||
m_BuildTextureStacks: []
|
||||
--- !u!114 &268278646524644520
|
||||
|
||||
Reference in New Issue
Block a user