Unity GAF Player
1.0
Tools for playing GAF animation inside Unity
|
Public Member Functions | |
GAFConverterNGUI () | |
Initializes a new instance of the GAFConverterNGUI class. More... | |
GAFConverterNGUI (string inJASONString, string name, GameObject nguiPanel) | |
Initializes a new instance of the GAFConverterNGUI class. More... | |
GAFConverterNGUI (string inJASONString, GameObject nguiPanel) | |
Initializes a new instance of the GAFConverterNGUI class. More... | |
new virtual GAFAnimationPlayerNGUI | CreateAnimation (bool hd) |
Gets the gameobject by element name. More... | |
![]() | |
GAFConverterUnity () | |
Initializes a new instance of the GAFConverterUnity class. More... | |
GAFConverterUnity (string gafPath) | |
Initializes a new instance of the GAFConverterUnity class. More... | |
GAFConverterUnity (string gafPath, string name) | |
Initializes a new instance of the GAFConverterUnity class. More... | |
![]() | |
GAFConverter () | |
Initializes a new instance of the GAFConverter class. More... | |
GAFConverter (string gafAnimationPath) | |
Initializes a new instance of the GAFConverter class. More... | |
void | ProcessGAF () |
Do parsing and fill data structures. More... | |
GAFElement | GetElementByName (string name, float scale) |
Gets the name of the element. More... | |
GAFAnimationConfigFrame[] | GetAnimationFramesByObject (string objectName) |
Gets the animation frames by object. More... | |
GAFAnimationConfigFrame[] | GetAnimationFramesByObjectSequence (string objectName, GAFAnimationSequence animationSequence) |
Gets the animation frames by object sequence. More... | |
override string | ToString () |
Returns a System.String that represents the current GAFConverter. More... | |
Protected Attributes | |
GameObject | mNguiPanel |
![]() | |
Material[] | mSharedMaterials |
string | mName = "GAFAnimation" |
GameObject | mGo |
float | mScale |
![]() | |
string | mJASONString = "" |
int | mFrameNumber = 0 |
string | mVersion |
GAFTextureAtlas[] | mTextureAtlases |
GAFAnimationSequence[] | mAnimationSequences |
GAFAnimationObject[] | mAnimationObjects |
GAFAnimationConfigFrame[] | mAnimationConfigFrames |
GAFNamedPart[] | mNamedParts |
GAFAnimationMask[] | mAnimationMasks |
string | mGafAnimationPath |
bool | mWasProcessed = false |
Additional Inherited Members | |
![]() | |
GAFTextureAtlas | GetAtlasById (int id, float scale) |
Gets the atlas by identifier. More... | |
GAFTextureAtlas | GetTextureAtlasByScale (float scale) |
Gets the texture atlas by scale. More... | |
Texture2D | GetTextureByElementName (string elementName) |
Gets the name of the texture by element. More... | |
Texture2D | GetMaskTextureByElementName (string elementName) |
Gets the name of the mask texture by element. More... | |
virtual GameObject | GetGameObjectByElementName (string elementName) |
Gets the name of the game object by element. More... | |
![]() | |
string | Name [get] |
Gets the name. More... | |
GameObject | RootObject [get] |
Gets the root object. More... | |
![]() | |
FrameHandler | FrameProcessed |
Occurs when frame processed. More... | |
GAFConverterNGUI.GAFConverterNGUI | ( | ) |
Initializes a new instance of the GAFConverterNGUI class.
GAFConverterNGUI.GAFConverterNGUI | ( | string | inJASONString, |
string | name, | ||
GameObject | nguiPanel | ||
) |
Initializes a new instance of the GAFConverterNGUI class.
inJASONString | In JASON string. |
name | Name. |
nguiPanel | Ngui panel. |
GAFConverterNGUI.GAFConverterNGUI | ( | string | inJASONString, |
GameObject | nguiPanel | ||
) |
Initializes a new instance of the GAFConverterNGUI class.
inJASONString | In JASON string. |
nguiPanel | Ngui panel. |
|
virtual |
Gets the gameobject by element name.
elementName | Element name. |
Creates the animation.
hd | Hd. |
Reimplemented from GAFConverterUnity.
|
protected |