// Start is called before the first frame update void Start() { camControleActuel = this; controleSouris = FindObjectOfType <ControleSouris>(); vecteurMove = transform.position; }
// Update is called once per frame void Update() { if (scriptCamera == null) { scriptCamera = Camera.main.gameObject.GetComponent <CameraControle>(); } }
// Use this for initialization void Start() { vidaAtual = vidaInicial; timeBetweenDropStore = timeBetweenDrops; dropCount = timeBetweenDrops; platformCount = waitForPlatform; theBoss.transform.position = pontoDir.position; bossDir = true; theCamera = FindObjectOfType <CameraControle>(); theLevelManager = FindObjectOfType <LevelManager>(); }
// Start is called before the first frame update void Start() { camControle = FindObjectOfType <CameraControle>(); InitMasks(); }