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