Skip to content

UIProgress ​

体力や進行度などの値をバーとして表示します。

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

型の情報 ​

Delayed ​

csharp
public bool Delayed

遅れて追従する表示を使います。

操作:読取・変更。

対応するInspector:UIProgress。

DelayedDuration ​

csharp
public float DelayedDuration

遅延表示が追いつくまでの秒数です。

操作:読取・変更。

対応するInspector:UIProgress。

DelayedEasing ​

csharp
public EasingType DelayedEasing

遅延追従のEasingです。

操作:読取・変更。

対応するInspector:UIProgress。

DelayedNormalizedValue ​

csharp
public float DelayedNormalizedValue

遅延表示側の現在値

操作:読取専用。

DelayedTargetLocalFileID ​

csharp
public GameObject? DelayedTargetLocalFileID

遅延表示先GameObjectの保存用IDです。

操作:読取・変更。

対応するInspector:UIProgress。

DelayedTexture ​

csharp
public Texture? DelayedTexture

遅延表示に使うTextureです。

操作:読取・変更。

対応するInspector:UIProgress。

DelayedWait ​

csharp
public float DelayedWait

遅延表示が動き始めるまでの秒数です。

操作:読取・変更。

対応するInspector:UIProgress。

Direction ​

csharp
public UIProgressFillDirection Direction

光などが進む方向です。長さより向きを指定します。

操作:読取・変更。

対応するInspector:UIProgress。

DisplayedNormalizedValue ​

csharp
public float DisplayedNormalizedValue

補間後の現在表示値

操作:読取専用。

Enabled ​

csharp
public bool Enabled

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

操作:読取・変更。

対応するInspector:UIProgress。

FromEntity ​

csharp
public static UIProgress FromEntity(GameObject gameObject)

既にComponentを持つGameObjectから操作用の参照を作ります。Componentを追加する操作ではありません。

引数型既定値
gameObjectNEMEngine.GameObject必須

戻り値:NEMEngine.UIProgress。

MaxValue ​

csharp
public float MaxValue

表示値の上限です。

操作:読取・変更。

対応するInspector:UIProgress。

MinValue ​

csharp
public float MinValue

表示値の下限です。

操作:読取・変更。

対応するInspector:UIProgress。

PreviewInEditMode ​

csharp
public bool PreviewInEditMode

Play前のEditorでも状態を確認します。

操作:読取・変更。

対応するInspector:UIProgress。

Smooth ​

csharp
public bool Smooth

値を補間して表示します。

操作:読取・変更。

対応するInspector:UIProgress。

SmoothDuration ​

csharp
public float SmoothDuration

値の補間秒数です。

操作:読取・変更。

対応するInspector:UIProgress。

SmoothEasing ​

csharp
public EasingType SmoothEasing

値補間のEasingです。

操作:読取・変更。

対応するInspector:UIProgress。

UseUnscaledTime ​

csharp
public bool UseUnscaledTime

TimeScaleの影響を受けない時間で進めます。

操作:読取・変更。

対応するInspector:UIProgress。

Value ​

csharp
public float Value

現在の値です。

操作:読取・変更。

対応するInspector:UIProgress。

componentTypeID ​

csharp
public static int componentTypeID

組み込みComponentの接続識別子です。通常のゲームコードではGetComponentで取得します。

操作:読取専用。

実行時の扱い ​

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

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