C# Class klock.kLibary

显示文件 Open project: k-lock/Unity3D

Public Methods

Method Description
LoadBitmap ( string resourceName, int width, int height ) : Texture2D
LoadData ( string resourceName, int width, int height ) : Texture2D

Private Methods

Method Description
ReadToEnd ( Stream stream ) : byte[]

Method Details

LoadBitmap() public static method

public static LoadBitmap ( string resourceName, int width, int height ) : Texture2D
resourceName string
width int
height int
return UnityEngine.Texture2D

LoadData() public static method

public static LoadData ( string resourceName, int width, int height ) : Texture2D
resourceName string
width int
height int
return UnityEngine.Texture2D