示例#1
0
    private Vector3 halfHeight    = new Vector3(0, 5F, 0);         //planet surface point + this = my center.

    void Start()
    {
        main_function  = Function.DRIVE_TOWARDS_A;
        this.processor = new Processor_Bot_Basic(this, main_function);
        Debug.Log("new bot with processor " + processor + " and channels " + processor.channels);
    }
示例#2
0
    private Vector3 halfHeight    = new Vector3(0, 5F, 0);         //planet surface point + this = my center.

    void Start()
    {
        main_function = PrebuiltFunctions.justDrive;
        processor     = new Processor_Bot_Basic(this, main_function);
    }