Exemple #1
0
 void Start()
 {
     checkpoint     = transform.position;
     spriteRenderer = GetComponent <SpriteRenderer>();
     blink          = GetComponent <BlinkMove>();
     hotkeys        = GameObject.Find("_SCRIPTS_")
                      .GetComponent <Hotkeys>();
 }
 void Start()
 {
     movingPlayer   = GetComponent <Player>();
     blink          = GetComponent <BlinkMove>();
     rigidBody      = GetComponent <Rigidbody2D>();
     playerAnimator = GetComponent <PlayerAnimator>();
     playerAudio    = GetComponent <PlayerAudio>();
     hotkeys        = GameObject.Find("_SCRIPTS_")
                      .GetComponent <Hotkeys>();
 }