Exemplo n.º 1
0
    // Start is called before the first frame update
    void Start()
    {
        Moraleo = this.transform.parent.GetComponentInChildren <MoraleController>();
        Hungero = this.transform.parent.GetComponentInChildren <HungerController>();

        Moraleo.UpdateValue(MoraleEdit);
        Hungero.UpdateValue(ResourcesEdit);
    }