void SetInitialReferences() { myTransform = transform; if (prop_can == null || prop_duck == null || prop_balloon == null || prop_planktarget == null || prop_tinytarget == null) { Debug.LogError("Missing references: props"); } game = (HandleGame)FindObjectOfType(typeof(HandleGame)); if (game == null) { Debug.LogError("Missing reference: game"); } }