Unity Tips – Seite 2 – Binary Impact GmbH Zum Inhalt springen
Binary Impact GmbH Logo Binary Impact GmbH Logo Binary Impact GmbH Logo
  • Home
  • Unternehmen
  • Unity Tips
  • Impressum/Datenschutz
  • ▲
×

Filter by Category

All - No Filter Animation Audio Coding Editor HDRP Performance Physics Scriptable Objects Shadergraph UI VFX Graph
Open Filters

All of our Unity Tips

Follow us on Twitter to never miss a Unity Tip in the future

« 1 2 3 4 … 20 »

#UnityTips This is one pattern to distribute workload of multiple instances calling an expensive function.

Call a coroutine with a random delay offset and then start an InvokeRepeating with your expensive method.#coding #gamedev #indiedev pic.twitter.com/FZalVqPNOG

— Binary Impact (@BinaryImpactG) December 1, 2020

#UnityTips When you load scenes additive onto your control scene do not forget to set the new scene active.

Otherwise your scene lighting settings wont be applied properly.#gamedev #indiedev pic.twitter.com/YVvzIIgOdj

— Binary Impact (@BinaryImpactG) November 24, 2020

#UnityTips A way to reliably compare two GameObjects.

Use Object.RefrenceEquals(obj1, obj2)

Like this 👇

Also you can use to check if a GameObject is null by changing second GameObject to null.#gamedev #indiedev pic.twitter.com/MvfPqSZzFq

— Binary Impact (@BinaryImpactG) November 17, 2020

#UnityTips If you use the pattern [SerializeField] private int _myVar; and stumble upon the warning 0649 here are three ways to deal with it 👇#gamedev #indiedev pic.twitter.com/NIOGKfTLIw

— Binary Impact (@BinaryImpactG) November 10, 2020

#UnityTips
If you need screenshots in 4k from your project, try the Unity Recorder Package!

Add „Image Sequence“ as the recorder & set the mode to „Manual“

Attention: With this setup an image is stored for each frame, good for running ParticleSystems#gamedev #indiedev pic.twitter.com/8LJwFeBeY3

— Binary Impact (@BinaryImpactG) November 3, 2020

#UnityTips Of course it is very good to know how to get from degree to radians ( rad = deg * PI / 180 )

But you could also use one of the constants from the Mathf library ( Mathf.Deg2Rad )#gamedev #indiedev pic.twitter.com/27zdWocZVH

— Binary Impact (@BinaryImpactG) October 27, 2020

« 1 2 3 4 … 20 »
Unity TipsSebastian Pohl2021-01-07T10:35:00+01:00
© Copyright    |  Binary Impact GmbH
YouTubeFacebookTwitterGame VerbandGame Verband
Nach oben