Inheritance: MonoBehaviour
Esempio 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>();
 }
Esempio n. 2
0
 void Awake()
 {
     cutsceneScripts = GameObject.FindGameObjectWithTag("GameController").GetComponent<CutsceneScripts>();
 }