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