弟のパーティクル非表示を改善
This commit is contained in:
parent
f69f39e8cb
commit
7650a49674
|
|
@ -271,7 +271,7 @@ public class BrotherPinkView : SingletonMonoBehaviour<BrotherPinkView>
|
||||||
{
|
{
|
||||||
animator.speed = active ? 1f : 0f;
|
animator.speed = active ? 1f : 0f;
|
||||||
animator.transform.localScale = active ? Vector3.one : Vector3.zero;
|
animator.transform.localScale = active ? Vector3.one : Vector3.zero;
|
||||||
animator.GetComponentInChildren<ParticleSystem>()?.transform.SetLocalScale(active ? 1f : 0f);
|
animator.GetComponentInChildren<ParticleSystem>(true)?.transform.SetLocalScale(active ? 1f : 0f);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue