// Use this for initialization void Start() { instance = this; latency = Launcher.latency; elapsedTime -= 2 * BgaManager.Instance.MsPerBeat + BgaManager.Instance.MsOffset + latency; playerControl = player.GetComponent <PlayerMoveControl>(); judgeText = judgeObject.GetComponent <Text>(); }
private void Awake() { instance = this; _image_judge = GetComponent <Image>(); // Dictionary에 이미지 등록 _judgeImage.Add("AWESOME", _judgeSprite[0]); _judgeImage.Add("GOOD", _judgeSprite[1]); _judgeImage.Add("FAIL", _judgeSprite[2]); _judgeImage.Add("MISS", _judgeSprite[3]); _judgeCount.Add("AWESOME", 0); _judgeCount.Add("GOOD", 0); _judgeCount.Add("FAIL", 0); _judgeCount.Add("MISS", 0); _size = Vector2.one * 0.8f; _size.z = 1.0f; _showJudgetime = 1.0f; }
public async Task <IHttpActionResult> SetExhibitionMark(decimal WorkingSkillsMark, decimal ExterierMark, decimal ChildrenMark, decimal ParentsMark, int dogId) { await JudgeManager.SetExhibitionMark(WorkingSkillsMark, ExterierMark, ChildrenMark, ParentsMark, dogId); return(WrapSuccess()); }
public async Task <IHttpActionResult> CheckConnection() { int result = await JudgeManager.CheckConnection(); return(WrapSuccess(result)); }
public async Task <IHttpActionResult> FillListsForExhebition(int eventId) { List <object> users = await JudgeManager.FillListsForExhebition(eventId); return(WrapSuccess(users)); }
//!!!!-----уменьшить объем возвращаемой информации----------- public async Task <IHttpActionResult> GetDogsByEventId(int id) { List <Dog> dogs = await JudgeManager.GetDogsByEventId(id); return(WrapSuccess(dogs)); }
public async Task <IHttpActionResult> SetChallengeValue(int dId, string chName, decimal chValue) { await JudgeManager.SetChallengeValue(dId, chName, chValue); return(WrapSuccess()); }
//!!!!------уменьшить объем возвращаемой информации---------- public async Task <IHttpActionResult> GetAllEvents() { List <Event> events = await JudgeManager.GetAllEvents(); return(WrapSuccess(events)); }
public IActionResult Images() { return(View(JudgeManager.GetImages())); }
public DashboardController(JudgeManager jm) { JudgeManager = jm; }
void Start() { instance = this; csv = CSVReader.SplitCsvGrid(csvFile.text); highScore = PlayerPrefs.GetInt("HighScore"); }