1118OPSSNew/Assets/Zion/Scripts//ForceDrive_1.cs

33 lines
549 B
C#

using DG.Tweening;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ForceDrive_1 : MonoBehaviour
{
public ProcessUISwitch targetProcessUI;
private void Awake()
{
targetProcessUI.actions.Add(() =>
{
transform.DOLocalRotate(new Vector3(0, 90, -90), 7);
});
}
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
}