void Awake() { if (singleton == null) { singleton = this; } cam = GetComponent<Camera>(); //AssignCameraAngle(); }