Пример #1
0
    public static void PreviewUIPrefab()
    {
        GameObject prefab = Selection.activeGameObject;

        if (prefab != null)
        {
            UISystem.InstantiatePrefab(prefab);
        }
    }