public override void Awake() { if (inputs == null) { inputs = new Vid_ObjectInputs(2); } }
public override void Awake() { base.Awake(); acceptableInputs = new VidData_Type[1]; acceptableInputs[0] = VidData_Type.BOOL; inputs = new Vid_ObjectInputs(1); }
private void SelectGroup(GameObject go) { if (go == null) { return; } Vid_Object vidObj = go.GetComponent <Vid_Object>(); Vid_ObjectInputs inputs = vidObj.GetInputs(); VidContainer container = go.GetComponent <VidContainer>(); container.Select(); if (inputs == null) { return; } for (int i = 0; i < inputs.inputs.Length; i++) { if (inputs.inputs[i] == null) { } else { Debug.Log("Check2:" + inputs.inputs[i].gameObject.ToString()); SelectGroup(inputs.inputs[i].gameObject); } } }
private void DeselectGroup(GameObject go) { if (go == null) { return; } Vid_Object vidObj = go.GetComponent <Vid_Object>(); Vid_ObjectInputs inputs = vidObj.GetInputs(); VidContainer container = go.GetComponent <VidContainer>(); container.Deselect(); if (inputs == null) { return; } for (int i = 0; i < inputs.inputs.Length; i++) { if (inputs.inputs[i] == null) { } else { DeselectGroup(inputs.inputs[i].gameObject); } } }
public override void Awake() { base.Awake(); inputs = new Vid_ObjectInputs(inputSize); acceptableInputs = new VidData_Type[1]; acceptableInputs[0] = VidData_Type.DATABASE_COL; isDesc = new bool[1]; }
public override void Awake() { base.Awake(); base.output_dataType = VidData_Type.STATMENT; inputs = new Vid_ObjectInputs(1); acceptableInputs = new VidData_Type[1]; acceptableInputs[0] = VidData_Type.STATMENT; }
public override void Awake() { base.Awake(); acceptableInputs = new VidData_Type[1]; acceptableInputs[0] = output_dataType; inputs = new Vid_ObjectInputs(inputSize); }
public virtual void incromentInputs() { inputSize++; Vid_ObjectInputs newInputs = new Vid_ObjectInputs(inputSize); for(int i =0; i < inputSize - 1; i++) { newInputs.setInput_atIndex(inputs.getInput_atIndex(i), i); } inputs = newInputs; }
public override void Awake() { base.Awake(); base.output_dataType = VidData_Type.DATABASE_TABLE; inputs = new Vid_ObjectInputs(2); acceptableInputs = new VidData_Type[2]; acceptableInputs[0] = VidData_Type.DATABASE_TABLE; acceptableInputs[1] = VidData_Type.DATABASE_CLAUSE; }
public override void Awake() { base.Awake(); inputs = new Vid_ObjectInputs(3); acceptableInputs = new VidData_Type[3]; acceptableInputs[0] = VidData_Type.DATABASE_TABLE; acceptableInputs[1] = VidData_Type.ASSINMENT; acceptableInputs[2] = VidData_Type.DATABASE_CLAUSE; }
public override void Awake() { base.Awake(); base.output_dataType = VidData_Type.DECLAR_CON; inputs = new Vid_ObjectInputs(2); acceptableInputs = new VidData_Type[2]; acceptableInputs[0] = VidData_Type.IDENT; acceptableInputs[1] = VidData_Type.NUM; }
public override void Awake() { inputs = new Vid_ObjectInputs(2); acceptableInputs = new VidData_Type[3]; acceptableInputs[0] = VidData_Type.DATABASE_COL; acceptableInputs[1] = VidData_Type.NUM; acceptableInputs[2] = VidData_Type.STRING; }
public override void Awake() { base.Awake(); inputs = new Vid_ObjectInputs(numOfPrameters); parameters_names = new List<String>(); prefix = new Dictionary<Vid_Prefix, string>(); FunctionTool.getInstance().setCurrentFunction(this); }
public override void Awake() { base.Awake(); inputs = new Vid_ObjectInputs(numOfPrameters); parameters_names = new List <String>(); prefix = new Dictionary <Vid_Prefix, string>(); FunctionTool.getInstance().setCurrentFunction(this); }
public override void Awake() { base.Awake(); base.output_dataType = VidData_Type.STATMENT; inputs = new Vid_ObjectInputs(3); acceptableInputs = new VidData_Type[3]; acceptableInputs[0] = VidData_Type.DECLAR_CON; acceptableInputs[1] = VidData_Type.IDENT; acceptableInputs[2] = VidData_Type.EXPRESSION; }
public override void Awake() { base.Awake(); inputs = new Vid_ObjectInputs(2); acceptableInputs = new VidData_Type[2]; acceptableInputs[0] = VidData_Type.BOOL; acceptableInputs[1] = VidData_Type.NUM; base.output_dataType = VidData_Type.BOOL; }
public virtual void decromentInputs() { if(inputSize > 1) { inputSize--; } Vid_ObjectInputs newInputs = new Vid_ObjectInputs(inputSize); for (int i = 0; i < inputSize; i++) { newInputs.setInput_atIndex(inputs.getInput_atIndex(i), i); } inputs = newInputs; }
public override void Awake() { base.Awake(); base.output_dataType = VidData_Type.LIST; inputs = new Vid_ObjectInputs(3); acceptableInputs = new VidData_Type[3]; acceptableInputs[0] = VidData_Type.DATABASE_TABLE; acceptableInputs[1] = VidData_Type.DATABASE_COL; acceptableInputs[2] = VidData_Type.DATABASE_CALUSE; }
public override void incromentInputs() { inputSize++; Vid_ObjectInputs newInputs = new Vid_ObjectInputs(inputSize); bool[] newIsDesc = new bool[inputSize]; for (int i = 0; i < inputSize - 1; i++) { newInputs.setInput_atIndex(inputs.getInput_atIndex(i), i); newIsDesc[i] = isDesc[i]; } inputs = newInputs; isDesc = newIsDesc; }
public virtual void incromentInputs() { inputSize++; Vid_ObjectInputs newInputs = new Vid_ObjectInputs(inputSize); for (int i = 0; i < inputSize - 1; i++) { newInputs.setInput_atIndex(inputs.getInput_atIndex(i), i); } inputs = newInputs; }
public override void Awake() { base.Awake(); base.output_dataType = VidData_Type.Q_SELECT; if(inputs == null) { inputs = new Vid_ObjectInputs(3); } acceptableInputs = new VidData_Type[3]; acceptableInputs[0] = VidData_Type.DATABASE_TABLE; acceptableInputs[1] = VidData_Type.DATABASE_COL; acceptableInputs[2] = VidData_Type.DATABASE_CLAUSE; }
public override void Awake() { base.Awake(); inputs = new Vid_ObjectInputs(2); acceptableInputs = new VidData_Type[5]; acceptableInputs[0] = VidData_Type.BOOL; acceptableInputs[1] = VidData_Type.LIST; acceptableInputs[2] = VidData_Type.DATABASE_COL; acceptableInputs[3] = VidData_Type.DATABASE_CALUSE; acceptableInputs[4] = VidData_Type.STRING; }
public override void Awake() { base.Awake(); base.output_dataType = VidData_Type.Q_SELECT; if (inputs == null) { inputs = new Vid_ObjectInputs(3); } acceptableInputs = new VidData_Type[3]; acceptableInputs[0] = VidData_Type.DATABASE_TABLE; acceptableInputs[1] = VidData_Type.DATABASE_COL; acceptableInputs[2] = VidData_Type.DATABASE_CLAUSE; }
public void DeactivateUI() { for (int i = 0; i < holdingV2.Count; i++) { Vid_Object vidObj = holdingV2[i].GetComponent <Vid_Object>(); Vid_ObjectInputs inputs = vidObj.GetInputs(); VidContainer container = holdingV2[i].GetComponent <VidContainer>(); if (container.UIControlls != null) { container.UIControlls.SetActive(false); } } }
public virtual void decromentInputs() { if (inputSize > 1) { inputSize--; } Vid_ObjectInputs newInputs = new Vid_ObjectInputs(inputSize); for (int i = 0; i < inputSize; i++) { newInputs.setInput_atIndex(inputs.getInput_atIndex(i), i); } inputs = newInputs; }
/*Builder function*/ public bool addParameter(Vid_Data data, String name) { if (data.getVidData_type() != VidData_Type.FUNCTION | data.getVidData_type() != VidData_Type.IMPORT) { if (!parameters.ContainsKey(name)) { parameters.Add(name, data); parameters_names.Add(name); numOfPrameters++; inputs = new Vid_ObjectInputs(numOfPrameters); } return(true); } return(false); }
/*Builder function*/ public bool addParameter(Vid_Data data, String name) { if (data.getVidData_type() != VidData_Type.FUNCTION | data.getVidData_type() != VidData_Type.IMPORT) { if (!parameters.ContainsKey(name)) { parameters.Add(name, data); parameters_names.Add(name); numOfPrameters++; inputs = new Vid_ObjectInputs(numOfPrameters); } return true; } return false; }
public override void Awake() { base.Awake(); base.output_dataType = VidData_Type.DATABASE; inputs = new Vid_ObjectInputs(2); }
public override void Awake() { base.Awake(); inputs = new Vid_ObjectInputs(3); }
public override void Awake() { inputs = new Vid_ObjectInputs(1); acceptableInputs = new VidData_Type[1]; acceptableInputs[0] = VidData_Type.DATABASE_TABLE; }
public override void Awake() { base.Awake(); inputs = new Vid_ObjectInputs(2); }
public override void Awake() { base.Awake(); inputs = new Vid_ObjectInputs(1); returnType = Vid_Prefix.Vid_returnValue.BOOL; }