/Resources/Scripts/YeuxAI_Handler_onYeuxChanged.lua
http://github.com/thebigbang/Face_Editor · Lua · 22 lines · 9 code · 4 blank · 9 comment · 1 complexity · 0b44c66362961000e3bdd2ff23a22f80 MD5 · raw file
- --------------------------------------------------------------------------------
- -- Handler.......... : onYeuxChanged
- -- Author........... :
- -- Description...... :
- --------------------------------------------------------------------------------
- --------------------------------------------------------------------------------
- function YeuxAI.onYeuxChanged ( newPosition )
- --------------------------------------------------------------------------------
-
- local getPosition
-
- getPosition=this._getPosition ( )+ newPosition
- if(getPosition<0)then getPosition=0 end
- this._getPosition (getPosition)
- this._getLastFileName (this._getFileName ( ))
- this.SelectObj()
- this.Load ( )
-
- --------------------------------------------------------------------------------
- end
- --------------------------------------------------------------------------------