예제 #1
0
파일: ViveUI.cs 프로젝트: paddymahoney/vive
        public SubjectCombo(SubjectList l, Rect r)
        {
            listStyle = new GUIStyle();
            rect      = r;
            list      = l;

            listStyle.normal.textColor   = Color.white;
            listStyle.onHover.background = new Texture2D(2, 2);
            listStyle.hover.background   = new Texture2D(2, 2);
            listStyle.padding.left       = 4;
            listStyle.padding.right      = 4;
            listStyle.padding.top        = 4;
            listStyle.padding.bottom     = 4;

            Update();
        }
예제 #2
0
		public PipeConnector( SubjectList sl ) : base (sl) {}
예제 #3
0
 public Connector(SubjectList sl)
 {
     subjectList = sl;
 }
예제 #4
0
 public SocketConnector(SubjectList sl, string ip, int p)
     : base(sl)
 {
     hostIp = ip;
     port   = p;
 }