/**************************************************** * Init * *************************************************/ private void Start() { if (cam == null) { cam = Camera.main; } myTransform = transform; if (cam == null) { Debug.LogError("Missing cam, please assign it!"); } object_remover = GetComponent <ObjectRemover>(); if (faceMe && useContinuousRotation) { Debug.LogError("Settings conflict, faceMe mode can't be enabled in continuous rotation"); faceMe = false; } }