void OnMouseDown() { Debug.Log(this.name + " clicked"); if (!DialRotation.DialLocked() && channels.TalkingToWeedman) { areaTracker.DisableAllAreas(); selected = true; SetMaterial(selectedMaterial); areaTracker.SetLeafPosition(this.gameObject.transform.position.x, this.gameObject.transform.position.y); channels.InterruptWeedman(); //TODO move Van here, if it's not here already List <AreaController> areas = areaTracker.areas; GameManager.Instance.gameStateMachine.MoveWeedVan(areas.IndexOf(this)); } }