Method | Description | |
---|---|---|
Equals ( object obj ) : bool | ||
GetHashCode ( ) : int | ||
ShakeTweenProperty ( Vector3 shakeMagnitude, GoShakeType shakeType, int frameMod = 1, bool useLocalProperties = false ) : System.Collections |
you can shake any combination of position, scale and eulers by passing in a bitmask of the types you want to shake. frameMod allows you to specify what frame count the shakes should occur on. for example, a frameMod of 3 would mean that only when frameCount % 3 == 0 will the shake occur
|
|
prepareForUse ( ) : void | ||
tick ( float totalElapsedTime ) : void | ||
validateTarget ( object target ) : bool |
Method | Description | |
---|---|---|
randomDiminishingTarget ( float falloffValue ) : Vector3 |
public ShakeTweenProperty ( Vector3 shakeMagnitude, GoShakeType shakeType, int frameMod = 1, bool useLocalProperties = false ) : System.Collections | ||
shakeMagnitude | Vector3 | |
shakeType | GoShakeType | |
frameMod | int | |
useLocalProperties | bool | |
return | System.Collections |
public tick ( float totalElapsedTime ) : void | ||
totalElapsedTime | float | |
return | void |
public validateTarget ( object target ) : bool | ||
target | object | |
return | bool |