示例#1
0
    // Use this for initialization
    void Awake()
    {
        my_num = getNextNum();

        if (my_num == 0)
        {
            Debug.Log(address + " " + port);
            FalconUnity.setServerParams(address, port);
            FalconUnity.Start();

            FalconUnity.Update();
            if (FalconUnity.IsRemote())
            {
                FalconUnity.Update();
            }

            FalconUnity.setGravity(gravity);
        }
    }