void enforceYankInteraction(bool showOnButtonText) { if(wasYI != yankInteraction) { wasYI = yankInteraction; if(showOnButtonText) { // cycleInteractionText.text = ""+yankInteraction; // debug display } } }
public void CycleYankInteraction() { yankInteraction++; if((int)yankInteraction >= (int)YANK_INTERACTION.NotInitializedYet) { yankInteraction = (YANK_INTERACTION)0; } enforceYankInteraction(true); }