Skip to content

AssetCreationHelper provides some functions to create asset in your "Unity/Assets" dir.

License

Notifications You must be signed in to change notification settings

XJINE/Unity_AssetCreationHelper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unity_AssetCreationHelper

AssetCreationHelper.cs provides some functions to create asset in your Unity/Assets dir.

Importing

You can use Package Manager or import it directly.

https://github.com/XJINE/Unity_AssetCreationHelper.git?path=Assets/Packages/AssetCreationHelper

How to Use

There is no sample in this repository. If you need any sample, please check some another asset.

Function About
CreateAssetInCurrentDirectory Create asset in current Project/Assets dir.
GetCurrentAssetDirectoryPathAbsolute Get current directory absolute path in Project/Assets dir.
GetCurrentAssetDirectoryPathRelative Get current directory relative path in Project/Assets dir.
CorrectAssetNameToAvoidOverwrite Rename asset with suffix number if it is needed to avoid overwrite.
StartToRenameAsset Start to rename specified asset.
FocusAsset Focus specified asset without any animation like a PingObject.

FocusAsset is quite difficult to realize with default Unity library. This function use reflection.

About

AssetCreationHelper provides some functions to create asset in your "Unity/Assets" dir.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages