using UnityEngine; using System.Collections; public class GroundPlane : MonoBehaviour { //BattleController battleController; // Use this for initialization void Start () { //this.battleController = transform.parent.GetComponent(); } void OnMouseUp() { //Debuger.Log("Ground plane click "+battleController.groundClickLock); } }