Esempio n. 1
0
 // Use this for initialization
 void Start()
 {
     programBlock = GetComponent <ProgramBlock> ();
     programBlock.SetProgramBlockName("If");
     trueFalseBlock      = ProgramFile.AddProgramBlock <ProgramTrueFalseBlock> (gameObject).GetComponent <ProgramTrueFalseBlock> ();
     assignVariableBlock = ProgramFile.AddProgramBlock <ProgramAssignVariableBlock> (gameObject).GetComponent <ProgramAssignVariableBlock> ();
 }
Esempio n. 2
0
    // Use this for initialization
    void Start()
    {
        programBlock = GetComponent <ProgramBlock> ();
        programBlock.SetProgramBlockName("Assign Variable");

        programVariableReference = ProgramFile.AddProgramBlock <ProgramVariableReference> (gameObject).GetComponent <ProgramVariableReference>();
        programNumber            = ProgramFile.AddProgramBlock <ProgramNumber> (gameObject).GetComponent <ProgramNumber>();
    }
Esempio n. 3
0
 // Use this for initialization
 void Start()
 {
     programBlock = GetComponent <ProgramBlock> ();
     programBlock.SetProgramBlockName("True False");
 }
Esempio n. 4
0
 // Use this for initialization
 void Start()
 {
     programBlock = GetComponent <ProgramBlock> ();
     programBlock.SetProgramBlockName("Vairable Reference");
 }
Esempio n. 5
0
 // Use this for initialization
 void Start()
 {
     programBlock = GetComponent <ProgramBlock> ();
     programBlock.SetProgramBlockName("Number");
 }