Quantcast
Channel: Latest Questions by Kaputnik88
Browsing all 21 articles
Browse latest View live

Updating Terrain Collider through script

Ello there, So I'm creating terrains through a script, using CreateTerrainGameObject to instantiate a 3x3 grid and then updating the terraindata and position of the grid as the player moves. This is...

View Article



How to create an instance of a class stored in another script

Hey there, What I want to do is store class definitions in a script attached to gameobjectA, then at runtime instantiate these classes from a script attached to gameobjectB. How would I go about this?...

View Article

Accessing properties/functions of different class instances in the same list

Hey there, So I'm working on a project where I have a list storing instances of different classes. I want to be able to access these class instances and alter them while iterating through the list. The...

View Article

Drawing to and refreshing texture during update

Hey there peeps, What I'm trying to achieve is to draw an icon on a texture according to a raycast from the player camera and refresh the texture every update(to prevent the icon smearing). I've tried...

View Article

Particles from script do not display in scene view

Hi guys, In my game I have a particle system gameobject which I am then populating via a script at runtime. The problem I have is that the the particles do not display in the scene view at runtime...

View Article


Unity 5 Garbage Collection Spikes

Hi all, Just today my game has started to suffer from a garbage collection problem. Now I have heard of course that large scale creation and/or destruction of gameobjects and arrays and such is the...

View Article

Vertex Billboard Shader Depth?

Hi there, So I'm currently testing out an RTS idea and have been looking for efficient ways of displaying large numbers of models in a scene. Much experimentation has ended up with me doing this:...

View Article

Updating Terrain Collider through script

Ello there, So I'm creating terrains through a script, using CreateTerrainGameObject to instantiate a 3x3 grid and then updating the terraindata and position of the grid as the player moves. This is...

View Article


How to create an instance of a class stored in another script

Hey there, What I want to do is store class definitions in a script attached to gameobjectA, then at runtime instantiate these classes from a script attached to gameobjectB. How would I go about this?...

View Article


Accessing properties/functions of different class instances in the same list

Hey there, So I'm working on a project where I have a list storing instances of different classes. I want to be able to access these class instances and alter them while iterating through the list. The...

View Article

Drawing to and refreshing texture during update

Hey there peeps, What I'm trying to achieve is to draw an icon on a texture according to a raycast from the player camera and refresh the texture every update(to prevent the icon smearing). I've tried...

View Article

Particles from script do not display in scene view

Hi guys, In my game I have a particle system gameobject which I am then populating via a script at runtime. The problem I have is that the the particles do not display in the scene view at runtime...

View Article

Unity 5 Garbage Collection Spikes

Hi all, Just today my game has started to suffer from a garbage collection problem. Now I have heard of course that large scale creation and/or destruction of gameobjects and arrays and such is the...

View Article


Vertex Billboard Shader Depth?

Hi there, So I'm currently testing out an RTS idea and have been looking for efficient ways of displaying large numbers of models in a scene. Much experimentation has ended up with me doing this:...

View Article

Updating Terrain Collider through script

Ello there, So I'm creating terrains through a script, using CreateTerrainGameObject to instantiate a 3x3 grid and then updating the terraindata and position of the grid as the player moves. This is...

View Article


How to create an instance of a class stored in another script

Hey there, What I want to do is store class definitions in a script attached to gameobjectA, then at runtime instantiate these classes from a script attached to gameobjectB. How would I go about this?...

View Article

Accessing properties/functions of different class instances in the same list

Hey there, So I'm working on a project where I have a list storing instances of different classes. I want to be able to access these class instances and alter them while iterating through the list. The...

View Article


Drawing to and refreshing texture during update

Hey there peeps, What I'm trying to achieve is to draw an icon on a texture according to a raycast from the player camera and refresh the texture every update(to prevent the icon smearing). I've tried...

View Article

Particles from script do not display in scene view

Hi guys, In my game I have a particle system gameobject which I am then populating via a script at runtime. The problem I have is that the the particles do not display in the scene view at runtime...

View Article

Unity 5 Garbage Collection Spikes

Hi all, Just today my game has started to suffer from a garbage collection problem. Now I have heard of course that large scale creation and/or destruction of gameobjects and arrays and such is the...

View Article
Browsing all 21 articles
Browse latest View live


Latest Images