|
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... | |
Public Member Functions inherited from GAFConverterUnity | |
| 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... | |
Public Member Functions inherited from GAFConverter | |
| 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 |
Protected Attributes inherited from GAFConverterUnity | |
| Material[] | mSharedMaterials |
| string | mName = "GAFAnimation" |
| GameObject | mGo |
| float | mScale |
Protected Attributes inherited from GAFConverter | |
| 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 | |
Protected Member Functions inherited from GAFConverterUnity | |
| 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... | |
Properties inherited from GAFConverterUnity | |
| string | Name [get] |
| Gets the name. More... | |
| GameObject | RootObject [get] |
| Gets the root object. More... | |
Events inherited from GAFConverter | |
| 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 |
1.8.4