# I'm very new to Unity, is it all scene/script based?

I've been watching tutorials for a good amount of time now, basically just how to create a simple FPS game to get an understanding of the design process in Unity.

The tutorial I watched is very heavily based around the designer, and outside of some simple scripts to handle stuff like raycasting it doesn't involve much coding. My previous experience with game development has been only 2D stuff with XNA, and that was more what I'm used to when it comes to programming, where I'm doing pretty much everything.

I'm having trouble making sense of Unity though...it seems like it's all script/scene based from the programmers side? Like say I wanted to jump from one level to the next, do I just unload one scene and load the next and let the scripts I have for that scene + Unity do its thing?

Sorry if this questions been asked, it's not exactly an easy thing to search for.

• er what exactly do you mean by "script based"? You say it doesn't seem to involve much coding, but scripts ARE code. – jhocking May 24 '17 at 15:22
• @jhocking I guess I meant more in the sense of OOP. I'm using C# but I'm using pretty much no OOP principles, just using it strictly to set what to do based on conditions. – Demarini May 24 '17 at 15:30
• Unity goes out of its way to hide technical complexity because a lot of users are designers and artists, but scripts are pretty much all classes in the OOP sense. That's why you see :MonoBehaviour at the top of most scripts; that's the base class they inherit from. – jhocking May 24 '17 at 15:39
• This also seems like an appropriate time to plug my book, since that is specifically geared at programming in Unity amazon.com/Unity-Action-Multiplatform-Game-Development/dp/… – jhocking May 24 '17 at 15:40
• Note: you can make games in Unity without ever doing any work in the scene view at all. I don't like doing that myself, because it usually ends up in a weird over-engineered manner involving factory-factories, but some people like it. – Draco18s no longer trusts SE May 24 '17 at 18:06

The only exception would be GameObjects that executed this method: DontDestroyOnLoad, those are persistent between Scenes (which is one way to share data between Scenes, like the player's score through the levels).