Method PrefabComponent
- Namespace
- GrindFest
- Assembly
- GrindFest.dll
PrefabComponent<T>(string)
A component that lives on a prefab addressed as a whole asset — an effect, a projectile, a drop table holder. This is the common case for skill FX: the field held the component, not the asset.
public static T PrefabComponent<T>(string prefabAddress) where T : Component
Parameters
prefabAddressstring
Returns
- T
Type Parameters
T