Example #1
0
        // Token: 0x060017EC RID: 6124 RVA: 0x00072344 File Offset: 0x00070544
        public static string GetGlyphString(MPEventSystemLocator eventSystemLocator, string actionName)
        {
            MPEventSystem eventSystem = eventSystemLocator.eventSystem;

            if (eventSystem)
            {
                return(Glyphs.GetGlyphString(eventSystem, actionName, AxisRange.Full));
            }
            return("UNKNOWN");
        }
Example #2
0
        // Token: 0x060016ED RID: 5869 RVA: 0x0006D378 File Offset: 0x0006B578
        private void Refresh()
        {
            string glyphString;

            if (this.useExplicitInputSource)
            {
                glyphString = Glyphs.GetGlyphString(this.eventSystemLocator.eventSystem, this.actionName, this.axisRange, this.explicitInputSource);
            }
            else
            {
                glyphString = Glyphs.GetGlyphString(this.eventSystemLocator.eventSystem, this.actionName, AxisRange.Full);
            }
            if (this.guiLabel)
            {
                this.guiLabel.text = glyphString;
                return;
            }
            if (this.label)
            {
                this.label.text = glyphString;
            }
        }
Example #3
0
 // Token: 0x060017ED RID: 6125 RVA: 0x0007236E File Offset: 0x0007056E
 public static string GetGlyphString(MPEventSystem eventSystem, string actionName, AxisRange axisRange = AxisRange.Full)
 {
     return(Glyphs.GetGlyphString(eventSystem, actionName, axisRange, eventSystem.currentInputSource));
 }