What Language Does Unity Use? A Beginner’s Guide to C# Scripts
Unity uses C# for ordinary gameplay scripting. You write a class, let Unity compile it and attach the behaviour to an object when the class is a component. A door, camera and collectible can each have a small script with a clear responsibility. You do not need to learn the language used to implement the engine before writing your first game mechanic.
Follow one component from file to scene
Imagine a coin named Star. A C# component attached to Star describes how it reacts when a player enters its trigger. A Collider supplies the trigger geometry, and the relevant physics setup makes the event possible. The C# file in the Project window is an asset; the component attached to the scene object is the running instance. Editing a file without attaching or invoking it will not make anything happen.
A MonoBehaviour can receive lifecycle callbacks such as Start and Update. Use Start for initial setup and Update for work that genuinely belongs on each frame. A score calculation or inventory rule can often live in an ordinary C# class instead. When a component needs a tunable speed or colour, expose an appropriate serialised field and inspect it on the correct object. Two objects using the same class can carry different field values.
Why C++ appears in Unity build discussions
Unity’s IL2CPP backend converts managed assemblies into C++ for a later native compilation step. That describes how certain builds are produced, not what gameplay authors must type. A rendering shader or a native plug-in can use another language for a specialised job. If an old tutorial teaches UnityScript, choose a modern C# example and match it to your editor version before debugging obsolete instructions.
Runtime check — Trigger the event, Observe the resultTrigger the eventObserve the resultRuntime check
Mouse input travelling through a delayed response pipeline to a target
Frame generation can add processing and presentation delay compared with the same rendering setup without it. Latency-reduction features such as NVIDIA Reflex can offset other delays, so the measured result depends on the comparison. A high generated-frame total does not provide the input response of the same number of newly simulated and rendered game frames.
01
Separate what looks smooth from what responds quickly
Visual smoothness describes how frequently and evenly the display updates. Input latency describes how long an action takes to appear. Interpolated frames can make motion look smoother without adding a fresh game simulation and input sample for every displayed frame.
That difference is why a game can report a large FPS total yet feel slower than a native game at the same displayed rate. Neither observation is contradictory. Evaluate the feature according to the activity: a scenic single-player experience and a fast competitive aiming task can place different value on smoothness and response.
Different quantitiesDisplayed smoothness; Simulation updates; Input sampling; End-to-end delay. Four considerations, read left to right and top to bottom.DisplayedsmoothnessSimulationupdatesInputsamplingEnd-to-enddelayDifferent quantities: Displayed smoothness; Simulation updates; Input sampling; End-to-end delay.
02
Understand where latency reduction fits
NVIDIA Reflex reduces system latency by coordinating CPU and GPU work and limiting unnecessary queueing in supported games. It addresses delays in the broader pipeline; it does not transform generated frames into independent input-driven simulation frames.
When comparing results, keep Reflex state consistent where the game permits it. Frame generation plus Reflex may compare favourably with a poorly queued baseline that has Reflex off. That does not prove frame generation itself has negative cost. It shows why the complete settings and pipeline matter when interpreting a before-and-after latency claim.
A weak base frame rate limits how often the game can process and render new information. Generating additional views between those frames can improve presentation, but it cannot fully repair unresponsive simulation or severe stutter. First choose settings that provide acceptable control without interpolation.
Use upscaling or reduce expensive visual settings if that improves base performance. Avoid a universal minimum FPS rule: the acceptable threshold depends on the game and player. The practical test is whether the underlying game already feels responsive enough before you ask frame generation to make the motion smoother.
04
Compare the same scene with controlled settings
Keep resolution, reconstruction mode and other graphics options fixed. Compare frame generation off and on in a repeatable scene, and note any automatically changed latency setting. Use an appropriate latency measurement tool if available, while recognizing that FPS alone is not such a measurement.
For a practical feel test, repeat a familiar aiming or camera movement and watch for changes in response and consistency. Do not compare unrelated scenes or judge entirely from a video recording. A recording can show visual artifacts, but it cannot reproduce the viewer’s own physical input-to-display experience.
Control the comparisonSame base settings; Reflex state; Display and cap; Repeatable movement. Four considerations, read left to right and top to bottom.Same basesettingsReflexstateDisplay andcapRepeatablemovementControl the comparison: Same base settings; Reflex state; Display and cap; Repeatable movement.
05
Check frame caps, display behaviour and artifacts
Refresh limits, synchronization, frame caps and the game’s presentation path can affect the result. Follow the title and driver’s supported configuration rather than copying a single global recipe. Keep the display refresh rate and variable-refresh arrangement documented when comparing.
Inspect fast camera movement, interface elements and object edges. Interpolation artifacts can make motion feel less clean even if measured latency is acceptable. Conversely, a visually stable result can still have an input response you dislike. Treat those as separate observations so you can change the relevant setting rather than chasing one all-purpose fix.
06
Choose according to the activity and your tolerance
For fast competitive play, prioritize a high stable base rendering rate and low latency. For slower or visually demanding games, the extra smoothness may be a worthwhile trade. There is no requirement to keep the feature enabled simply because your hardware supports it.
Save the configuration that feels best under your actual conditions. If a game update changes pacing or model behaviour, repeat the comparison. The useful conclusion is that frame generation has a different relationship to responsiveness than ordinary higher rendered FPS, and its value should be assessed with both motion quality and input delay in view.
07
Frequently asked questions
Can 120 generated FPS feel like 60 rendered FPS?
It can retain response characteristics tied to a much lower base rate, with additional pipeline effects. Displayed FPS alone does not determine input latency.
Does Reflex remove every frame-generation delay?
No. It reduces latency elsewhere in the supported pipeline, but does not make generated frames equivalent to new input-driven game updates.
Should I disable frame generation for competitive games?
Prioritize measured response and a stable base rate. Test the supported configuration; your preferred trade-off can differ from a slower single-player game.
Low resolution image reconstructed into a detailed landscape beside a sequence of generated motion frames
DLSS is a family that includes both upscaling and frame generation, along with other image-processing features. DLSS Super Resolution is the upscaling component. DLSS Frame Generation creates additional displayed frames. They are separate technologies that can be combined in supported games, and a game saying it has DLSS does not necessarily support every member of the family.
01
Start with the family name and the exact feature
The letters DLSS began with an upscaling-related name, but current product usage covers several neural-rendering technologies. A version label can therefore describe a generation of the family without explaining which individual capabilities a game implements.
Read the full graphics-setting name. Super Resolution, Frame Generation and Ray Reconstruction are not alternate spellings for the same effect. When comparing hardware or troubleshooting, record those feature names separately. That prevents an older RTX card supporting upscaling from being incorrectly described as supporting every function announced in a newer DLSS generation.
Different rendering jobsSuper Resolution; Frame Generation; Ray Reconstruction; Native DLAA. Four considerations, read left to right and top to bottom.SuperResolutionFrameGenerationRayReconstructionNativeDLAADifferent rendering jobs: Super Resolution; Frame Generation; Ray Reconstruction; Native DLAA.
Super Resolution uses lower-resolution rendering and additional information to reconstruct a higher-resolution output. Its potential performance benefit comes from reducing some rendering work while paying the cost of reconstruction. Quality modes change the trade-off, and model versions can alter the result.
NVIDIA’s documentation lists this separately from frame generation. You can use supported Super Resolution without generating extra frames. The game still produces one rendered update for each presented reconstruction result, although other timing and display features can also influence what reaches the screen.
Frame generation produces additional output between game-rendered frames. It can make motion appear smoother and raise the displayed FPS total, but those generated frames do not represent the same number of additional simulation updates or independent input samples.
Hardware and integration requirements differ from Super Resolution. Native single-frame DLSS generation and RTX 50 Multi Frame Generation should also be distinguished. The presence of an upscaling selector does not establish that the game includes the required frame-generation path, and a generated-frame total should not be compared blindly with ordinary rendered FPS.
04
DLAA and Ray Reconstruction solve other tasks
DLAA applies the related AI anti-aliasing approach at native resolution instead of using a lower-resolution input for upscaling. Ray Reconstruction addresses ray-tracing denoising and image reconstruction in supported rendering paths. Neither should be described simply as inserting new frames.
Games can expose these controls differently, and dependencies may vary. An option can be unavailable because the relevant ray-tracing path is disabled or because the GPU does not support another required feature. Consult the title’s documentation before assuming a missing control means the driver or entire DLSS installation is broken.
Describe a test clearlyOutput resolution; Upscaling mode; Generated-frame state; Other active features. Four considerations, read left to right and top to bottom.OutputresolutionUpscalingmodeGenerated-framestateOther activefeaturesDescribe a test clearly: Output resolution; Upscaling mode; Generated-frame state; Other active features.
05
Keep newer neural rendering distinct too
DLSS 5 adds 3D-Guided Neural Rendering for lighting and material enhancement in supported games. That is another reason the family name should not be reduced to one function. It does not change the definitions of the older upscaling and frame-generation components.
Check the current hardware matrix and integration for that specific feature. A game with DLSS 4.5 reconstruction does not automatically include DLSS 5 neural rendering. Likewise, an announcement about the latest model should not be presented as a promise that every compatible GPU receives every new capability.
The newer feature is described separately in NVIDIA’s DLSS 5 neural-rendering announcement.
06
Report settings in a way readers can reproduce
A useful configuration states output resolution, Super Resolution mode and model, frame-generation state or multiplier, and any active Ray Reconstruction or neural rendering. Include the GPU and game version when the information concerns compatibility or performance.
That description is more informative than DLSS on. It explains whether the benefit came from less rendering work, more displayed frames or a visual reconstruction change. Once those stages are separated, choosing settings and reading benchmarks becomes easier because the same family name no longer hides several different operations.
07
Frequently asked questions
Can I use DLSS upscaling without frame generation?
Yes, when the game supports that configuration. They are separate features.
Does DLSS always mean AI-generated extra frames?
No. Super Resolution reconstructs an image; it does not itself mean intermediate frames are being inserted.
Why does an RTX card show some DLSS options but not others?
Feature requirements differ by GPU generation, game integration and settings. Check the exact unavailable feature rather than the family label alone.
Three racing frames with a generated intermediate frame highlighted between rendered frames
DLSS Frame Generation can be useful when a game already has acceptable base responsiveness and you want smoother presentation. It is less convincing when used to disguise severe stutter or an unresponsive low base frame rate. Judge it through motion quality, frame pacing and input feel, not only the largest displayed FPS number.
01
Define what good means for your game
A good result should improve the experience you care about. For a visually demanding exploration game, smoother camera motion may be valuable. For fast competitive aiming, low latency and consistent control may matter more than a higher presentation count.
Start with the game’s ordinary rendering performance and your display target. If you already have smooth motion and excellent response, the additional processing may offer little practical benefit. If the display cannot show the extra updates usefully, a larger counter is not itself a reason to enable the feature.
A useful starting pointStable base rate; Acceptable response; Supported integration; Display headroom. Four considerations, read left to right and top to bottom.Stable baserateAcceptableresponseSupportedintegrationDisplayheadroomA useful starting point: Stable base rate; Acceptable response; Supported integration; Display headroom.
02
Check that the native integration is supported
Use a compatible RTX GPU, suitable driver and current game build. Native frame generation requires the appropriate hardware, and Multi Frame Generation has narrower requirements than single-frame generation. Follow the title’s Windows scheduling and other setup instructions where relevant.
NVIDIA’s developer guidance emphasizes integration, input resources, Reflex and validation. That matters because the implementation affects the result. A game with a well-configured native path is a different case from an unofficial replacement or a separate driver interpolation feature, even when all of them increase a displayed frame counter.
Improve base rendering before increasing the multiplier
Choose graphics and reconstruction settings that provide a stable playable base. Frame generation does not eliminate simulation limits, shader-compilation stalls or storage-related interruptions. It may smooth the intervals between frames while the underlying problem remains noticeable.
Avoid assuming a high multiplier can turn any low starting rate into the response of a genuinely high-rendered-FPS game. Test the base with generation off, then enable the supported mode. If control still feels sluggish, reduce the underlying workload or leave the feature off rather than treating visual smoothness as proof of responsiveness.
04
Inspect the situations most likely to reveal weaknesses
Move the camera through detailed scenery and inspect thin geometry, fast-moving objects, particles and transparencies. Check menus, subtitles, aiming elements and transitions. A stationary scenic screenshot is a poor test of a technology whose principal effect occurs between rendered frames.
Look for intermittent visual errors as well as persistent ones. An artifact visible only during a particular animation can still matter if that action happens constantly in your game. Compare normal play at your usual viewing distance rather than judging entirely from a heavily enlarged paused image.
Judge the trade-offMotion smoothness; Visual artifacts; Frame pacing; Input feel. Four considerations, read left to right and top to bottom.MotionsmoothnessVisualartifactsFramepacingInputfeelJudge the trade-off: Motion smoothness; Visual artifacts; Frame pacing; Input feel.
05
Evaluate pacing, latency and display configuration together
Keep the refresh rate, synchronization and frame-cap arrangement documented. Use the game and driver’s supported recommendations rather than stacking unrelated settings from several tutorials. Check whether Reflex changes automatically when frame generation is enabled.
Watch frame-time consistency and test a familiar input action. A higher average FPS can coexist with uneven pacing, and smoother presentation can coexist with slower response. If you use measurement software, confirm what it reports and whether generated frames are counted. Separate these observations so the result explains more than one headline number.
06
Keep it as a per-game preference
Use frame generation when the smoothness gain is noticeable and the visual and response trade-offs are acceptable. Disable it when artifacts distract you or the control feel is worse than the benefit. A slower single-player game and a competitive title can reasonably use different settings.
Revisit the choice after significant patches or model changes, because implementation improvements can alter the result. There is no obligation to enable every supported feature. The best configuration is the one that meets your practical target consistently, with honest reporting of base performance and the additional frames used to improve presentation.
No. The benefit depends on base performance, implementation, display and the kind of interaction you value.
Can it fix severe stuttering?
It does not reliably remove the underlying cause of stalls. Diagnose shader, CPU, storage or other interruptions separately.
Should I always choose the highest multiplier?
No. Compare the actual smoothness, artifacts and response at supported settings. More generated frames do not automatically create a better experience.