Esempio n. 1
0
 void Awake()
 {
     _buttonsDict = new EnumObjectDictionary <KeyCode, ExtraButton>(Buttons);
 }
Esempio n. 2
0
 protected override void OnBegin()
 {
     _prefabs        = new EnumObjectDictionary <PrefabType, GameObject>(Prefabs);
     _renderTextures = new EnumObjectDictionary <RenderTextureType, CustomRenderTexture>(RenderTextures);
     _sprites        = new EnumObjectDictionary <SpriteType, Sprite>(Sprites);
 }