C# Class BBGamelib.CCSpriteFrame

Datei anzeigen Open project: BigWoodGames/cocos2d-unity Class Usage Examples

Public Methods

Method Description
CCSpriteFrame ( Sprite spt ) : UnityEngine
CCSpriteFrame ( Sprite spt, Vector2 originalSize, Vector2 offset, bool isRoated ) : UnityEngine
CCSpriteFrame ( string file ) : UnityEngine

Private Methods

Method Description
init ( Sprite spt ) : void
init ( Sprite spt, Vector2 originalSize, Vector2 offset, bool isRoated ) : void

Method Details

CCSpriteFrame() public method

public CCSpriteFrame ( Sprite spt ) : UnityEngine
spt UnityEngine.Sprite
return UnityEngine

CCSpriteFrame() public method

public CCSpriteFrame ( Sprite spt, Vector2 originalSize, Vector2 offset, bool isRoated ) : UnityEngine
spt UnityEngine.Sprite
originalSize Vector2
offset Vector2
isRoated bool
return UnityEngine

CCSpriteFrame() public method

public CCSpriteFrame ( string file ) : UnityEngine
file string
return UnityEngine