コード例 #1
0
 // 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);
 }
コード例 #2
0
 private void Start()
 {
     rb = GetComponent <Rigidbody>();
     capacity_Controller = GetComponent <capacity_controller>();
     animator            = GetComponent <Animator>();
     world     = World.LIGHT;
     Savepoint = this.transform.position;
     SaveWorld = this.world;
 }