FloatingTextExtensions.

Show<T>(ObjectPool<T>, string, Vector3) Method

Summary

Shorthand for calling Weaver.ObjectPool`1.Acquire followed by Weaver.Examples.FloatingText.Show(System.String,UnityEngine.Vector3).
Assembly
Weaver.dll
Namespace
Weaver.Examples
Containing Type
FloatingTextExtensions

Syntax

public static T Show<T>(this ObjectPool<T> pool, string text, Vector3 position) 
    where T : FloatingText

Type Parameters

Name Description
T

Parameters

Name Type Description
pool ObjectPool<T>
text string
position Vector3

Return Value

Type Description
T