コード例 #1
0
 // Awake
 internal void AwakeHUD()
 {
     m_Instance = this;
     cameraObj  = this.GetComponentInChildren <Camera>().gameObject;
     //
     healthBar.Awake();
     crosshair.Awake();
     weaponInformer.Awake();
     //
     nativePosition = rotationElements.localPosition;
     nativeRotation = rotationElements.localEulerAngles;
     //
     SetActive(GameSettings.ShowHud);
 }