C# Class BrashMonkey.Spriter.DataPlugins.SpriterDataUnity

Inheritance: BrashMonkey.Spriter.Data.ObjectModel.SpriterData
Afficher le fichier Open project: CptDefault/spriterdapi-unity

Méthodes protégées

Méthode Description
AddSprite ( ISpriterTimelineObject obj, GameObject go ) : void
CreateSpriteAtlas ( ) : void
FromImplementation ( ) : void
GetSaveFolder ( ) : string
GetSpriteInfo ( SpriterNGUIColorHelper helper, Vector2 &paddingTL, Vector2 &paddingBR, Vector2 &size ) : void
GetSpriteName ( string imagePath ) : string
ToImplementation ( ) : void

Private Methods

Méthode Description
BindAnimation ( AnimationClip clip, AnimationCurve>.Dictionary curves ) : void
BindAnimation ( AnimationClip clip, AnimationCurve>.Dictionary animationCurves, string animProperty, Type type ) : void
CreateCharacterPrefab ( ) : void
DuplicateLast ( float currentTime, float frameRate, AnimationCurve curve ) : void
FindChildSpriteObject ( Transform baseGO, ISpriterTimelineObject obj ) : SpriterNGUIColorHelper
FindObject ( Transform parent, string name, int id = -1 ) : Transform
GetRelativeName ( Component component, Transform root ) : string
LinearKeyframe ( float time, float value ) : Keyframe
RecordFrame ( SpriterAnimation anim, Transform characterRoot, SpriterMainlineKey keyframe, SpriterMainlineKey endKey, float currentTime, float frameRate, AnimationCurve>.Dictionary curves ) : void
RemoveTangents ( AnimationCurve>.IEnumerable curves ) : void
SaveAssets ( GameObject root ) : void
SetObject ( SpriterAnimation anim, Transform characterRoot, bool lastFrame, float currentTime, float frameRate, AnimationCurve>.Dictionary curves, List processedSprites, ISpriterTimelineBone obj1, Transform>.Dictionary bones, Vector2>.Dictionary scales, SpriterMainlineBoneBase boneBase = null, SpriterMainlineObjectBase obj = null ) : void
SteppedKeyframe ( float time, float value ) : Keyframe

Method Details

AddSprite() protected abstract méthode

protected abstract AddSprite ( ISpriterTimelineObject obj, GameObject go ) : void
obj ISpriterTimelineObject
go UnityEngine.GameObject
Résultat void

CreateSpriteAtlas() protected abstract méthode

protected abstract CreateSpriteAtlas ( ) : void
Résultat void

FromImplementation() protected méthode

protected FromImplementation ( ) : void
Résultat void

GetSaveFolder() protected abstract méthode

protected abstract GetSaveFolder ( ) : string
Résultat string

GetSpriteInfo() protected abstract méthode

protected abstract GetSpriteInfo ( SpriterNGUIColorHelper helper, Vector2 &paddingTL, Vector2 &paddingBR, Vector2 &size ) : void
helper SpriterNGUIColorHelper
paddingTL Vector2
paddingBR Vector2
size Vector2
Résultat void

GetSpriteName() protected méthode

protected GetSpriteName ( string imagePath ) : string
imagePath string
Résultat string

ToImplementation() protected méthode

protected ToImplementation ( ) : void
Résultat void