void Awake() { transform = gameObject.transform; player = Core.instance.GetPlayer(); cameraPosition = transform.Find("CameraPosition"); profile = playerProfile.camera; }
// CAMERA SHAKE ################### void Awake() { Instance = this; // CAMERA SHAKE ################### if (camTransform == null) { camTransform = GetComponent(typeof(Transform)) as Transform; } // CAMERA SHAKE ################### }