コード例 #1
0
 void Start()
 {
     rb              = GetComponent <Rigidbody2D>();
     isJumping       = false;
     facingRight     = true;
     anim            = GetComponent <Animator>();
     _yuyuController = GameObject.FindGameObjectWithTag("Player").GetComponent <YuyuController>();
 }
コード例 #2
0
 void Start()
 {
     isFacingRight    = GetComponent <ScrollController>().facingRight;
     localBulletSpeed = bulletSpeed;
     localFlusSpeed   = flusSpeed;
     rb              = GetComponent <Rigidbody2D>();
     maxFlusAmmo     = 100;
     _yuyuController = GameObject.FindGameObjectWithTag("Player").GetComponent <YuyuController>();
 }
コード例 #3
0
 private void Start()
 {
     _yuyuController = GameObject.FindGameObjectWithTag("Player").GetComponent <YuyuController>();
 }