mirror of
https://github.com/Cardidi/dotween-upm-fork.git
synced 2025-12-20 01:06:02 +08:00
- Added playingOnly optional parameter to TweensById and TweensByTarget
- Added DemiLib pre-alpha (used by DOTween Pro)
This commit is contained in:
parent
d497fa9a6d
commit
b01003f3e0
@ -1787,18 +1787,20 @@
|
||||
<para>Beware: each time you call this method a new list is generated, so use it for debug only</para>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.DOTween.TweensById(System.Object)">
|
||||
<member name="M:DG.Tweening.DOTween.TweensById(System.Object,System.Boolean)">
|
||||
<summary>
|
||||
Returns a list of all active tweens with the given id.
|
||||
Returns NULL if there are no active tweens with the given id.
|
||||
<para>Beware: each time you call this method a new list is generated</para>
|
||||
<param name="playingOnly">If TRUE returns only the tweens with the given ID that are currently playing</param>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.DOTween.TweensByTarget(System.Object)">
|
||||
<member name="M:DG.Tweening.DOTween.TweensByTarget(System.Object,System.Boolean)">
|
||||
<summary>
|
||||
Returns a list of all active tweens with the given target.
|
||||
Returns NULL if there are no active tweens with the given target.
|
||||
<para>Beware: each time you call this method a new list is generated</para>
|
||||
<param name="playingOnly">If TRUE returns only the tweens with the given target that are currently playing</param>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:DG.Tweening.DOTween.logBehaviour">
|
||||
|
||||
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.
@ -1787,18 +1787,20 @@
|
||||
<para>Beware: each time you call this method a new list is generated, so use it for debug only</para>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.DOTween.TweensById(System.Object)">
|
||||
<member name="M:DG.Tweening.DOTween.TweensById(System.Object,System.Boolean)">
|
||||
<summary>
|
||||
Returns a list of all active tweens with the given id.
|
||||
Returns NULL if there are no active tweens with the given id.
|
||||
<para>Beware: each time you call this method a new list is generated</para>
|
||||
<param name="playingOnly">If TRUE returns only the tweens with the given ID that are currently playing</param>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.DOTween.TweensByTarget(System.Object)">
|
||||
<member name="M:DG.Tweening.DOTween.TweensByTarget(System.Object,System.Boolean)">
|
||||
<summary>
|
||||
Returns a list of all active tweens with the given target.
|
||||
Returns NULL if there are no active tweens with the given target.
|
||||
<para>Beware: each time you call this method a new list is generated</para>
|
||||
<param name="playingOnly">If TRUE returns only the tweens with the given target that are currently playing</param>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:DG.Tweening.DOTween.logBehaviour">
|
||||
|
||||
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.
@ -1787,18 +1787,20 @@
|
||||
<para>Beware: each time you call this method a new list is generated, so use it for debug only</para>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.DOTween.TweensById(System.Object)">
|
||||
<member name="M:DG.Tweening.DOTween.TweensById(System.Object,System.Boolean)">
|
||||
<summary>
|
||||
Returns a list of all active tweens with the given id.
|
||||
Returns NULL if there are no active tweens with the given id.
|
||||
<para>Beware: each time you call this method a new list is generated</para>
|
||||
<param name="playingOnly">If TRUE returns only the tweens with the given ID that are currently playing</param>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.DOTween.TweensByTarget(System.Object)">
|
||||
<member name="M:DG.Tweening.DOTween.TweensByTarget(System.Object,System.Boolean)">
|
||||
<summary>
|
||||
Returns a list of all active tweens with the given target.
|
||||
Returns NULL if there are no active tweens with the given target.
|
||||
<para>Beware: each time you call this method a new list is generated</para>
|
||||
<param name="playingOnly">If TRUE returns only the tweens with the given target that are currently playing</param>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:DG.Tweening.DOTween.logBehaviour">
|
||||
|
||||
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.
9
UnityTests.Unity5/Assets/Demigiant/DemiLib.meta
Normal file
9
UnityTests.Unity5/Assets/Demigiant/DemiLib.meta
Normal file
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 495b9da348774694195375845cf36b34
|
||||
folderAsset: yes
|
||||
timeCreated: 1430325782
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
36
UnityTests.Unity5/Assets/Demigiant/DemiLib/DemiGUI.XML
Normal file
36
UnityTests.Unity5/Assets/Demigiant/DemiLib/DemiGUI.XML
Normal file
@ -0,0 +1,36 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>DemiGUI</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:DG.DemiGUI.DeSkinColor">
|
||||
<summary>
|
||||
Contains both free and pro skins color variations,
|
||||
and automatically returns the correct one when converted to Color
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:DG.DemiGUI.DeColorPalette">
|
||||
<summary>
|
||||
Stores a color palette, which can be passed to default DeGUI layouts when calling <code>DeGUIManager.BeginGUI</code>,
|
||||
and changed at any time by calling <code>DeGUIManager.ChangePalette</code>.
|
||||
You can inherit from this class to create custom color palettes with more color options.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:DG.DemiGUI.DeColorBG">
|
||||
<summary>
|
||||
Background colors
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:DG.DemiGUI.DeColorContent">
|
||||
<summary>
|
||||
Content colors
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:DG.DemiGUI.Core.GUIUtils.isProSkin">
|
||||
<summary>
|
||||
Set when calling <code>DeGUIManage.BeginGUI</code>
|
||||
</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a82d7bde0f131c34186fd7eda6b47f4c
|
||||
timeCreated: 1430325898
|
||||
licenseType: Free
|
||||
TextScriptImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
UnityTests.Unity5/Assets/Demigiant/DemiLib/DemiGUI.dll
Normal file
BIN
UnityTests.Unity5/Assets/Demigiant/DemiLib/DemiGUI.dll
Normal file
Binary file not shown.
BIN
UnityTests.Unity5/Assets/Demigiant/DemiLib/DemiGUI.dll.mdb
Normal file
BIN
UnityTests.Unity5/Assets/Demigiant/DemiLib/DemiGUI.dll.mdb
Normal file
Binary file not shown.
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 037849c169804e1438ef4ff7c52b2155
|
||||
timeCreated: 1430325890
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
20
UnityTests.Unity5/Assets/Demigiant/DemiLib/DemiGUI.dll.meta
Normal file
20
UnityTests.Unity5/Assets/Demigiant/DemiLib/DemiGUI.dll.meta
Normal file
@ -0,0 +1,20 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b09997ea40c62f245ab68176bba4ef16
|
||||
timeCreated: 1430325898
|
||||
licenseType: Free
|
||||
PluginImporter:
|
||||
serializedVersion: 1
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
isPreloaded: 0
|
||||
platformData:
|
||||
Any:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
Editor:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
9
UnityTests.Unity5/Assets/Demigiant/DemiLib/Editor.meta
Normal file
9
UnityTests.Unity5/Assets/Demigiant/DemiLib/Editor.meta
Normal file
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c760f6aafa0a81c4ea230ee15e51e164
|
||||
folderAsset: yes
|
||||
timeCreated: 1430325782
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@ -0,0 +1,232 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>DemiEditorGUI</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:DG.DemiEditorGUI.DeGUIExtensions">
|
||||
<summary>
|
||||
GUI extension methods
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.DeGUIExtensions.Clone(UnityEngine.GUIStyle,System.Object[])">
|
||||
<summary>
|
||||
Clones the style and adds the given formats to it
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.DeGUIExtensions.Add(UnityEngine.GUIStyle,System.Object[])">
|
||||
<summary>
|
||||
Adds the given formats to the style
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.DeGUIExtensions.Border(UnityEngine.GUIStyle,UnityEngine.RectOffset)">
|
||||
<summary>
|
||||
Sets the border of the style
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.DeGUIExtensions.Background(UnityEngine.GUIStyle,UnityEngine.Texture2D)">
|
||||
<summary>
|
||||
Sets the background of the style
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.DeGUIExtensions.ContentOffset(UnityEngine.GUIStyle,UnityEngine.Vector2)">
|
||||
<summary>
|
||||
Sets the contentOffset of the style
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.DeGUIExtensions.ContentOffsetX(UnityEngine.GUIStyle,System.Single)">
|
||||
<summary>
|
||||
Sets the X contentOffset of the style
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.DeGUIExtensions.ContentOffsetY(UnityEngine.GUIStyle,System.Single)">
|
||||
<summary>
|
||||
Sets the Y contentOffset of the style
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.DeGUIExtensions.FixedWidth(UnityEngine.GUIStyle,System.Single)">
|
||||
<summary>
|
||||
Sets the Y fixedWidth of the style
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.DeGUIExtensions.Margin(UnityEngine.GUIStyle,UnityEngine.RectOffset)">
|
||||
<summary>
|
||||
Sets the margin of the style
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.DeGUIExtensions.Margin(UnityEngine.GUIStyle,System.Int32,System.Int32,System.Int32,System.Int32)">
|
||||
<summary>
|
||||
Sets the margin of the style
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.DeGUIExtensions.MarginTop(UnityEngine.GUIStyle,System.Int32)">
|
||||
<summary>
|
||||
Sets the top margin of the style
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.DeGUIExtensions.MarginBottom(UnityEngine.GUIStyle,System.Int32)">
|
||||
<summary>
|
||||
Sets the bottom margin of the style
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.DeGUIExtensions.Padding(UnityEngine.GUIStyle,UnityEngine.RectOffset)">
|
||||
<summary>
|
||||
Sets the padding of the style
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.DeGUIExtensions.Padding(UnityEngine.GUIStyle,System.Int32,System.Int32,System.Int32,System.Int32)">
|
||||
<summary>
|
||||
Sets the padding of the style
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.DeGUIExtensions.PaddingLeft(UnityEngine.GUIStyle,System.Int32)">
|
||||
<summary>
|
||||
Sets the left padding of the style
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.DeGUIExtensions.PaddingRight(UnityEngine.GUIStyle,System.Int32)">
|
||||
<summary>
|
||||
Sets the right padding of the style
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.DeGUIExtensions.PaddingTop(UnityEngine.GUIStyle,System.Int32)">
|
||||
<summary>
|
||||
Sets the top padding of the style
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.DeGUIExtensions.PaddingBottom(UnityEngine.GUIStyle,System.Int32)">
|
||||
<summary>
|
||||
Sets the bottom padding of the style
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.DeGUIExtensions.Height(UnityEngine.GUIStyle,System.Int32)">
|
||||
<summary>
|
||||
Sets the fixedHeight of the style
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.DeGUIExtensions.StretchHeight(UnityEngine.GUIStyle,System.Boolean)">
|
||||
<summary>
|
||||
Sets the stretchHeight property of the style
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.DeGUIExtensions.StretchWidth(UnityEngine.GUIStyle,System.Boolean)">
|
||||
<summary>
|
||||
Sets the stretchWidth property of the style
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:DG.DemiEditorGUI.DeGUI">
|
||||
<summary>
|
||||
Global Demigiant GUI manager
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:DG.DemiEditorGUI.DeGUI.colors">
|
||||
<summary>
|
||||
Default color palette
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:DG.DemiEditorGUI.DeGUI.styles">
|
||||
<summary>
|
||||
Default style palette
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.DeGUI.BeginGUI(DG.DemiGUI.DeColorPalette,DG.DemiEditorGUI.DeStylePalette)">
|
||||
<summary>
|
||||
Call this at the beginning of GUI methods
|
||||
</summary>
|
||||
<param name="guiColorPalette"></param>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.DeGUI.ChangePalette(DG.DemiGUI.DeColorPalette,DG.DemiEditorGUI.DeStylePalette)">
|
||||
<summary>
|
||||
Changes the active palettes to the given ones
|
||||
(or resets them to the default ones if NULL)
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:DG.DemiEditorGUI.DeStylePalette">
|
||||
<summary>
|
||||
Stores a GUIStyle palette, which can be passed to default DeGUI layouts when calling <code>DeGUI.BeginGUI</code>,
|
||||
and changed at any time by calling <code>DeGUI.ChangePalette</code>.
|
||||
You can inherit from this class to create custom GUIStyle palettes with more options.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.Box.Init">
|
||||
<summary>
|
||||
Needs to be overridden in order to initialize new styles added from inherited classes
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.Button.Init">
|
||||
<summary>
|
||||
Needs to be overridden in order to initialize new styles added from inherited classes
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.Label.Init">
|
||||
<summary>
|
||||
Needs to be overridden in order to initialize new styles added from inherited classes
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.Misc.Init">
|
||||
<summary>
|
||||
Needs to be overridden in order to initialize new styles added from inherited classes
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.Toolbar.Init">
|
||||
<summary>
|
||||
Needs to be overridden in order to initialize new styles added from inherited classes
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:DG.DemiEditorGUI.DeGUILayout">
|
||||
<summary>
|
||||
GUILayout methods
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.DeGUILayout.BeginToolbar(UnityEngine.GUILayoutOption[])">
|
||||
<summary>Begins an horizontal toolbar layout</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.DeGUILayout.BeginToolbar(UnityEngine.GUIStyle,UnityEngine.GUILayoutOption[])">
|
||||
<summary>Begins an horizontal toolbar layout</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.DeGUILayout.BeginToolbar(UnityEngine.Color,UnityEngine.GUILayoutOption[])">
|
||||
<summary>Begins an horizontal toolbar layout</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.DeGUILayout.BeginToolbar(UnityEngine.Color,UnityEngine.GUIStyle,UnityEngine.GUILayoutOption[])">
|
||||
<summary>Begins an horizontal toolbar layout</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.DeGUILayout.EndToolbar">
|
||||
<summary>Ends an horizontal toolbar layout</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.DeGUILayout.HorizontalDivider(System.Nullable{UnityEngine.Color},System.Int32)">
|
||||
<summary>Divider</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.DeGUILayout.ColoredButton(UnityEngine.Color,UnityEngine.Color,System.String,UnityEngine.GUILayoutOption[])">
|
||||
<summary>Button that can be toggled on and off</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.DeGUILayout.ColoredButton(UnityEngine.Color,UnityEngine.Color,System.String,UnityEngine.GUIStyle,UnityEngine.GUILayoutOption[])">
|
||||
<summary>Button that can be toggled on and off</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.DeGUILayout.ColoredButton(UnityEngine.Color,UnityEngine.Color,UnityEngine.GUIContent,UnityEngine.GUILayoutOption[])">
|
||||
<summary>Button that can be toggled on and off</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.DeGUILayout.ColoredButton(UnityEngine.Color,UnityEngine.Color,UnityEngine.GUIContent,UnityEngine.GUIStyle,UnityEngine.GUILayoutOption[])">
|
||||
<summary>Button that can be toggled on and off</summary>
|
||||
<summary>Button that can be toggled on and off</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.DeGUILayout.ToggleButton(System.Boolean,System.String,UnityEngine.GUILayoutOption[])">
|
||||
<summary>Button that can be toggled on and off</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.DeGUILayout.ToggleButton(System.Boolean,System.String,UnityEngine.GUIStyle,UnityEngine.GUILayoutOption[])">
|
||||
<summary>Button that can be toggled on and off</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.DeGUILayout.ToggleButton(System.Boolean,System.String,DG.DemiGUI.DeColorPalette,UnityEngine.GUIStyle,UnityEngine.GUILayoutOption[])">
|
||||
<summary>Button that can be toggled on and off</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.DeGUILayout.ToggleButton(System.Boolean,UnityEngine.GUIContent,UnityEngine.GUILayoutOption[])">
|
||||
<summary>Button that can be toggled on and off</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.DeGUILayout.ToggleButton(System.Boolean,UnityEngine.GUIContent,UnityEngine.GUIStyle,UnityEngine.GUILayoutOption[])">
|
||||
<summary>Button that can be toggled on and off</summary>
|
||||
</member>
|
||||
<member name="M:DG.DemiEditorGUI.DeGUILayout.ToggleButton(System.Boolean,UnityEngine.GUIContent,DG.DemiGUI.DeColorPalette,UnityEngine.GUIStyle,UnityEngine.GUILayoutOption[])">
|
||||
<summary>Button that can be toggled on and off</summary>
|
||||
<summary>Button that can be toggled on and off</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7628aecf8209d114fb62be9eeb9951fb
|
||||
timeCreated: 1430325788
|
||||
licenseType: Free
|
||||
TextScriptImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
Binary file not shown.
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3c30293ddc57adf42b4c0cb54dfb304d
|
||||
timeCreated: 1430325782
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@ -0,0 +1,20 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8e6e9a21c7dc3914f869b264db71fe76
|
||||
timeCreated: 1430325788
|
||||
licenseType: Free
|
||||
PluginImporter:
|
||||
serializedVersion: 1
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
isPreloaded: 0
|
||||
platformData:
|
||||
Any:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
Editor:
|
||||
enabled: 1
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
@ -4,9 +4,10 @@ using DG.Tweening;
|
||||
|
||||
public class TempPro : MonoBehaviour
|
||||
{
|
||||
void OnMouseDown()
|
||||
public float timeScale = 0;
|
||||
|
||||
void Start()
|
||||
{
|
||||
Debug.Log("DOWN");
|
||||
this.GetComponent<DOTweenPath>().DOPlay();
|
||||
Time.timeScale = timeScale;
|
||||
}
|
||||
}
|
||||
Binary file not shown.
@ -6,16 +6,18 @@ using System.Collections;
|
||||
|
||||
public class Temp : BrainBase
|
||||
{
|
||||
public Transform[] targets;
|
||||
public Transform target;
|
||||
public bool independentUpdate = true;
|
||||
|
||||
void Start()
|
||||
{
|
||||
for (int i = 0; i < targets.Length; ++i) {
|
||||
Transform t = targets[i];
|
||||
Tweener tween = t.DOLocalMove(Vector3.zero, 1).SetLoops(4, LoopType.Restart).SetEase(Ease.Linear);
|
||||
float time = ((i+1) / (float)targets.Length);
|
||||
t.GetComponentInChildren<TextMesh>().text = i + "-" + time;
|
||||
tween.Goto(time, false);
|
||||
}
|
||||
target.DORotate(new Vector3(0, 180, 0), 2, RotateMode.Fast).SetUpdate(independentUpdate).SetEase(Ease.Linear).SetLoops(-1, LoopType.Incremental);
|
||||
}
|
||||
|
||||
void OnGUI()
|
||||
{
|
||||
if (GUILayout.Button("VSync 0")) QualitySettings.vSyncCount = 0;
|
||||
if (GUILayout.Button("VSync 1")) QualitySettings.vSyncCount = 1;
|
||||
if (GUILayout.Button("VSync 2")) QualitySettings.vSyncCount = 2;
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
@ -679,7 +679,7 @@ namespace DG.Tweening.Core
|
||||
}
|
||||
|
||||
// Returns all active tweens with the given id
|
||||
internal static List<Tween> GetTweensById(object id)
|
||||
internal static List<Tween> GetTweensById(object id, bool playingOnly)
|
||||
{
|
||||
if (_requiresActiveReorganization) ReorganizeActiveTweens();
|
||||
|
||||
@ -688,14 +688,15 @@ namespace DG.Tweening.Core
|
||||
List<Tween> ts = new List<Tween>(len);
|
||||
for (int i = 0; i < len; ++i) {
|
||||
Tween t = _activeTweens[i];
|
||||
if (t != null && Equals(id, t.id)) ts.Add(t);
|
||||
if (t == null || !Equals(id, t.id)) continue;
|
||||
if (!playingOnly || t.isPlaying) ts.Add(t);
|
||||
}
|
||||
if (ts.Count > 0) return ts;
|
||||
return null;
|
||||
}
|
||||
|
||||
// Returns all active tweens with the given target
|
||||
internal static List<Tween> GetTweensByTarget(object target)
|
||||
internal static List<Tween> GetTweensByTarget(object target, bool playingOnly)
|
||||
{
|
||||
if (_requiresActiveReorganization) ReorganizeActiveTweens();
|
||||
|
||||
@ -704,7 +705,8 @@ namespace DG.Tweening.Core
|
||||
List<Tween> ts = new List<Tween>(len);
|
||||
for (int i = 0; i < len; ++i) {
|
||||
Tween t = _activeTweens[i];
|
||||
if (t.target == target) ts.Add(t);
|
||||
if (t.target != target) continue;
|
||||
if (!playingOnly || t.isPlaying) ts.Add(t);
|
||||
}
|
||||
if (ts.Count > 0) return ts;
|
||||
return null;
|
||||
|
||||
@ -32,7 +32,7 @@ namespace DG.Tweening
|
||||
public class DOTween
|
||||
{
|
||||
/// <summary>DOTween's version</summary>
|
||||
public static readonly string Version = "1.0.640";
|
||||
public static readonly string Version = "1.0.645";
|
||||
|
||||
///////////////////////////////////////////////
|
||||
// Options ////////////////////////////////////
|
||||
@ -840,22 +840,24 @@ namespace DG.Tweening
|
||||
/// Returns a list of all active tweens with the given id.
|
||||
/// Returns NULL if there are no active tweens with the given id.
|
||||
/// <para>Beware: each time you call this method a new list is generated</para>
|
||||
/// <param name="playingOnly">If TRUE returns only the tweens with the given ID that are currently playing</param>
|
||||
/// </summary>
|
||||
public static List<Tween> TweensById(object id)
|
||||
public static List<Tween> TweensById(object id, bool playingOnly = false)
|
||||
{
|
||||
if (id == null) return null;
|
||||
|
||||
return TweenManager.GetTweensById(id);
|
||||
return TweenManager.GetTweensById(id, playingOnly);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns a list of all active tweens with the given target.
|
||||
/// Returns NULL if there are no active tweens with the given target.
|
||||
/// <para>Beware: each time you call this method a new list is generated</para>
|
||||
/// <param name="playingOnly">If TRUE returns only the tweens with the given target that are currently playing</param>
|
||||
/// </summary>
|
||||
public static List<Tween> TweensByTarget(object target)
|
||||
public static List<Tween> TweensByTarget(object target, bool playingOnly = false)
|
||||
{
|
||||
return TweenManager.GetTweensByTarget(target);
|
||||
return TweenManager.GetTweensByTarget(target, playingOnly);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
@ -1787,18 +1787,20 @@
|
||||
<para>Beware: each time you call this method a new list is generated, so use it for debug only</para>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.DOTween.TweensById(System.Object)">
|
||||
<member name="M:DG.Tweening.DOTween.TweensById(System.Object,System.Boolean)">
|
||||
<summary>
|
||||
Returns a list of all active tweens with the given id.
|
||||
Returns NULL if there are no active tweens with the given id.
|
||||
<para>Beware: each time you call this method a new list is generated</para>
|
||||
<param name="playingOnly">If TRUE returns only the tweens with the given ID that are currently playing</param>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.DOTween.TweensByTarget(System.Object)">
|
||||
<member name="M:DG.Tweening.DOTween.TweensByTarget(System.Object,System.Boolean)">
|
||||
<summary>
|
||||
Returns a list of all active tweens with the given target.
|
||||
Returns NULL if there are no active tweens with the given target.
|
||||
<para>Beware: each time you call this method a new list is generated</para>
|
||||
<param name="playingOnly">If TRUE returns only the tweens with the given target that are currently playing</param>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:DG.Tweening.DOTween.logBehaviour">
|
||||
|
||||
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