コード例 #1
0
            public static bool Ctrl(Functor check)
            {
#if UNITY_EDITOR
                return(check.Key(KeyCode.Comma));
#elif UNITY_STANDALONE_OSX
                return(check.Any.Key(KeyCode.LeftCommand, KeyCode.RightCommand));
#else
                return(check.Any.Key(KeyCode.LeftControl, KeyCode.RightControl));
#endif
            }