Version: 2021.2
言語: 日本語

PresetType

struct in UnityEditor.Presets

マニュアルに切り替える

説明

Stores a type to which a Preset can be applied.

Only classes that inherit from UnityEngine.Object are represented by a PresetType.

This structure is used instead of Type because some native C++ types in Unity are not exposed to managed C# for optimization reasons.

Public 関数

GetManagedTypeNameRetrieves a human readable namespace and the name of the target class, regardless of whether it's a managed C# class or a native C++ class.
IsValidChecks whether a PresetType corresponds with a valid native or managed class.
IsValidDefaultChecks whether a PresetType can be used within the DefaultPreset system.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961