// Method if you want to create a text object that shouldn't animate and despawn
    public FloatingText CreateFloatingTextStatic(string textValue, Transform t, int prefabIndex)
    {
        // Check parameter validity
        if (prefabIndex < floatingTextPrefabs.Length)
        {
            prefabIndex = 0;
        }

        // Spawn new instance from pool. By default, it will be a parent of the controller gameobject.
        FloatingText instance = SimplePool.Spawn(floatingTextPrefabs[prefabIndex], Vector3.zero, Quaternion.identity).GetComponent <FloatingText>();

        instance.transform.SetParent(transform);

        instance.InitializeStatic(t, textValue);

        return(instance);
    }