Exemple #1
0
        public static void Main()
        {
            Console.WriteLine("Welcome to Bridge.NET");

            jQuery.Ready(() =>
            {
                Console.WriteLine("jQuery started");
                InitAll.InitializeAll();

                jQuery.Ready(TestAndDebug);
            });

            // BRIDGE.NET says:

            // After building (Ctrl + Shift + B) this project,
            // browse to the ../bridgejs or /bin/Debug folder.

            // The bridgejs/ folder contains your projects
            // JavaScript files.

            // Open the index.html file in a browser by
            // Right-Click > Open With..., then choose a
            // web browser from the list
            // (Festival note: for now, it does not require a
            //  web server to run)

            // This application will then run in the browser.
        }
Exemple #2
0
    void Start()
    {
        Mask.gameObject.SetActive(false);

        GameStart.onClick.AddListener(() =>
        {
            Mask.gameObject.SetActive(true);

            InitAll.Init();
            StartCoroutine(StartLoading(scenename));
        });
    }