C# Class SpriteSlice

Inheritance: MonoBehaviour
显示文件 Open project: LelandLL/slicer Class Usage Examples

Public Properties

Property Type Description
_doDebug bool
innerFillMultiplier UnityEngine.AnimationCurve

Public Methods

Method Description
SliceSprite ( Vector3 entry, Vector3 exit, RectTransform obj ) : void

Private Methods

Method Description
Flatten ( Vector3 val ) : Vector3[]
SnapToBounds ( RectTransform obj, Vector3 pos, bool &isCorner, int &chosenIndex ) : Vector3

Method Details

SliceSprite() public method

public SliceSprite ( Vector3 entry, Vector3 exit, RectTransform obj ) : void
entry Vector3
exit Vector3
obj UnityEngine.RectTransform
return void

Property Details

_doDebug public_oe property

public bool _doDebug
return bool

innerFillMultiplier public_oe property

public AnimationCurve,UnityEngine innerFillMultiplier
return UnityEngine.AnimationCurve