Ejemplo n.º 1
0
    void Awake()
    {
        Instance = this;

        // populate players
        //for (int i = 0; i < 4; i++)
        //{
        //    playerList.Add(new Player(i));
        //}
    }
Ejemplo n.º 2
0
    public override void OnInspectorGUI()
    {
        myTarget = (AirConsoleManager)target;

        foreach (AirConsoleManager.Device d in myTarget.GetDevices().Values)
        {
            DrawDevice(d);
        }


        EditorUtility.SetDirty(myTarget);
    }
Ejemplo n.º 3
0
 public Device(AirConsoleManager manager, int deviceId)
 {
     this.manager  = manager;
     this.deviceId = deviceId;
 }