Skip to content

Commit 71b6199

Browse files
committed
更新tolua#到1.0.5.205版
1 parent 693e36a commit 71b6199

File tree

3 files changed

+19
-9
lines changed

3 files changed

+19
-9
lines changed

Assets/LuaFramework/Editor/CustomSettings.cs

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,31 +51,36 @@ public static class CustomSettings
5151
//-------------------------------------------------------------------
5252
_GT(typeof(Debugger)),
5353

54-
/*_GT(typeof(DG.Tweening.DOTween)),
55-
_GT(typeof(DG.Tweening.Tween)).SetBaseType(typeof(System.Object)),
54+
#if USING_DOTWEENING
55+
_GT(typeof(DG.Tweening.DOTween)),
56+
_GT(typeof(DG.Tweening.Tween)).SetBaseType(typeof(System.Object)).AddExtendType(typeof(DG.Tweening.TweenExtensions)),
5657
_GT(typeof(DG.Tweening.Sequence)).AddExtendType(typeof(DG.Tweening.TweenSettingsExtensions)),
57-
_GT(typeof(DG.Tweening.Tweener)),
58+
_GT(typeof(DG.Tweening.Tweener)).AddExtendType(typeof(DG.Tweening.TweenSettingsExtensions)),
5859
_GT(typeof(DG.Tweening.LoopType)),
5960
_GT(typeof(DG.Tweening.PathMode)),
6061
_GT(typeof(DG.Tweening.PathType)),
62+
_GT(typeof(DG.Tweening.RotateMode)),
6163
_GT(typeof(Component)).AddExtendType(typeof(DG.Tweening.ShortcutExtensions)),
6264
_GT(typeof(Transform)).AddExtendType(typeof(DG.Tweening.ShortcutExtensions)),
6365
_GT(typeof(Light)).AddExtendType(typeof(DG.Tweening.ShortcutExtensions)),
6466
_GT(typeof(Material)).AddExtendType(typeof(DG.Tweening.ShortcutExtensions)),
6567
_GT(typeof(Rigidbody)).AddExtendType(typeof(DG.Tweening.ShortcutExtensions)),
6668
_GT(typeof(Camera)).AddExtendType(typeof(DG.Tweening.ShortcutExtensions)),
67-
_GT(typeof(AudioSource)).AddExtendType(typeof(DG.Tweening.ShortcutExtensions)),
68-
_GT(typeof(LineRenderer)).AddExtendType(typeof(DG.Tweening.ShortcutExtensions)),
69-
_GT(typeof(TrailRenderer)).AddExtendType(typeof(DG.Tweening.ShortcutExtensions)), */
70-
71-
69+
_GT(typeof(AudioSource)).AddExtendType(typeof(DG.Tweening.ShortcutExtensions)),
70+
//_GT(typeof(LineRenderer)).AddExtendType(typeof(DG.Tweening.ShortcutExtensions)),
71+
//_GT(typeof(TrailRenderer)).AddExtendType(typeof(DG.Tweening.ShortcutExtensions)),
72+
#else
73+
7274
_GT(typeof(Component)),
7375
_GT(typeof(Transform)),
7476
_GT(typeof(Material)),
7577
_GT(typeof(Light)),
7678
_GT(typeof(Rigidbody)),
7779
_GT(typeof(Camera)),
78-
_GT(typeof(AudioSource)),
80+
_GT(typeof(AudioSource)),
81+
//_GT(typeof(LineRenderer))
82+
//_GT(typeof(TrailRenderer))
83+
#endif
7984

8085
_GT(typeof(Behaviour)),
8186
_GT(typeof(MonoBehaviour)),

Assets/LuaFramework/ToLua/Editor/ToLuaExport.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ public static class ToLuaExport
119119
{
120120
"String.Chars",
121121
"Directory.SetAccessControl",
122+
"File.GetAccessControl",
123+
"File.SetAccessControl",
122124
"AnimationClip.averageDuration",
123125
"AnimationClip.averageAngularSpeed",
124126
"AnimationClip.averageSpeed",

ReadMe.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ tolua#地址: https://github.com/topameng/tolua
1616
XlsxToLua: https://github.com/zhangqi-ulua/XlsxToLua
1717
UnityHello: https://github.com/woshihuo12/UnityHello
1818

19+
//-------------2016-07-08-------------
20+
(1)更新tolua#到1.0.5.205版
21+
1922
//-------------2016-07-01-------------
2023
(1)更新tolua#到1.0.5.203版
2124

0 commit comments

Comments
 (0)