void Awake() { clawMechanism = GetComponentInChildren <ClawMechanism>(); clawNode = GetComponentInChildren <ClawNode>(); clawPerSe = GetComponentInChildren <ClawPerSe>(); clawLastPosition = clawNode.GetComponent <Renderer>().bounds.center; }
void Awake() { clawMechanism = GetComponentInChildren<ClawMechanism>(); clawNode = GetComponentInChildren<ClawNode>(); clawPerSe = GetComponentInChildren<ClawPerSe>(); heroStrong = FindObjectOfType<HeroStrong> (); heroFast = FindObjectOfType<HeroFast>(); Terminal = GetComponentInChildren<InvisibleAreaTrigger>(); clawLastPosition = clawNode.GetComponent<Renderer>().bounds.center; cameraControl = FindObjectOfType<CameraController>(); }
void Awake() { clawMechanism = GetComponentInChildren <ClawMechanism>(); clawNode = GetComponentInChildren <ClawNode>(); clawPerSe = GetComponentInChildren <ClawPerSe>(); heroStrong = FindObjectOfType <HeroStrong> (); heroFast = FindObjectOfType <HeroFast>(); Terminal = GetComponentInChildren <InvisibleAreaTrigger>(); clawLastPosition = clawNode.GetComponent <Renderer>().bounds.center; cameraControl = FindObjectOfType <CameraController>(); }
void Start() { clawNode = GetComponentInChildren<ClawNode> (); jointInterObject = GetComponent<HingeJoint2D> (); jointInterObject.enabled = false; }
void Start() { clawNode = GetComponentInChildren <ClawNode> (); jointInterObject = GetComponent <HingeJoint2D> (); jointInterObject.enabled = false; }