Exemplo n.º 1
0
 void Start()
 {
     _filter = GetComponent <MeshFilter>();
     _sender = GetComponent <MeshSenderHTTP>();
     _sender.Construct(serverUrl, authorName, title);
     _sender.Register();
 }
    void Awake()
    {
        _filter = GetComponent <MeshFilter>();
        _sender = GetComponent <MeshSenderHTTP>();
        _sender.Construct(useLocal ? localServerUrl : remoteServerUrl, authorName, title);
        _sender.Register();

        InvokeRepeating("SendMesh", 0.2f, 0.05f);
    }
Exemplo n.º 3
0
    private void Start()
    {
        //GetComponent<MeshFilter>().mesh = mesh = new Mesh();
        meshSender = GetComponent <MeshSenderHTTP>();
        meshSender.Construct(serverUrl, authorName, title, mesh);
        meshSender.Register();
        //mesh.name = "Some Rad Meshy Thing";

        //StartCoroutine(Generate());
    }