Inheritance: MonoBehaviour
Ejemplo n.º 1
0
 /* initialize or save anything we need here */
 void Awake()
 {
     normalScale = transform.localScale;
     normalPosition = transform.localPosition;
     mesh = gameObject.GetComponent<MeshRenderer>();
     cutsceneScripts = GameObject.FindGameObjectWithTag("GameController").GetComponent<CutsceneScripts>();
     //phys = gameObject.GetComponent<Rigidbody>();
 }
Ejemplo n.º 2
0
 void Awake()
 {
     cutsceneScripts = GameObject.FindGameObjectWithTag("GameController").GetComponent<CutsceneScripts>();
 }