Class EditorAssets
Editor assets helper methods.
Inheritance
System.Object
EditorAssets
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: StansAssets.Foundation.Editor
Assembly: cs.temp.dll.dll
Syntax
public static class EditorAssets
Methods
GetImage(String)
Get image to use with editor UI context. Image asset import options will be changed if needed.
Declaration
public static Texture2D GetImage(string path)
Parameters
Type | Name | Description |
---|---|---|
System.String | path | project folder relative texture path. |
Returns
Type | Description |
---|---|
Texture2D |