// Use this for initialization public override void Start() { base.Start(); attackCounter = 0; myBrother = GameObject.FindObjectOfType <Ransom>(); //Initialize(6, 2); modify_TIME_PER_ACTION = TIME_PER_ACTION; }
public IActionResult Index(string translateTo) { ViewData["Host"] = System.Runtime.InteropServices.RuntimeInformation.OSDescription; if (translateTo == null) { translateTo = "en"; } ; var flickrKey = _config.GetSection("Config").GetSection("FlickrApiKey").Value; var translateKey = _config.GetSection("Config").GetSection("MicrosoftTranslateApiKey").Value; IEnumerable <string> letters = new Ransom().GetRansomNote("HELLO WORLD", translateTo, flickrKey, translateKey); return(View(new ImagesViewModel(letters, translateTo))); }