Ejemplo n.º 1
0
 void Awake()
 {
     clawMechanism    = GetComponentInChildren <ClawMechanism>();
     clawNode         = GetComponentInChildren <ClawNode>();
     clawPerSe        = GetComponentInChildren <ClawPerSe>();
     clawLastPosition = clawNode.GetComponent <Renderer>().bounds.center;
 }
Ejemplo n.º 2
0
 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>();
 }
Ejemplo n.º 3
0
 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>();
 }
Ejemplo n.º 4
0
    void Start()
    {
		clawNode = GetComponentInChildren<ClawNode> ();
		jointInterObject = GetComponent<HingeJoint2D> ();
		jointInterObject.enabled = false;
    }
Ejemplo n.º 5
0
 void Start()
 {
     clawNode                 = GetComponentInChildren <ClawNode> ();
     jointInterObject         = GetComponent <HingeJoint2D> ();
     jointInterObject.enabled = false;
 }