示例#1
0
 public void RandomShake(float impact)
 {
     this.m_ShakeIntensityType = ShakeMinionIntensity.Custom;
     this.m_IntensityValue     = impact;
     this.m_ShakeType          = ShakeMinionType.Angle;
     this.m_ShakeType          = ShakeMinionType.RandomDirection;
     this.ShakeMinion();
 }
 public override void Reset()
 {
     this.gameObject           = null;
     this.MinionsToShake       = MinionsToShakeEnum.All;
     this.shakeType            = ShakeMinionType.RandomDirection;
     this.shakeSize            = ShakeMinionIntensity.SmallShake;
     this.customShakeIntensity = 0.1f;
     this.radius = 0f;
 }
示例#3
0
 public static void ShakeTargetMinion(GameObject shakeTarget, ShakeMinionType shakeType, Vector3 impactPoint, ShakeMinionIntensity intensityType, float intensityValue, float radius, float startDelay)
 {
     object[] objArray1 = new object[] { shakeTarget, shakeType, impactPoint, intensityType, intensityValue, radius, startDelay };
     MonoClass.smethod_18(TritonHs.MainAssemblyPath, "", "MinionShake", "ShakeTargetMinion", objArray1);
 }
示例#4
0
 public static void ShakeObject(GameObject shakeObject, ShakeMinionType shakeType, Vector3 impactPoint, ShakeMinionIntensity intensityType, float intensityValue, float radius, float startDelay, bool ignoreAnimationPlaying, bool ignoreHeight)
 {
     object[] objArray1 = new object[] { shakeObject, shakeType, impactPoint, intensityType, intensityValue, radius, startDelay, ignoreAnimationPlaying, ignoreHeight };
     MonoClass.smethod_19(TritonHs.MainAssemblyPath, "", "MinionShake", "ShakeObject", new Class272.Enum20[] { Class272.Enum20.Class }, objArray1);
 }