protected override void Start() { userInput = GetComponent <UserInputPr>(); cameraManager = GetComponentInChildren <Visin1_1.CameraManager>(); base.Start(); basicData = GetComponent <AkaiBasicData>(); }
// Use this for initialization protected virtual void Start() { cameramanager = GetComponentInChildren <Visin1_1.CameraManager>(); if (cameramanager) { cameraT = cameramanager.transform; cameraType = cameramanager.cameraType; } maxSpeed = moveSpeed * speedScales; }