Exemple #1
0
 void Start()
 {
     CheckPoint.InitialPlayerPosition();
     groundDetector    = GetComponentInChildren <GroundDetector>();
     ceilingDetector   = GetComponentInChildren <CeilingDetector>();
     bodyCollider      = GetComponentInChildren <CapsuleCollider2D>();
     _chipsRigidbody2D = GetComponent <Rigidbody2D>();
     initialScale      = transform.localScale.x;
 }