TextStudioReactionPrefabActionAsset
public sealed class TextStudioReactionPrefabActionAsset : TextStudioReactionActionAssetPlays one pooled prefab per selected unit; particle prefabs use the same lifetime.
Methods
Section titled “Methods”
TryCompile(out ITextStudioReactionCommand, out string)
Section titled “TryCompile(out ITextStudioReactionCommand, out string)”public override bool TryCompile(out ITextStudioReactionCommand command, out string error)Compile and validate without touching scene objects, pools, or live output.
Parameters
| Name | Type |
|---|---|
command |
TextStudio.ITextStudioReactionCommand |
error |
System.String |
Returns
System.Boolean
Constructors
Section titled “Constructors”
TextStudioReactionPrefabActionAsset()
Section titled “TextStudioReactionPrefabActionAsset()”public TextStudioReactionPrefabActionAsset()Properties
Section titled “Properties”
Prefab
Section titled “Prefab”public GameObject Prefab { get; set; }Returns
UnityEngine.GameObject
Anchor
Section titled “Anchor”public TextStudioReactionSpawnAnchor Anchor { get; set; }Returns
TextStudio.TextStudioReactionSpawnAnchor
AnchorKey
Section titled “AnchorKey”public string AnchorKey { get; set; }Returns
System.String
FollowLiveUnit
Section titled “FollowLiveUnit”public bool FollowLiveUnit { get; set; }Returns
System.Boolean
FlyToTarget
Section titled “FlyToTarget”public bool FlyToTarget { get; set; }Returns
System.Boolean
RespectMotionPolicy
Section titled “RespectMotionPolicy”public bool RespectMotionPolicy { get; set; }Returns
System.Boolean
LocalOffset
Section titled “LocalOffset”public Vector3 LocalOffset { get; set; }Returns
UnityEngine.Vector3
LocalEulerAngles
Section titled “LocalEulerAngles”public Vector3 LocalEulerAngles { get; set; }Returns
UnityEngine.Vector3
ScaleMultiplier
Section titled “ScaleMultiplier”public Vector3 ScaleMultiplier { get; set; }Returns
UnityEngine.Vector3
ScaleWithHost
Section titled “ScaleWithHost”public bool ScaleWithHost { get; set; }Returns
System.Boolean
PrewarmCount
Section titled “PrewarmCount”public int PrewarmCount { get; set; }Returns
System.Int32
MaxConcurrentInstances
Section titled “MaxConcurrentInstances”public int MaxConcurrentInstances { get; set; }Returns
System.Int32