2024-04-21 06:20:36 +02:00
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
public class StartSceneTransition : MonoBehaviour
|
|
|
|
{
|
2024-04-21 10:48:37 +02:00
|
|
|
|
2024-04-21 06:20:36 +02:00
|
|
|
Animator animator;
|
|
|
|
void Start()
|
|
|
|
{
|
2024-04-21 10:48:37 +02:00
|
|
|
SpriteRenderer sp = GetComponent<SpriteRenderer>();
|
|
|
|
sp.enabled = false;
|
|
|
|
|
2024-04-21 06:20:36 +02:00
|
|
|
animator = GetComponent<Animator>();
|
|
|
|
animator.SetTrigger("start1");
|
|
|
|
}
|
|
|
|
}
|