// Use this for initialization void Start() { originalRotation = transform.localRotation; arrowsBehavior = GameObject.Find("Arrows").GetComponent <ArrowsBehavior>(); isCannonMovable = false; ballBehaviorTrackable = false; }
public float timeUntilLaunch; //how long can they hold onto the ball before it launches? void Start() { reaimingActive = false; ballPosition = Vector3.zero; roomCamera = GameObject.Find("RoomCamera"); sbBehavior = GameObject.Find("Sphere").GetComponent <SuperballBehavior>(); superballRBody = GameObject.Find("Sphere").GetComponent <Rigidbody>(); arrowsBehavior = GameObject.Find("Arrows").GetComponent <ArrowsBehavior>(); }