mirror of
https://github.com/Cardidi/dotween-upm-fork.git
synced 2025-12-20 09:16:02 +08:00
Added Windows Phone 8.1 Compatibility test
This commit is contained in:
parent
ea7a7a7cfd
commit
d9cedbde9b
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.
5
Win81CompatibilityTest.Unity4/Assets/Scripts.meta
Normal file
5
Win81CompatibilityTest.Unity4/Assets/Scripts.meta
Normal file
@ -0,0 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7e1773ad5cf1f4a4fb1624b7db01ce6b
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
userData:
|
||||
@ -0,0 +1,7 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
public abstract class AbstractSampleClass<T> : ISampleClass
|
||||
{
|
||||
public abstract void SampleMethod(T value);
|
||||
}
|
||||
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7d00d4a04090c4d449b99ed8abb050b0
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
@ -0,0 +1 @@
|
||||
public interface ISampleClass {}
|
||||
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fe10d77baea46f0419d16e7e7ca3d677
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
@ -0,0 +1,10 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
public class SampleFloatClass : AbstractSampleClass<float>
|
||||
{
|
||||
public override void SampleMethod(float value)
|
||||
{
|
||||
Debug.Log("Sample method log > " + value);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 76ca549e2c50e44409618e0692573570
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
60
Win81CompatibilityTest.Unity4/Assets/Scripts/TestScene.cs
Normal file
60
Win81CompatibilityTest.Unity4/Assets/Scripts/TestScene.cs
Normal file
@ -0,0 +1,60 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using System;
|
||||
using System.Collections;
|
||||
|
||||
public class TestScene : MonoBehaviour
|
||||
{
|
||||
public Text logText;
|
||||
|
||||
string log;
|
||||
string logPrefix = "➨ Test ";
|
||||
|
||||
void Start()
|
||||
{
|
||||
SampleFloatClass sampleFloatClass;
|
||||
ISampleClass isampleClass;
|
||||
string testId;
|
||||
|
||||
// Test A
|
||||
testId = "A";
|
||||
try {
|
||||
sampleFloatClass = new SampleFloatClass();
|
||||
log += string.Format("{0}{1} " + ((sampleFloatClass as AbstractSampleClass<float>) == null ? "failed" : "success"), logPrefix, testId);
|
||||
} catch (Exception e) {
|
||||
log += string.Format("<color=#ff0000>{0}{1} error > " + e.Message + "</color>", logPrefix, testId);
|
||||
}
|
||||
|
||||
// Test A2
|
||||
testId = "A2";
|
||||
try {
|
||||
isampleClass = new SampleFloatClass();
|
||||
log += string.Format("\n{0}{1} " + ((isampleClass as AbstractSampleClass<float>) == null ? "failed" : "success"), logPrefix, testId);
|
||||
} catch (Exception e) {
|
||||
log += string.Format("\n<color=#ff0000>{0}{1} error > " + e.Message + "</color>", logPrefix, testId);
|
||||
}
|
||||
|
||||
// Test B
|
||||
testId = "B";
|
||||
try {
|
||||
sampleFloatClass = new SampleFloatClass();
|
||||
log += string.Format("\n{0}{1} " + ((AbstractSampleClass<float>)sampleFloatClass == null ? "failed" : "success"), logPrefix, testId);
|
||||
} catch (Exception e) {
|
||||
log += string.Format("\n<color=#ff0000>{0}{1} error > " + e.Message + "</color>", logPrefix, testId);
|
||||
}
|
||||
|
||||
// Test B2
|
||||
testId = "B2";
|
||||
try {
|
||||
isampleClass = new SampleFloatClass();
|
||||
log += string.Format("\n{0}{1} " + ((AbstractSampleClass<float>)isampleClass == null ? "failed" : "success"), logPrefix, testId);
|
||||
} catch (Exception e) {
|
||||
log += string.Format("\n<color=#ff0000>{0}{1} error > " + e.Message + "</color>", logPrefix, testId);
|
||||
}
|
||||
|
||||
|
||||
log += "\n\n<color=#00ff00>TEST ENDED</color>";
|
||||
logText.text = log;
|
||||
Debug.Log(log);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1728d8f73539b8944bc99ce9d6241be8
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
BIN
Win81CompatibilityTest.Unity4/Assets/TestScene.unity
Normal file
BIN
Win81CompatibilityTest.Unity4/Assets/TestScene.unity
Normal file
Binary file not shown.
@ -0,0 +1,4 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0be2dd474eae4314689d8de807f11672
|
||||
DefaultImporter:
|
||||
userData:
|
||||
BIN
Win81CompatibilityTest.Unity4/ProjectSettings/AudioManager.asset
Normal file
BIN
Win81CompatibilityTest.Unity4/ProjectSettings/AudioManager.asset
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Win81CompatibilityTest.Unity4/ProjectSettings/InputManager.asset
Normal file
BIN
Win81CompatibilityTest.Unity4/ProjectSettings/InputManager.asset
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Win81CompatibilityTest.Unity4/ProjectSettings/TagManager.asset
Normal file
BIN
Win81CompatibilityTest.Unity4/ProjectSettings/TagManager.asset
Normal file
Binary file not shown.
BIN
Win81CompatibilityTest.Unity4/ProjectSettings/TimeManager.asset
Normal file
BIN
Win81CompatibilityTest.Unity4/ProjectSettings/TimeManager.asset
Normal file
Binary file not shown.
BIN
Win81CompatibilityTest.unitypackage
Normal file
BIN
Win81CompatibilityTest.unitypackage
Normal file
Binary file not shown.
@ -21,7 +21,7 @@ namespace DG.Tweening
|
||||
public class DOTween
|
||||
{
|
||||
/// <summary>DOTween's version</summary>
|
||||
public static readonly string Version = "1.0.416";
|
||||
public static readonly string Version = "1.0.417";
|
||||
|
||||
///////////////////////////////////////////////
|
||||
// Options ////////////////////////////////////
|
||||
|
||||
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