Files
FueraDeEscala/Assets/Game Kit Controller/Scripts/Camera/Player Camera/externalShakeInfo.cs
Robii Aragon 779f2c8b20 add ckg
plantilla base para movimiento básico
2026-02-05 05:07:55 -08:00

59 lines
1.5 KiB
C#

using UnityEngine;
using System.Collections;
[System.Serializable]
public class externalShakeInfo
{
public Vector3 shakePosition;
public Vector3 shakePositionSpeed;
public float shakePositionSmooth;
public Vector3 shakeRotation;
public Vector3 shakeRotationSpeed;
public float shakeRotationSmooth;
public float shakeDuration;
public bool decreaseShakeInTime;
public float decreaseShakeSpeed;
public bool useDelayBeforeStartDecrease;
public float delayBeforeStartDecrease;
public bool repeatShake;
public int numberOfRepeats;
public float delayBetweenRepeats;
public float externalShakeDelay;
public bool useUnscaledTime;
public externalShakeInfo (externalShakeInfo newShake)
{
shakePosition = newShake.shakePosition;
shakePositionSpeed = newShake.shakePositionSpeed;
shakePositionSmooth = newShake.shakePositionSmooth;
shakeRotation = newShake.shakeRotation;
shakeRotationSpeed = newShake.shakeRotationSpeed;
shakeRotationSmooth = newShake.shakeRotationSmooth;
shakeDuration = newShake.shakeDuration;
decreaseShakeInTime = newShake.decreaseShakeInTime;
decreaseShakeSpeed = newShake.decreaseShakeSpeed;
useDelayBeforeStartDecrease = newShake.useDelayBeforeStartDecrease;
delayBeforeStartDecrease = newShake.delayBeforeStartDecrease;
repeatShake = newShake.repeatShake;
numberOfRepeats = newShake.numberOfRepeats;
delayBetweenRepeats = newShake.delayBetweenRepeats;
externalShakeDelay = newShake.externalShakeDelay;
useUnscaledTime = newShake.useUnscaledTime;
}
public externalShakeInfo ()
{
}
}