Exemplo n.º 1
0
    // Start is called before the first frame update
    void Start()
    {
        ArrowParent.SetActive(false);
        Cursor.lockState = CursorLockMode.Locked;
        destinationEffect.SetActive(false);
        targetRotation  = transform.rotation;
        initialRotation = modelTransform.localRotation;
        rbody           = GetComponent <Rigidbody>();
        pickupHighlight.gameObject.SetActive(false);
        anim = GetComponent <Animator>();

        GUICanvas.SetMaxHealth(droneHealth);
    }