Esempio n. 1
0
 public override void Deselect()
 {
     base.Deselect();
     if (awaitingAck)
     {
         return;
     }
     glowTint.SetColor(Color.clear, 0.5f);
     Shrink();
     lerpTransform.SetTransform(handTransform, 0.5f);
 }
Esempio n. 2
0
 // 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);
 }
Esempio n. 3
0
    // 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);
        
	}