ThirdPersonObject Component is applied but still visible.Any object that has the ThirdPersonObject component will change when the perspective switches.
Would you please respond to me? ThanksAny object that has the ThirdPersonObject component will change when the perspective switches.
Would you please guide me here. Thanks,Any object that has the ThirdPersonObject component will change when the perspective switches.
I am using a mesh with the following properties and components, but I cannot hide the texts of the third person when playing in 1st person mode. I asked you earlier and struggled but couldn't find the solution. Please help me to find a solution. Or is there any way to deactivate objects in 1st person's mood and reactivate them when moving to 3rd person mode?If you are using an item then you don't need to add the Third Person Objects component. Make sure the visible item on the item perspective component points to the correct reference.
Would you please explain a little bit, about how and where I can find this event?You can register to the OnChangedPerspective event and do what ever you like.
void Awake(){
EventHandler.RegisterEvent<bool>(m_GameObject, "OnCameraChangePerspectives", OnChangedPerspective);
}
void OnDestroy(){
EventHandler.UnRegisterEvent<bool>(m_GameObject, "OnCameraChangePerspectives", OnChangedPerspective);
}
private void OnChangedPerspective(bool isFirstPerson){
//Do Stuff.
}
I am not facing the problem of perspective change. If I am in 1st person's mood, the third person's equip item's objects will be visible. even if I change the perspective or not.C#:void Awake(){ EventHandler.RegisterEvent<bool>(m_GameObject, "OnCameraChangePerspectives", OnChangedPerspective); } void OnDestroy(){ EventHandler.UnRegisterEvent<bool>(m_GameObject, "OnCameraChangePerspectives", OnChangedPerspective); } private void OnChangedPerspective(bool isFirstPerson){ //Do Stuff. }