示例#1
0
    private IEnumerator TranslateToSpawn()
    {
        yield return(new WaitForSeconds(particleController.ForceShowParticles()));

        transform.Translate((new Vector3(0, 0, 0) - transform.position) * 0.25f);
    }