상속: MonoBehaviour
예제 #1
0
파일: ObjActions.cs 프로젝트: jump4r/Asylum
 /* 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>();
 }
예제 #2
0
 void Awake()
 {
     cutsceneScripts = GameObject.FindGameObjectWithTag("GameController").GetComponent<CutsceneScripts>();
 }