// Start is called before the first frame update
    void Start()
    {
        parent = GetComponent <ObjectScript>();
        float temp = parent.GetFloatVariable("WalkSpeed");

        Debug.Log(temp);
    }