Esempio n. 1
0
    // Start is called before the first frame update
    void Start()
    {
        servo = GetComponentInParent <ServoManager>();

        work = 0f;

        vec         = Vector3.zero;
        lotateSpeed = 100.0f;
    }
Esempio n. 2
0
    // Start is called before the first frame update
    void Start()
    {
        sub = GetComponentInParent <ServoManager>();

        OnArround(true);
    }