private void OnMouseDown() { Debug.Log("----------------------------------"); Debug.Log(this.gameObject.name); mnInstance = WordPuzzleManager.instance; mnInstance.StartNewWordDrag(this.gameObject); }
void Awake() { if (instance == null) { instance = this; } else if (instance != this) { Destroy(gameObject); instance = this; } }