public void EndMyRank() { TrainingManager _trainingManager = GameObject.Find("TrainingManager").GetComponent <TrainingManager>(); _trainingManager.EndTraining(); GameManager.Instance.InitTrigger(); }