White circle hidden at start
This commit is contained in:
parent
a2d8008643
commit
13100a8399
|
@ -2040,7 +2040,7 @@ SpriteRenderer:
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 3636042489164766214}
|
m_GameObject: {fileID: 3636042489164766214}
|
||||||
m_Enabled: 1
|
m_Enabled: 0
|
||||||
m_CastShadows: 0
|
m_CastShadows: 0
|
||||||
m_ReceiveShadows: 0
|
m_ReceiveShadows: 0
|
||||||
m_DynamicOccludee: 1
|
m_DynamicOccludee: 1
|
||||||
|
|
|
@ -2,9 +2,13 @@ using UnityEngine;
|
||||||
|
|
||||||
public class StartSceneTransition : MonoBehaviour
|
public class StartSceneTransition : MonoBehaviour
|
||||||
{
|
{
|
||||||
|
|
||||||
Animator animator;
|
Animator animator;
|
||||||
void Start()
|
void Start()
|
||||||
{
|
{
|
||||||
|
SpriteRenderer sp = GetComponent<SpriteRenderer>();
|
||||||
|
sp.enabled = false;
|
||||||
|
|
||||||
animator = GetComponent<Animator>();
|
animator = GetComponent<Animator>();
|
||||||
animator.SetTrigger("start1");
|
animator.SetTrigger("start1");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue