mirror of
https://github.com/Cardidi/dotween-upm-fork.git
synced 2025-12-21 01:36:05 +08:00
Completely removed (instead than simply ignored) external plugins for Pro tests from UnityTests.Unity5, and replaced them with stubs, so the project will compile more quickly
This commit is contained in:
parent
9de263193a
commit
9465fa2e0e
3
.gitignore
vendored
3
.gitignore
vendored
@ -22,4 +22,5 @@ ExternalPluginsTestsAndExamples*
|
||||
*.Unity*/Assets/Console*Pro*
|
||||
*.Unity*/Assets/Text*Mesh*Pro*
|
||||
*HOPoolOperator*
|
||||
zz builds
|
||||
zz builds
|
||||
zz UnityTests*
|
||||
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.
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.
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/ExternalPluginsStubs.meta
Normal file
9
UnityTests.Unity5/Assets/ExternalPluginsStubs.meta
Normal file
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bfc7af0342083a9469607f6bdb263494
|
||||
folderAsset: yes
|
||||
timeCreated: 1429290621
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@ -0,0 +1,22 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace TMPro
|
||||
{
|
||||
public class TextMeshPro : MonoBehaviour
|
||||
{
|
||||
public Color color, outlineColor, faceColor;
|
||||
public Material fontMaterial, fontSharedMaterial;
|
||||
public float fontSize;
|
||||
public int maxVisibleCharacters;
|
||||
public string text;
|
||||
}
|
||||
|
||||
public class TextMeshProUGUI : MonoBehaviour
|
||||
{
|
||||
public Color color, outlineColor, faceColor;
|
||||
public Material fontMaterial, fontSharedMaterial;
|
||||
public float fontSize;
|
||||
public int maxVisibleCharacters;
|
||||
public string text;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4e85b2e79386d984ca6553b0fbd4f7b3
|
||||
timeCreated: 1429291029
|
||||
licenseType: Free
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
18
UnityTests.Unity5/Assets/ExternalPluginsStubs/Tk2DStubs.cs
Normal file
18
UnityTests.Unity5/Assets/ExternalPluginsStubs/Tk2DStubs.cs
Normal file
@ -0,0 +1,18 @@
|
||||
using UnityEngine;
|
||||
|
||||
public class tk2dBaseSprite : MonoBehaviour
|
||||
{
|
||||
public Vector3 scale;
|
||||
public Color color;
|
||||
}
|
||||
|
||||
public class tk2dSlicedSprite : tk2dBaseSprite
|
||||
{
|
||||
public Vector2 dimensions;
|
||||
}
|
||||
|
||||
public class tk2dTextMesh : MonoBehaviour
|
||||
{
|
||||
public Color color;
|
||||
public string text;
|
||||
}
|
||||
@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5ad26ce7c6e0a6040ab52a903f0c3549
|
||||
timeCreated: 1429290809
|
||||
licenseType: Free
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
1
UnityTests.Unity5/Assets/ExternalPluginsStubs/readme.txt
Normal file
1
UnityTests.Unity5/Assets/ExternalPluginsStubs/readme.txt
Normal file
@ -0,0 +1 @@
|
||||
This folder contains stubs that allow DOTween Pro shortcuts for external plugins to work even if the external plugins are not truly here. This allows to test code without having to recompile all the plugins each time something changes.
|
||||
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b04101adeb305f7429283dfeb4fca40e
|
||||
timeCreated: 1429290688
|
||||
licenseType: Free
|
||||
TextScriptImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@ -4,8 +4,9 @@ using DG.Tweening;
|
||||
|
||||
public class TempPro : MonoBehaviour
|
||||
{
|
||||
void Start()
|
||||
void OnMouseDown()
|
||||
{
|
||||
transform.DOMove(new Vector3(4,0,0), 1).From(true).SetDelay(1);
|
||||
Debug.Log("DOWN");
|
||||
this.GetComponent<DOTweenPath>().DOPlay();
|
||||
}
|
||||
}
|
||||
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.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user