Class PrefabLink
Assembly: cs.temp.dll.dll
Syntax
public abstract class PrefabLink : ScriptableObject
Constructors
PrefabLink(GameObject, String)
Declaration
protected PrefabLink(GameObject prefab, string prefabName = null)
Parameters
Type |
Name |
Description |
GameObject |
prefab |
|
String |
prefabName |
|
Properties
hasPrefab
TRUE if the prefab reference is not null
Declaration
public bool hasPrefab { get; }
Property Value
hasPrefabName
TRUE if the prefabName is not null or empty
Declaration
public bool hasPrefabName { get; }
Property Value
prefab
Declaration
public GameObject prefab { get; protected set; }
Property Value
Type |
Description |
GameObject |
|
prefabName
Declaration
public string prefabName { get; protected set; }
Property Value
Methods
Validate()
Declaration
public abstract void Validate()