Thanks to visit codestin.com
Credit goes to github.com

Skip to content

XJINE/Unity_AssetCreationHelper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 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

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.

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

About

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

Topics

Resources

License

Stars

8 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors

Languages