// 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>();
 }
Ejemplo n.º 2
0
 void Start() //largely importation
 {
     hookshotScript = Hookshot.GetComponent<Hookshot>();
     QualitySettings.vSyncCount = 0;
     Application.targetFrameRate = targetFrameRate;
 }