private void ActiveBtn(SkillId id, int num) { for (int _i = 0; _i < m_btnList.Count; ++_i) { if (m_btnList[_i].GetComponent <SkillBtn>().Id == id) { m_btnList[_i].GetComponent <Button>().interactable = true; m_btnList[_i].GetComponent <SkillBtn>().Initial(id, num); } } SceneModule _sceneModule = (SceneModule)GameManager.GameManagerObj.GetComponent <GameManager>().GetModuleByName("SceneModule"); _sceneModule.SetPlayerCanMove(true); }