Class SUReactionData
Data to setup a custom reaction in the inspector
Inheritance
SUReactionData
Assembly: cs.temp.dll.dll
Syntax
[Serializable]
public class SUReactionData
Constructors
SUReactionData(String)
Declaration
public SUReactionData(string key)
Parameters
Type |
Name |
Description |
String |
key |
|
SUReactionData(String, String)
Declaration
public SUReactionData(string key, string name)
Parameters
Properties
AnchoredPositionAnim
Declaration
public SUAnchoredPositionData AnchoredPositionAnim { get; }
Property Value
CanvasGroupAnim
Declaration
public SUCGroupData CanvasGroupAnim { get; }
Property Value
CharTweenerAnim
Declaration
public SUCharTweenData CharTweenerAnim { get; }
Property Value
ColorAnim
Declaration
public SUColorData ColorAnim { get; }
Property Value
CustomEData
Declaration
public SUCustomEventData CustomEData { get; }
Property Value
FieldsValues
Declaration
public SUFieldValuesData FieldsValues { get; set; }
Property Value
JumpAnim
Declaration
public SUJumpData JumpAnim { get; }
Property Value
Key
Declaration
public string Key { get; }
Property Value
Name
Declaration
public string Name { get; }
Property Value
PositionAnim
Declaration
public SUPositionData PositionAnim { get; }
Property Value
PunchAnim
Declaration
public SUPunchData PunchAnim { get; }
Property Value
RectSizeAnim
Declaration
public SURectSizeData RectSizeAnim { get; }
Property Value
RotationAnim
Declaration
public SURotationData RotationAnim { get; }
Property Value
ScaleAnim
Declaration
public SUScaleData ScaleAnim { get; }
Property Value
SceneData
Declaration
public SUSceneData SceneData { get; }
Property Value
ShakeAnim
Declaration
public SUShakeData ShakeAnim { get; }
Property Value
StateData
Declaration
public SUStateData StateData { get; set; }
Property Value
Methods
CacheAnimations(GameObject)
Animations made with doTween or charTweener have values like "Starting". This function is called at awake in order to cache object components so that animations
with those values become possible
Declaration
public void CacheAnimations(GameObject go)
Parameters
Type |
Name |
Description |
GameObject |
go |
|
KillAnimations()
Declaration
public void KillAnimations()
Play(SUElementData, Object)
Declaration
public void Play(SUElementData data, object evtData)
Parameters