// Use this for initialization void Start() { groundCheck = transform.Find("GroundCheck").gameObject; planetAdhering = gameObject.GetComponent <AdhereToPlanet>(); normalMovement = gameObject.GetComponent <SpaceMovement>(); planetMovement = gameObject.GetComponent <PlanetMovement>(); hookshot = GameObject.Find("Hook").GetComponent <Hookshot>(); }
void Start() //largely importation { hookshotScript = Hookshot.GetComponent<Hookshot>(); QualitySettings.vSyncCount = 0; Application.targetFrameRate = targetFrameRate; }