/* 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>(); }
void Awake() { cutsceneScripts = GameObject.FindGameObjectWithTag("GameController").GetComponent<CutsceneScripts>(); }