Megadocs 0.0.1
All of megapop's internal libraries
Megapop.MegaCore.Editor.AssetPath Class Reference

Static Public Member Functions

static string GetAssetPath (Object asset)
 Returns the asset path of the asset. Returns null if the object isn't persistent. More...
 
static string GetDirectoryName (Object asset)
 
static string GetFileNameAndExtension (Object asset)
 
static string GetSystemPath (Object asset)
 
static string GenerateUniqueAssetPath (string path)
 
static bool HasAssetPath (Object asset)
 

Member Function Documentation

◆ GenerateUniqueAssetPath()

static string Megapop.MegaCore.Editor.AssetPath.GenerateUniqueAssetPath ( string  path)
inlinestatic

◆ GetAssetPath()

static string Megapop.MegaCore.Editor.AssetPath.GetAssetPath ( Object  asset)
inlinestatic

Returns the asset path of the asset. Returns null if the object isn't persistent.

◆ GetDirectoryName()

static string Megapop.MegaCore.Editor.AssetPath.GetDirectoryName ( Object  asset)
inlinestatic

◆ GetFileNameAndExtension()

static string Megapop.MegaCore.Editor.AssetPath.GetFileNameAndExtension ( Object  asset)
inlinestatic

◆ GetSystemPath()

static string Megapop.MegaCore.Editor.AssetPath.GetSystemPath ( Object  asset)
inlinestatic

◆ HasAssetPath()

static bool Megapop.MegaCore.Editor.AssetPath.HasAssetPath ( Object  asset)
inlinestatic

The documentation for this class was generated from the following file: