The initialization tag has no usage guidance.
1
vote
1answer
42 views
Why does AudioSource not initializes itself?
Why does AudioSource not initializes itself?
Here is my code:
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraConfig : ...
0
votes
1answer
16 views
UNITY 5 OSX: FPS controller initialising at bizarre location
I am a n00b building my first mini-world with Unity. I have got the hang of basic construction, terrain modification, applying materials, placing trees, etc. I have created a water plane, positioned ...
0
votes
1answer
63 views
Code vs. Configuration in Unity [closed]
I know a thing or two about Unity at this point, but I've still lots of subjective, best practice questions, Such as:
How do you decide what values are obtained via Start/Awake initialization, and ...
3
votes
2answers
499 views
Is it a terrible practice to NOT initialize an object in its constructor?
I'm currently working on my own game engine, more precisely on the resources management part.
For now, most of my assets inherits of the following - simplified - class:
class Asset
{
public:
...
0
votes
1answer
109 views
Error when initializing Stage
I made a new class that implements Screen, what I've seen from other people's code is that they create a constructor that takes a parameter of Game game. I did not created a constructor, I think that'...
0
votes
1answer
600 views
Automatically select back buffer format
In D3D9, you could set BackBufferFormat to D3DFMT_UNKNOWN in the presentation parameters and D3D would select the format for you.
However, in D3D10, if I set the swap chain descriptor's BufferDesc....
1
vote
2answers
147 views
Different ways to load/select characters in a RPG game [closed]
I am brand new here, and have been designing a two player card game where from tens of thousands of cards each player selects up to 80 cards DECK, and then fights with those cards.
For reference Yu ...
2
votes
2answers
654 views
How to fill/initialize D3D11_SAMPLER_DESC properly?
If I want to set explicitly every parameter of the structure I just do so and that's it. But what if I want to set only some of them and leave the rest with default values? I've seen in some tutorial ...