// Use this for initialization void Start() { _playerCenter = _reference1.GetComponent <CenterOnPod>(); _camerahelp2 = _reference2.GetComponent <CameraHelper>(); _camerahelp3 = _reference3.GetComponent <CameraHelper>(); _animator = GetComponent <Animator>(); _animator.enabled = false; }
// Use this for initialization void Start() { rb = GetComponent <Rigidbody>(); flag = _player.GetComponent <CenterOnPod>(); }