add unity multithreading project
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using Cysharp.Threading.Tasks;
|
||||
using PrimeTween;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Animations
|
||||
{
|
||||
public class PrimeTween : MonoBehaviour
|
||||
{
|
||||
private void Start()
|
||||
{
|
||||
Tween.PositionZ(transform, 5.0f, 1.0f).Chain(
|
||||
Tween.Scale(transform, Vector3.one * 2.0f, 1.0f));
|
||||
|
||||
// await Tween.PositionZ(transform, 5.0f, 1.0f);
|
||||
// Tween.Scale(transform, Vector3.one * 2.0f, 1.0f);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user