Esempio n. 1
0
    private void Launch(string request)
    {
        FloatingText text = cubePool.Get().GetComponent <FloatingText>();

        text.transform.SetParent(target, false);
        text.Launch(request, startPosition, lifetime);
        if (requests.Count > 0)
        {
            timer = maxTimer;
        }
    }