예제 #1
0
 void Start()
 {
     zombie          = GetComponent <Zombie>();
     zombieMovement  = GetComponent <ZombieMovement>();
     playerPosition  = GetComponent <PlayerPosition>();
     slomoController = FindObjectOfType <SlomoController>();
 }
예제 #2
0
 void Start()
 {
     playerAnimator      = GetComponent <Animator>();
     playerRigidBody     = GetComponent <Rigidbody2D>();
     playerIK2D          = GetComponent <UnityEngine.U2D.IK.IKManager2D>();
     almostDeadBleed     = GetComponent <AlmostDeadBleed>();
     pause               = FindObjectOfType <Pause>();
     slomoController     = FindObjectOfType <SlomoController>();
     cinemachineSwitcher = FindObjectOfType <CinemachineSwitcher>();
     win      = FindObjectOfType <Win>();
     parallax = FindObjectOfType <Parallax>();
 }
예제 #3
0
 private void Start()
 {
     slomoController = FindObjectOfType <SlomoController>();
 }
예제 #4
0
 void Start()
 {
     win             = FindObjectOfType <Win>();
     gameOver        = FindObjectOfType <GameOver>();
     slomoController = FindObjectOfType <SlomoController>();
 }
예제 #5
0
 // Start is called before the first frame update
 void Awake()
 {
     slomoController = FindObjectOfType <SlomoController>();
     animator        = GetComponent <Animator>();
 }