public void OnMouseDown() { if (CardBack != null) { if (CardBack.activeSelf) { sceneScript.MouseDownCard(this); } } }