示例#1
0
    private void Start()
    {
        boost = maxBoost;
        boostBar.SetMaxBoost(maxBoost);

        Cursor.lockState = CursorLockMode.Locked;
    }
    // Start is called before the first frame update
    void Start()
    {
        my_camera = Camera.main.GetComponent <cameraControl>();
        wheel     = transform.GetChild(0);

        my_camera.my_owner_is(transform);

        boostBar.SetMaxBoost((int)_nitro);
    }
示例#3
0
 // Start is called before the first frame update
 void Start()
 {
     boostAmount = boostAmountMax;
     boostBar.SetMaxBoost(boostAmountMax);
 }