// Use this for initialization void Start() { animator = GetComponent <Animator>(); capacity_Controller = GetComponent <capacity_controller>(); player_Controller = GetComponent <player_controller>(); ui.setLife(actual_health); ui.setMaxHealth(Max_health); }
private void Start() { rb = GetComponent <Rigidbody>(); capacity_Controller = GetComponent <capacity_controller>(); animator = GetComponent <Animator>(); world = World.LIGHT; Savepoint = this.transform.position; SaveWorld = this.world; }