Skip to content

ParticleEventRouteSettings ​

ParticleEventRouteSettingsは、Particleの個別設定をまとめる型です。取得元の設定から値を編集し、所有するComponentへ反映します。

使い方と前提条件 · C# API一覧

型の情報 ​

count ​

csharp
public uint count

保持する要素数または1回の発生数です。

操作:読取・変更。

enabled ​

csharp
public bool enabled

このComponentの処理を有効にします。GameObject全体のアクティブ状態とは別です。

操作:読取・変更。

inheritColor ​

csharp
public bool inheritColor

Sourceまたはイベント元の色を継承します。

操作:読取・変更。

inheritNormal ​

csharp
public bool inheritNormal

衝突面の法線を継承します。

操作:読取・変更。

inheritPosition ​

csharp
public bool inheritPosition

イベント元の位置を継承します。

操作:読取・変更。

inheritSeed ​

csharp
public bool inheritSeed

イベント元のSeedを継承します。

操作:読取・変更。

inheritVelocity ​

csharp
public bool inheritVelocity

Sourceまたはイベント元の速度を継承する倍率です。

操作:読取・変更。

kind ​

csharp
public ParticleEventKind kind

発生元・イベント・Passなどの種類です。

操作:読取・変更。

phase ​

csharp
public uint phase

送信対象のPhaseです。

操作:読取・変更。

probability ​

csharp
public float probability

イベントを転送する確率です。

操作:読取・変更。

target ​

csharp
public ParticleEntityReference target

追従・注視・遅延表示などの対象GameObject参照です。

操作:読取・変更。

time ​

csharp
public float time

Play開始からのゲーム時間です。単位は秒です。

操作:読取・変更。

実行時の扱い ​

Nativeと接続する操作は、Scriptが実行される有効なWorld内で使用します。破棄したGameObjectやComponentへのアクセスは避けてください。設定Snapshotは取得・編集・反映を1組で扱います。

現行版マニュアル · 8ea58ba2 · 2026-10-28確認