Skip to content

the example is wrong. #1

Description

@tomashalac

PrefabUtility.SaveAsPrefabAssetAndConnect(cube, path, InteractionMode.AutomatedAction);

using the code in the example causes unity to display warnings:
Invalid AssetDatabase path: C:/Users/Tomas/Documents/Unity Developer Project/Assets. Use path relative to the project folder.

Invalid AssetDatabase path: C:/Users/Tomas/Documents/Unity Developer Project/Assets/Test.prefab. Use path relative to the project folder.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions