Пример #1
0
    // Start is called before the first frame update
    void Start()
    {
        ruby_argments    = new Object[2];
        ruby_argments[0] = GameObject.Find("Tori").GetComponent <StatueController>();
        ruby_argments[1] = GameObject.Find("Robe").GetComponent <StatueController>();

        programTools = GameObject.Find("ProgramTools").GetComponent <ProgramToolsController>();
        programTools.setProgram(script, method_name, augments_name, limit, ruby_argments);
    }
Пример #2
0
    // Start is called before the first frame update
    void Start()
    {
        ruby_argments = new object[1];

        ruby_argments[0] = GameObject.Find("ido").GetComponent <ArrayObjectController>();

        programTools = GameObject.Find("ProgramTools").GetComponent <ProgramToolsController>();
        programTools.setProgram(script, method_name, augments_name, limit, ruby_argments);
    }
Пример #3
0
    // Start is called before the first frame update
    void Start()
    {
        ruby_argments = new object[1];
        array         = new int[6];
        System.Array.Copy(init_array, array, init_array.Length);
        ruby_argments[0] = array;

        programTools = GameObject.Find("ProgramTools").GetComponent <ProgramToolsController>();
        programTools.setProgram(script, method_name, augments_name, limit, ruby_argments);
    }
    // Start is called before the first frame update
    void Start()
    {
        ruby_argments    = new Object[4];
        ruby_argments[0] = GameObject.Find("tubo").GetComponent <ContainerContorller>();
        ruby_argments[1] = GameObject.Find("oke").GetComponent <ContainerContorller>();
        ruby_argments[2] = GameObject.Find("hako").GetComponent <ContainerContorller>();
        ruby_argments[3] = GameObject.Find("tubo_covered").GetComponent <ContainerContorller>();

        programTools = GameObject.Find("ProgramTools").GetComponent <ProgramToolsController>();
        programTools.setProgram(script, method_name, augments_name, limit, ruby_argments);
    }