public void ClearButton() { m_State = BUTTONSTATE.OFF; m_SpriteRender.sprite = m_SkinData.m_ButtonClear; if (m_GameManger.m_GameState == GAMESTATE.PLAYING) { m_Board.Action(m_TileValue, transform.localPosition); } }