scripts
This commit is contained in:
@@ -0,0 +1,83 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
// Token: 0x020004D0 RID: 1232
|
||||
[Serializable]
|
||||
public class PhotonTransformViewPositionModel
|
||||
{
|
||||
// Token: 0x04001CEC RID: 7404
|
||||
public bool SynchronizeEnabled;
|
||||
|
||||
// Token: 0x04001CED RID: 7405
|
||||
public bool TeleportEnabled = true;
|
||||
|
||||
// Token: 0x04001CEE RID: 7406
|
||||
public float TeleportIfDistanceGreaterThan = 3f;
|
||||
|
||||
// Token: 0x04001CEF RID: 7407
|
||||
public PhotonTransformViewPositionModel.PIDCMCKLDAG InterpolateOption = PhotonTransformViewPositionModel.PIDCMCKLDAG.EstimatedSpeed;
|
||||
|
||||
// Token: 0x04001CF0 RID: 7408
|
||||
public float InterpolateMoveTowardsSpeed = 1f;
|
||||
|
||||
// Token: 0x04001CF1 RID: 7409
|
||||
public float InterpolateLerpSpeed = 1f;
|
||||
|
||||
// Token: 0x04001CF2 RID: 7410
|
||||
public float InterpolateMoveTowardsAcceleration = 2f;
|
||||
|
||||
// Token: 0x04001CF3 RID: 7411
|
||||
public float InterpolateMoveTowardsDeceleration = 2f;
|
||||
|
||||
// Token: 0x04001CF4 RID: 7412
|
||||
public AnimationCurve InterpolateSpeedCurve = new AnimationCurve(new Keyframe[]
|
||||
{
|
||||
new Keyframe(-1f, 0f, 0f, float.PositiveInfinity),
|
||||
new Keyframe(0f, 1f, 0f, 0f),
|
||||
new Keyframe(1f, 1f, 0f, 1f),
|
||||
new Keyframe(4f, 4f, 1f, 0f)
|
||||
});
|
||||
|
||||
// Token: 0x04001CF5 RID: 7413
|
||||
public PhotonTransformViewPositionModel.BGPHPNHENHI ExtrapolateOption;
|
||||
|
||||
// Token: 0x04001CF6 RID: 7414
|
||||
public float ExtrapolateSpeed = 1f;
|
||||
|
||||
// Token: 0x04001CF7 RID: 7415
|
||||
public bool ExtrapolateIncludingRoundTripTime = true;
|
||||
|
||||
// Token: 0x04001CF8 RID: 7416
|
||||
public int ExtrapolateNumberOfStoredPositions = 1;
|
||||
|
||||
// Token: 0x04001CF9 RID: 7417
|
||||
public bool DrawErrorGizmo = true;
|
||||
|
||||
// Token: 0x020004D1 RID: 1233
|
||||
public enum PIDCMCKLDAG
|
||||
{
|
||||
// Token: 0x04001CFB RID: 7419
|
||||
Disabled,
|
||||
// Token: 0x04001CFC RID: 7420
|
||||
FixedSpeed,
|
||||
// Token: 0x04001CFD RID: 7421
|
||||
EstimatedSpeed,
|
||||
// Token: 0x04001CFE RID: 7422
|
||||
SynchronizeValues,
|
||||
// Token: 0x04001CFF RID: 7423
|
||||
Lerp
|
||||
}
|
||||
|
||||
// Token: 0x020004D2 RID: 1234
|
||||
public enum BGPHPNHENHI
|
||||
{
|
||||
// Token: 0x04001D01 RID: 7425
|
||||
Disabled,
|
||||
// Token: 0x04001D02 RID: 7426
|
||||
SynchronizeValues,
|
||||
// Token: 0x04001D03 RID: 7427
|
||||
EstimateSpeedAndTurn,
|
||||
// Token: 0x04001D04 RID: 7428
|
||||
FixedSpeed
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user