コード例 #1
0
 static TextureManager()
 {
     textures   = new Dictionary <string, Texture>();
     animations = new Dictionary <string, AnimatedTexture>();
     tiles      = new Dictionary <string, TileableTexture>();
     rawTexs    = new OrderedSet <RawTexture>(new RawTexComparer());
 }
コード例 #2
0
 internal LayeredRenderer()
 {
     comparer = new LayerComparer();
     set      = new OrderedSet <GameObject>(comparer);
 }