C# Class Bone, UnitySpritesAndBones

Inheritance: MonoBehaviour
Show file Open project: Banbury/UnitySpritesAndBones Class Usage Examples

Public Properties

Property Type Description
color Color
deform bool
editMode bool
index int
influenceHead float
influenceTail float
length float
snapToParent bool
zOrder float

Public Methods

Method Description
AddIK ( ) : void
ChangeRendererNormals ( int normal ) : void
FlipX ( ) : void
FlipY ( ) : void
GetInfluence ( Vector2 p ) : float
GetRenderersZ ( ) : float>.Dictionary
HasChildPositionsSaved ( ) : bool
LoadChildPosRot ( ) : void
OnDrawGizmos ( ) : void
SaveChildPosRot ( ) : void
Split ( ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
Create ( ) : Bone,
GetMaxIndex ( ) : int
MoveRenderersPositions ( ) : void

Method Details

AddIK() public method

public AddIK ( ) : void
return void

ChangeRendererNormals() public method

public ChangeRendererNormals ( int normal ) : void
normal int
return void

FlipX() public method

public FlipX ( ) : void
return void

FlipY() public method

public FlipY ( ) : void
return void

GetInfluence() public method

public GetInfluence ( Vector2 p ) : float
p Vector2
return float

GetRenderersZ() public method

public GetRenderersZ ( ) : float>.Dictionary
return float>.Dictionary

HasChildPositionsSaved() public method

public HasChildPositionsSaved ( ) : bool
return bool

LoadChildPosRot() public method

public LoadChildPosRot ( ) : void
return void

OnDrawGizmos() public method

public OnDrawGizmos ( ) : void
return void

SaveChildPosRot() public method

public SaveChildPosRot ( ) : void
return void

Split() public static method

public static Split ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

color public property

public Color color
return Color

deform public property

public bool deform
return bool

editMode public property

public bool editMode
return bool

index public property

public int index
return int

influenceHead public property

public float influenceHead
return float

influenceTail public property

public float influenceTail
return float

length public property

public float length
return float

snapToParent public property

public bool snapToParent
return bool

zOrder public property

public float zOrder
return float