This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* FloppyDrives.cpp | |
* | |
* Output for controlling floppy drives. The _original_ Moppy instrument! | |
*/ | |
#include "MoppyInstrument.h" | |
#include "FloppyDrives.h" | |
namespace instruments { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[SerializeField] | |
private TMP_InputField phraseInputField; // reference to your TextMeshPro InputField | |
private RectTransform phraseInputFieldRect; | |
private TMP_SelectionCaret selectionCaret; | |
private void Start() | |
{ | |
phraseInputFieldRect = phraseInputField.textComponent.GetComponent<RectTransform>(); | |
selectionCaret = phraseInputField.GetComponentInChildren<TMP_SelectionCaret>(); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using DG.Tweening; | |
using UnityEngine; | |
using UnityEngine.UI; | |
public class MaterialGradientAnimator : MonoBehaviour | |
{ | |
[SerializeField] | |
private Gradient previewGradient; | |
[SerializeField] | |
private Gradient targetGradient; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using Coffee.UIExtensions; | |
using UnityEngine; | |
public class UIRectCollider : MonoBehaviour | |
{ | |
[SerializeField] | |
private UIParticle uiParticleSystem; | |
[SerializeField] | |
private RectTransform rectTransform; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# $REPO | |
#!/bin/bash | |
cd $1 | |
/Applications/SourceTree.app/Contents/Resources/git_local/bin/git ls-files -v . | grep ^S |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# $REPO $FILE | |
#!/bin/bash | |
/Applications/SourceTree.app/Contents/Resources/git_local/bin/git update-index --no-skip-worktree "$1/$2" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# $REPO $FILE | |
#!/bin/bash | |
/Applications/SourceTree.app/Contents/Resources/git_local/bin/git update-index --skip-worktree "$1/$2" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd $1 | |
CURRENTDATE=`date +"%d-%m-%Y_%H:%M"` | |
FILENAME="${CURRENTDATE}.patch" | |
/Applications/SourceTree.app/Contents/Resources/git_local/bin/git diff --cached --binary > "$FILENAME" |