private void Awake() { camSwitch = GameObject.FindObjectOfType <CameraStyleSwitcher>(); autoCam = GameObject.FindObjectOfType <AutoCamera>(); }
public InputData(AutoCamera camera) { m_autoCamera = camera; m_lastViewportPoint = DefaultScreenPoint; }
public InputData_PC(AutoCamera camera) : base(camera) { m_buttonType = eButtonType.None; }
public InputData_Mobile(AutoCamera camera) : base(camera) { ResetFingerDistance(); m_touchType = eTouchType.None; }
private void Awake() { tpCam = this.GetComponent <ThirdPersonCamera>(); autoCam = this.GetComponent <AutoCamera>(); }