C# Class BrashMonkey.Spriter.DataPlugins.SpriterDataUnity

Inheritance: BrashMonkey.Spriter.Data.ObjectModel.SpriterData
Mostra file Open project: CptDefault/spriterdapi-unity

Protected Methods

Method 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

Method 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 method

protected abstract AddSprite ( ISpriterTimelineObject obj, GameObject go ) : void
obj ISpriterTimelineObject
go UnityEngine.GameObject
return void

CreateSpriteAtlas() protected abstract method

protected abstract CreateSpriteAtlas ( ) : void
return void

FromImplementation() protected method

protected FromImplementation ( ) : void
return void

GetSaveFolder() protected abstract method

protected abstract GetSaveFolder ( ) : string
return string

GetSpriteInfo() protected abstract method

protected abstract GetSpriteInfo ( SpriterNGUIColorHelper helper, Vector2 &paddingTL, Vector2 &paddingBR, Vector2 &size ) : void
helper SpriterNGUIColorHelper
paddingTL Vector2
paddingBR Vector2
size Vector2
return void

GetSpriteName() protected method

protected GetSpriteName ( string imagePath ) : string
imagePath string
return string

ToImplementation() protected method

protected ToImplementation ( ) : void
return void