docs.unity3d.com
    目次を表示する/隠す

    Method IsInstance

    IsInstance<T1, T2>()

    Check if one type is an instance of another type.

    Declaration
    public static bool IsInstance<T1, T2>()
    Returns
    Type Description
    Boolean

    Returns true if T2 is a base type of T1.

    Type Parameters
    Name Description
    T1

    Expected base type.

    T2

    Expected child type.

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)