예제 #1
0
        static void Main(string[] args)
        {
            Console.BackgroundColor = ConsoleColor.Cyan;
            Console.WriteLine("Enter string");
            string  str      = Console.ReadLine();
            MyClass cls      = new MyClass();
            Ffunc   funcDell = new Ffunc(cls.Space);

            funcDell += cls.Reverse;

            Run run = new Run();

            run.RunFunc(funcDell, str);
        }
 void Start()
 {
     if (Application.platform == RuntimePlatform.IPhonePlayer ||
         Application.platform == RuntimePlatform.Android)
         FUpdate = FixedTouchUpdate;
     else
         FUpdate = FixedMouseUpdate;
     Input.multiTouchEnabled = true;
 }
예제 #3
0
 public void RunFunc(Ffunc func, string str)
 {
     func.Invoke(str);
 }