[ create a new paste ] login | about

Link: http://codepad.org/LLOOvk5N    [ raw code | output | fork ]

C++, pasted on Jun 2:
using UnityEngine;
using System.Collections;
using System;
using CrazyMinnow.SALSA;

public class TesteSALSA : MonoBehaviour {

    // Reference to the RandomEyes3D class
    public RandomEyes3D randomEyes3D; 

    UdpSrvrSample sl = new UdpSrvrSample();

    // Use this for initialization
    void Start() {
        sl.Listening();
    }
	
	// Update is called once per frame
	void Update() {
        string message = sl.Message;

        if (message == "Happy")
        {
            // Execucao da animacao
            randomEyes3D.SetGroup("happy", true);

        }
    }
}


Output:
1
2
Line 1: error: expected nested-name-specifier before 'UnityEngine'
compilation terminated due to -Wfatal-errors.


Create a new paste based on this one


Comments: