| | |
| | | [SerializeField] UI3DModelInteractProcessor m_InteractProcessor;
|
| | | [SerializeField] ColorCorrectionCurves m_CameraColor;
|
| | |
|
| | | public bool interactable {
|
| | | public bool interactable
|
| | | {
|
| | | get { return m_Interactable; }
|
| | | set { m_Interactable = value; }
|
| | | }
|
| | |
| | |
|
| | | int m_HorseModelId = 0;
|
| | | GameObject horseModel = null;
|
| | | public GameObject NpcModelHorse {
|
| | | public GameObject NpcModelHorse
|
| | | {
|
| | | get { return horseModel; }
|
| | | set { horseModel = value; }
|
| | | }
|
| | |
| | | int m_NPCId = 0;
|
| | | GameObject npcModel = null;
|
| | | SFXController m_NpcEffect;
|
| | | public GameObject NpcModelPet {
|
| | | public GameObject NpcModelPet
|
| | | {
|
| | | get { return npcModel; }
|
| | | set { npcModel = value; }
|
| | | }
|
| | |
| | | public static UI3DModelExhibition Instance { get; private set; }
|
| | |
|
| | | static UI3DModelExhibition m_InstanceClone1 = null;
|
| | | public static UI3DModelExhibition InstanceClone1 {
|
| | | get {
|
| | | public static UI3DModelExhibition InstanceClone1
|
| | | {
|
| | | get
|
| | | {
|
| | | if (m_InstanceClone1 == null)
|
| | | {
|
| | | CreateCloneStage();
|
| | |
| | | StopShow();
|
| | | ResetCameraColor();
|
| | | var config = Config.Instance.Get<NPCConfig>(data.npcId);
|
| | | m_NPCId = data.npcId;
|
| | | var job = 0;
|
| | | if (config.MODE.Contains("A_Zs"))
|
| | | {
|
| | |
| | | {
|
| | | StopShow();
|
| | | m_ShowCamera.enabled = true;
|
| | |
|
| | | m_NPCId = _npcId;
|
| | | if (_rawImage != null)
|
| | | {
|
| | | var x = _rawImage.rectTransform.rect.height * 4f / 3;
|
| | |
| | | m_NPCShowPoint.localEulerAngles = _localEulerAngles;
|
| | | }
|
| | |
|
| | | m_NPCId = _npcId;
|
| | | npcModel = instance;
|
| | | var config = Config.Instance.Get<NPCConfig>(_npcId);
|
| | | instance.transform.SetParentEx(_isDialogue ? m_DialogPoint : m_NPCShowPoint, _offset, Quaternion.identity, Vector3.one * config.UIModeLProportion);
|