Esempio n. 1
0
		private Connection (string label, string connectionId, string startNodeId, ConnectionPoint output, string endNodeId, ConnectionPoint input) {
			conInsp = ScriptableObject.CreateInstance<ConnectionInspector>();
			conInsp.hideFlags = HideFlags.DontSave;

			this.label = label;
			this.connectionId = connectionId;

			this.startNodeId = startNodeId;
			this.outputPoint = output;
			this.endNodeId = endNodeId;
			this.inputPoint = input;

			connectionButtonStyle = "sv_label_0";
		}
Esempio n. 2
0
        private Connection(string label, string connectionId, string startNodeId, ConnectionPoint output, string endNodeId, ConnectionPoint input)
        {
            conInsp           = ScriptableObject.CreateInstance <ConnectionInspector>();
            conInsp.hideFlags = HideFlags.DontSave;

            this.label        = label;
            this.connectionId = connectionId;

            this.startNodeId = startNodeId;
            this.outputPoint = output;
            this.endNodeId   = endNodeId;
            this.inputPoint  = input;

            connectionButtonStyle = "sv_label_0";
        }