コード例 #1
0
ファイル: CameraManager.cs プロジェクト: 1withthe4ce/Starsign
 private void Start()
 {
     player      = GameObject.FindGameObjectWithTag("Player").transform; //Find player in scene
     CamEditPOS  = GameObject.Find("CamEditPOS").transform;
     cameraShake = GetComponent <CameraShakeEffect>();
     self        = GetComponent <Camera>();
 }
コード例 #2
0
 private void Start()
 {
     player      = GameObject.FindGameObjectWithTag("Player").transform; //Find player in scene
     cameraShake = GetComponent <CameraShakeEffect>();
 }