会发送错误
InvalidCastException: Cannot cast from source type to destination type.
DG.Tweening.Plugins.PathPlugin.SetChangeValue (DG.Tweening.Core.TweenerCore`3 t) (at D:/DG/_Develop/__UNITY3_CLASSES/_Holoville/__DOTween/_DOTween.Assembly/DOTween/Plugins/PathPlugin.cs:57)
PathPlugin.cs源码
55: public override void SetChangeValue(TweenerCore<Vector3, Path, PathOptions> t)
56: {
57: Transform trans = ((Component)t.target).transform;
4 个回复
谷主
赞同来自:
lanr
赞同来自:
InvalidCastException: Cannot cast from source type to destination type.
DG.Tweening.Plugins.PathPlugin.SetChangeValue (DG.Tweening.Core.TweenerCore`3 t) (at D:/DG/_Develop/__UNITY3_CLASSES/_Holoville/__DOTween/_DOTween.Assembly/DOTween/Plugins/PathPlugin.cs:57)
PathPlugin.cs源码
lanr
赞同来自:
现在是使用这个方式做, 就是坐标转换比较麻烦
谷主
赞同来自: