C# Class FullInspector.Internal.fiLateBindings.PrefabUtility

Afficher le fichier Open project: jacobdufault/fullinspector

Méthodes publiques

Méthode Description
CreatePrefab ( string path, GameObject template ) : GameObject
IsPrefab ( Object unityObject ) : bool

Returns true if UnityEditor.PrefabUtility.GetPrefabType(unityObj) == UnityEditor.PrefabType.Prefab

IsPrefabInstance ( Object unityObject ) : bool

Method Details

CreatePrefab() public static méthode

public static CreatePrefab ( string path, GameObject template ) : GameObject
path string
template UnityEngine.GameObject
Résultat UnityEngine.GameObject

IsPrefab() public static méthode

Returns true if UnityEditor.PrefabUtility.GetPrefabType(unityObj) == UnityEditor.PrefabType.Prefab
public static IsPrefab ( Object unityObject ) : bool
unityObject UnityEngine.Object
Résultat bool

IsPrefabInstance() public static méthode

public static IsPrefabInstance ( Object unityObject ) : bool
unityObject UnityEngine.Object
Résultat bool