Skip to content

TextStudioReactionPrefabActionAsset

ClassTextStudioTextStudio
public sealed class TextStudioReactionPrefabActionAsset : TextStudioReactionActionAsset

Plays one pooled prefab per selected unit; particle prefabs use the same lifetime.

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

public TextStudioReactionPrefabActionAsset()

public GameObject Prefab { get; set; }

Returns

UnityEngine.GameObject

public TextStudioReactionSpawnAnchor Anchor { get; set; }

Returns

TextStudio.TextStudioReactionSpawnAnchor

public string AnchorKey { get; set; }

Returns

System.String

public bool FollowLiveUnit { get; set; }

Returns

System.Boolean

public bool FlyToTarget { get; set; }

Returns

System.Boolean

public bool RespectMotionPolicy { get; set; }

Returns

System.Boolean

public Vector3 LocalOffset { get; set; }

Returns

UnityEngine.Vector3

public Vector3 LocalEulerAngles { get; set; }

Returns

UnityEngine.Vector3

public Vector3 ScaleMultiplier { get; set; }

Returns

UnityEngine.Vector3

public bool ScaleWithHost { get; set; }

Returns

System.Boolean

public int PrewarmCount { get; set; }

Returns

System.Int32

public int MaxConcurrentInstances { get; set; }

Returns

System.Int32