How to make a in-game pc, mobile phone, tablet etc.

in so many games there are electronic devices [u]stuffs[/u], for buy something, upgrade the place etc. So how can they doing this? Is there an any asset or package that ready to use? Or everyone making these themselves? Then how?

You have to be more specific.
Unity is cross platform, so many features work on all platforms

Some of the work is handled by the engine, some of it by the platform SDKs, and some of it by us. How much of each varies with each platform. Standalone is the easiest, mobile is the hardest, and consoles are somewhere in the middle.

This is not what the OP is asking, I think. He is talking about having devices in a game that do stuff. Like a playable handheld that your main character has that can be used to play a mini game or something.

The answer is you do them as you do everything else in your game.

yes, but how?

What do you mean “how?” What part are you having trouble with?

At all

You do it the same way you do anything in Unity… I’m not sure what you think is special about this that makes it so different from doing anything else in Unity.

I mean it may be different, because you might have something very specific in mind, but we don’t really know what you have in mind.

Like for a lot of it, it may just be an elaborate world space uGUI that you place in front of a “screen”, and that you activate when the player interacts with it. If it’s a minigame, you create the minigame normally, then you render it to a rendertexture, maybe put some filters on it, then put that texture on an in-game screen. IF… you see the possibilities are too many to suggest anything?

Do you want to know how to make games for diferent platforms? if yes, just change target platform (e.g., from Standalone to WebGL), make different scripts if you want platforms with diferent controls (e.g., mobiles and consoles), do some additional stuff for build for each platform, and done

As we’ve already established, that is not what they are asking.

Have you even tried?

So the op there is wanting to add mobiles and consoles in the game? if yes, there is a plenty of solutions there. Code a mobile for your game. Only you have the concept in your mind, so use your creative logic solutions and try to make it.

Well if not there is a glitch in your side

Please actually read the thread and what the OP has said in it.

Pls pay attention and read the post.

You also need to tell us more, tell us what you started making and which part you need help with. The part you need help can’t be “all of it”.

We can’t answer the question without useful information. Are you trying to create a simple one like in Subnautica or a complex one that mimics the behavior of a real device and OS? Will there be fixed entries or will it need to be able to add new ones at runtime?

We have read the post, you’ve just given us no actual information.

What have you actually tried?

You make the 3D model of the device, in Blender or any other 3D editor. Import it into Unity, then you can activate it using colliders and scripts that you write:

https://learn.unity.com/course/beginner-scripting