@@ -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 ) ) ,
0 commit comments