void Start() { if (hud == null) { hud = vHUDController.instance; } }
protected virtual IEnumerator CharacterInit() { yield return(new WaitForEndOfFrame()); if (tpCamera == null) { tpCamera = FindObjectOfType <vThirdPersonCamera>(); if (tpCamera && tpCamera.target != transform) { tpCamera.SetMainTarget(this.transform); } } if (hud == null && vHUDController.instance != null) { hud = vHUDController.instance; hud.Init(cc); } }