public void SetDirection(Creature.rotations currentRotation)
    {
        player.buildRotation = currentRotation;

        mousePlacer.SetDirection(currentRotation);
        rotationPreview.SetDirection(currentRotation);
    }
 public void SetDirection(Creature.rotations currentRotation)
 {
     coloredPreviewImage.gameObject.transform.localEulerAngles   = new Vector3(0, 0, Creature.RotationToInt(currentRotation));
     uncoloredPreviewImage.gameObject.transform.localEulerAngles = new Vector3(0, 0, Creature.RotationToInt(currentRotation));
 }
 public void SetDirection(Creature.rotations currentRotation)
 {
     this.transform.localRotation = Quaternion.Euler(new Vector3(0, 0, Creature.RotationToInt(player.buildRotation)));
 }