Page 433 - MDP2022-3
P. 433
public void LightOff()
{
foreach (var item in portraitLightList)
{
item.SetActive(false);
}
}
public IEnumerator DestroyJingJing2()
{
yield return new WaitForSeconds(2f);
for (int i = 0; i < 200; i++)
{
foreach (var item in jingjing_23456)
{
item.transform.position -= new Vector3(0f, -0.05f, 0f);
}
yield return null;
}
foreach (var item in jingjing_23456)
{
Destroy(item);
}
}
public void JingJingCry()
{
jingjing_1.GetComponent<AudioSource>().Play();
}
public void TouchDoll()
{
touchdoll = true;
}
}