C# 클래스 UnityRose.Cache

This class is used to cache resources that are used most commonly in the current map
파일 보기 프로젝트 열기: osROSE/UnityRose 1 사용 예제들

공개 메소드들

메소드 설명
Cache ( ResourceManager rm, int maxSize ) : System

Constructor for a Cache with a max size

request ( string resource ) : object

메소드 상세

Cache() 공개 메소드

Constructor for a Cache with a max size
public Cache ( ResourceManager rm, int maxSize ) : System
rm ResourceManager A reference to the resource manager for loading/unloading resources
maxSize int The max size for this cache
리턴 System

request() 공개 메소드

public request ( string resource ) : object
resource string
리턴 object