public override void Deselect() { base.Deselect(); if (awaitingAck) { return; } glowTint.SetColor(Color.clear, 0.5f); Shrink(); lerpTransform.SetTransform(handTransform, 0.5f); }
// Use this for initialization void Start() { targetSlot = GameManager.Instance.gameBoard.GetSlot(command.x, command.y); crosshairs.SetColor(crossHairColor, 0.75f); transform.position = new Vector3(0, 100, 0); transform.localScale = new Vector3(15, 15, 15); transform.eulerAngles = new Vector3(15, 90, 0); lerperTransform = GetComponent <LerpTransform>(); lerperTransform.SetTransform(targetSlot.transform, 1f); }
// Use this for initialization void Start () { targetSlot = GameManager.Instance.gameBoard.GetSlot(command.x, command.y); crosshairs.SetColor(crossHairColor, 0.75f); transform.position = new Vector3(0, 100, 0); transform.localScale = new Vector3(15, 15, 15); transform.eulerAngles = new Vector3(15, 90, 0); lerperTransform = GetComponent<LerpTransform>(); lerperTransform.SetTransform(targetSlot.transform, 1f); }