mirror of
https://github.com/Cardidi/dotween-upm-fork.git
synced 2025-12-20 01:06:02 +08:00
Content update
This commit is contained in:
parent
b56c49e441
commit
7545637cca
@ -1438,6 +1438,22 @@
|
||||
and returns the total number of tweens involved.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:DG.Tweening.Core.Enums.UpdateNotice">
|
||||
<summary>
|
||||
Additional notices passed to plugins when updating.
|
||||
Public so it can be used by custom plugins. Internally, only PathPlugin uses it
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:DG.Tweening.Core.Enums.UpdateNotice.None">
|
||||
<summary>
|
||||
None
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:DG.Tweening.Core.Enums.UpdateNotice.RewindStep">
|
||||
<summary>
|
||||
Lets the plugin know that we restarted or rewinded
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:DG.Tweening.PathType">
|
||||
<summary>
|
||||
Type of path to use with DOPath tweens
|
||||
@ -2187,21 +2203,5 @@
|
||||
Public only so custom shortcuts can access some of these methods
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:DG.Tweening.Core.Enums.UpdateNotice">
|
||||
<summary>
|
||||
Additional notices passed to plugins when updating.
|
||||
Public so it can be used by custom plugins. Internally, only PathPlugin uses it
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:DG.Tweening.Core.Enums.UpdateNotice.None">
|
||||
<summary>
|
||||
None
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:DG.Tweening.Core.Enums.UpdateNotice.RewindStep">
|
||||
<summary>
|
||||
Lets the plugin know that we restarted or rewinded
|
||||
</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1438,6 +1438,22 @@
|
||||
and returns the total number of tweens involved.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:DG.Tweening.Core.Enums.UpdateNotice">
|
||||
<summary>
|
||||
Additional notices passed to plugins when updating.
|
||||
Public so it can be used by custom plugins. Internally, only PathPlugin uses it
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:DG.Tweening.Core.Enums.UpdateNotice.None">
|
||||
<summary>
|
||||
None
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:DG.Tweening.Core.Enums.UpdateNotice.RewindStep">
|
||||
<summary>
|
||||
Lets the plugin know that we restarted or rewinded
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:DG.Tweening.PathType">
|
||||
<summary>
|
||||
Type of path to use with DOPath tweens
|
||||
@ -2187,21 +2203,5 @@
|
||||
Public only so custom shortcuts can access some of these methods
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:DG.Tweening.Core.Enums.UpdateNotice">
|
||||
<summary>
|
||||
Additional notices passed to plugins when updating.
|
||||
Public so it can be used by custom plugins. Internally, only PathPlugin uses it
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:DG.Tweening.Core.Enums.UpdateNotice.None">
|
||||
<summary>
|
||||
None
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:DG.Tweening.Core.Enums.UpdateNotice.RewindStep">
|
||||
<summary>
|
||||
Lets the plugin know that we restarted or rewinded
|
||||
</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1438,6 +1438,22 @@
|
||||
and returns the total number of tweens involved.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:DG.Tweening.Core.Enums.UpdateNotice">
|
||||
<summary>
|
||||
Additional notices passed to plugins when updating.
|
||||
Public so it can be used by custom plugins. Internally, only PathPlugin uses it
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:DG.Tweening.Core.Enums.UpdateNotice.None">
|
||||
<summary>
|
||||
None
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:DG.Tweening.Core.Enums.UpdateNotice.RewindStep">
|
||||
<summary>
|
||||
Lets the plugin know that we restarted or rewinded
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:DG.Tweening.PathType">
|
||||
<summary>
|
||||
Type of path to use with DOPath tweens
|
||||
@ -2187,21 +2203,5 @@
|
||||
Public only so custom shortcuts can access some of these methods
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:DG.Tweening.Core.Enums.UpdateNotice">
|
||||
<summary>
|
||||
Additional notices passed to plugins when updating.
|
||||
Public so it can be used by custom plugins. Internally, only PathPlugin uses it
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:DG.Tweening.Core.Enums.UpdateNotice.None">
|
||||
<summary>
|
||||
None
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:DG.Tweening.Core.Enums.UpdateNotice.RewindStep">
|
||||
<summary>
|
||||
Lets the plugin know that we restarted or rewinded
|
||||
</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,23 +1,46 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Reflection;
|
||||
using DG.Tweening;
|
||||
using System;
|
||||
using DG.Tweening.Core;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
public class TempTests : BrainBase
|
||||
{
|
||||
public Transform targetA, targetB;
|
||||
|
||||
public DOGetter<Vector3> getterA, getterB;
|
||||
|
||||
IEnumerator Start()
|
||||
{
|
||||
yield return new WaitForSeconds(0.8f);
|
||||
yield return new WaitForSeconds(1);
|
||||
|
||||
Debug.Log(Time.realtimeSinceStartup + " Create tween");
|
||||
getterA = ()=> targetA.position;
|
||||
getterB = ()=> targetB.position;
|
||||
|
||||
DOTween.Sequence()
|
||||
.SetId(123)
|
||||
.PrependInterval(3)
|
||||
.OnComplete(() => Debug.Log(Time.realtimeSinceStartup + " First callback!"));
|
||||
Debug.Log(getterA == getterB);
|
||||
Debug.Log(getterA.Equals(getterB));
|
||||
|
||||
DOTween.Kill(123, true);
|
||||
float time = Time.realtimeSinceStartup;
|
||||
Debug.Log(CompareGetters(getterA, getterB));
|
||||
float elapsed = Time.realtimeSinceStartup - time;
|
||||
Debug.Log("Compare executed in " + elapsed + " seconds");
|
||||
}
|
||||
|
||||
bool CompareGetters<T>(DOGetter<T> a, DOGetter<T> b)
|
||||
{
|
||||
var aBody = a.Method.GetMethodBody().GetILAsByteArray();
|
||||
var bBody = b.Method.GetMethodBody().GetILAsByteArray();
|
||||
|
||||
int aLen = aBody.Length;
|
||||
Debug.Log("LEN: " + aLen);
|
||||
if (aLen != bBody.Length) return false;
|
||||
|
||||
for(int i = 0; i < aLen; i++) {
|
||||
if(aBody[i] != bBody[i]) return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@ -1438,6 +1438,22 @@
|
||||
and returns the total number of tweens involved.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:DG.Tweening.Core.Enums.UpdateNotice">
|
||||
<summary>
|
||||
Additional notices passed to plugins when updating.
|
||||
Public so it can be used by custom plugins. Internally, only PathPlugin uses it
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:DG.Tweening.Core.Enums.UpdateNotice.None">
|
||||
<summary>
|
||||
None
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:DG.Tweening.Core.Enums.UpdateNotice.RewindStep">
|
||||
<summary>
|
||||
Lets the plugin know that we restarted or rewinded
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:DG.Tweening.PathType">
|
||||
<summary>
|
||||
Type of path to use with DOPath tweens
|
||||
@ -2187,21 +2203,5 @@
|
||||
Public only so custom shortcuts can access some of these methods
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:DG.Tweening.Core.Enums.UpdateNotice">
|
||||
<summary>
|
||||
Additional notices passed to plugins when updating.
|
||||
Public so it can be used by custom plugins. Internally, only PathPlugin uses it
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:DG.Tweening.Core.Enums.UpdateNotice.None">
|
||||
<summary>
|
||||
None
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:DG.Tweening.Core.Enums.UpdateNotice.RewindStep">
|
||||
<summary>
|
||||
Lets the plugin know that we restarted or rewinded
|
||||
</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user