Skip to content

whilu/UButtonExpand

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UButtonExpand

UGUI Button expand library.

Screenshots

UButtonExpand_screen_record_1.0.0.gif

Usage

ButtonLongClickListener

Use it just like Button in UGUI!

PositionTransformer

Add this script to your Button object, then init with code:

PositionTransformer mPositionTransformer;

void Start () {
	mPositionTransformer.init (10, PositionTransformer.TRANSFORM_DIRECTION.Y_AXIS);
}

NOTE: If you want to use this in ScrollView, use ScrollviewPositionTransformer to replace PositionTransformer.

Enjoy it😄!

Change logs

1.0.0(2018-12-3)

  • Fix bug

0.9.0(2017-11-5)

  • First release

About

If you have any questions, contact me: lujun.byte#gmail.com.

License

MIT