void Start() { zombie = GetComponent <Zombie>(); zombieMovement = GetComponent <ZombieMovement>(); playerPosition = GetComponent <PlayerPosition>(); slomoController = FindObjectOfType <SlomoController>(); }
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>(); }
private void Start() { slomoController = FindObjectOfType <SlomoController>(); }
void Start() { win = FindObjectOfType <Win>(); gameOver = FindObjectOfType <GameOver>(); slomoController = FindObjectOfType <SlomoController>(); }
// Start is called before the first frame update void Awake() { slomoController = FindObjectOfType <SlomoController>(); animator = GetComponent <Animator>(); }