Quantcast
Channel: Unity Forum
Viewing all 1461586 articles
Browse latest View live

Need some clarification about referencing classes and their content

$
0
0
So I was yesterday investing trough the ScriptableObject stuff and their benefit on memory allocation and had a doubt about a pooling system I made.

Here is how I have things setted up, I have a class that only contains general information including an array of rects that are used for an uv animation system. What I do is to create those classes once at runtime if they are needed in the scene ordering them in a dictionary, then the components that needs those classes will search trough the...

Need some clarification about referencing classes and their content

Next Mmorpg: experimental project

$
0
0
Hello guys,
i'm Adre from LevenLab, a small creative agency in Rome.

I decided to start my biggest adventure: i started working on a concept i have since 6 years.
Being an hardcore gamer, i quitted playing online for the lack of decent mmorpgs to play, as i am totally unsatisfied with what the market offers, so i decided to write a "diary" with what i would actually wish a mmo has to be perfect, for me at least.

Now i am starting the developement of that mmorpg, having now more than 7 years...

Next Mmorpg: experimental project

[RELEASED] Game Camera: AAA camera solution

$
0
0
Hello everyone,

I would like to announce a new Unity package Game Camera: AAA camera solution.

[​IMG]

Game Camera is a AAA camera solution for your game. This package contains 3rd person camera, RPG camera, RTS camera and more in professional quality you can see in today's AAA games. It comes with advanced configuration system, collision system for smoothest game experience...

[RELEASED] Game Camera: AAA camera solution

Diablo meets Minecraft (Obsidium)

Scaling sprite with BoxCollider2D attached

$
0
0
Hello.

I'm having an issue when trying to scale a sprite that has a BoxCollider2D attached.
I have tried both adding the collider directly to the sprite, and I have also tried creating a prefab and adding the collider to that instead.
The issue is that when I scale the sprite (Press 'r' in the scene view when it is selected and then scale up or down), it appears that the sprite scaled properly and the box collider also appears to scale with it.
However, when I press Play and the game...

Scaling sprite with BoxCollider2D attached

MVVM and DataBinding in Unity

$
0
0
Hi folks.

I'm currently setting up a MVVM system by myself, but I'm rather unsure if I'm on the right track, so I post here some code just to hear if you guys could tell me if it's the right direction or what I can do better.

Mostly the DataBinding part is something I think I haven't got into yet so here's what I have till now:

ViewModel class
Code (csharp):
  1.  
  2. public class ViewModel : MonoBehaviour
  3. {
  4.     #region Data
  5.     private DataObj _data;
  6.     internal DataObj Data
  7.     {
  8.         get { return...
MVVM and DataBinding in Unity

Script Generated map, with navmesh?

$
0
0
hello everyone.

Im my game, the player can place "rooms / platforms / bridges and walls", in a predefined area..
That means the "walkable area" is only known once the scripts are done building the map from file / DB.

So i wanna use my map generation tool, to create the map, and dynamically apply a navmesh to the scene.
Note that the built in NavMeshAgent should be able to use this to navigate around.

So lets say each platform is the same height and have randomly placed squares (buildings...

Script Generated map, with navmesh?

The Great Engine War 2014: Unity vs. Unreal vs. RPG Maker 2k3 vs GameSalad vs. [ETC]

$
0
0
This thread exists so that you can flesh out one key assertion we all keep seeing, whether we give a rat's rear or not:

[​IMG]

What is your favorite game engine?

Why is it better than everyone else's?*

Most importantly (given this is a Unity forum):

What can Unity do to approach the monolithic awesomeness of your chosen game engine?

Discuss!

*: Anyone who answers "my game engine is bigger!" will be...

The Great Engine War 2014: Unity vs. Unreal vs. RPG Maker 2k3 vs GameSalad vs. [ETC]

Android Simple Share Plugin

$
0
0
Hi Guys,I made a share plug-ins for android app

you can use it share something in you app

View attachment 81843


The plugin here
View attachment 81844

Only need to drag the share prefab in you scene:)

and Press the menu button calls

English is not good, I hope you can understand

Jove 2.0 - Replacing the rendering pipeline

$
0
0

For the past seven months I've been working on support for deferred rendering in Jove. Early on in the process I came to the conclusion that simply extending Jove to support Unitys deferred rendering would not suffice. It required too many workarounds and was generally a sub-optimal way of doing what I wanted to do. And since I've been wanting to do my own shadow maps, SSAO and a few other things anyway... I figured why not write my own deferred...

Jove 2.0 - Replacing the rendering pipeline

Z of camera depend on screen height

$
0
0
I have a gameobject.
What I want is that the size of this gameobject is always the same with respect to the screen height of the device where it's displayed. So with a device with a large screenheight, the gameobject is more zoomed in than a device with a small screenheight.

What I have now is this but it's not working good:

Code (JavaScript):
  1. public var Zcamera: Camera;
  2. public var rad: float;
  3. public var deg: float = 30.0;
  4. function Start()
  5. {
  6.    rad = deg * Mathf.PI / 180;...
Z of camera depend on screen height

Game build blocked after Unity Pro expired

$
0
0
Hello there guys,
I've been working on a game that used Mike Heavers' OSC send/receive scripts last month with the Demo Unity Pro licence.

Its a multiplayer game in which both computers and phones can join, although with different roles.
The computer uses the OSC the phone does not.

So after my demo pro account expired I cannot seem to be able to build for iOS because of NET.socket licence limitations, although the phone cannot take part in the game using any of the OSC things.

does...

Game build blocked after Unity Pro expired

Ultimate Fracturing Destruction editor extension for Unity 3D

$
0
0
Hello guys!

We are pleased to announce the release of our new Unity3D editor extension.
The Ultimate Fracturing Destruction Tool is a Unity 3D editor extension that allows you to fracture, slice and explode meshes. It also allows to visually edit behaviors for all in-game destruction events like collisions, making it possible to trigger sounds and particles when collisions occur without the need to script anything.

The Ultimate Fracturing Destruction's main features are:

  • Includes...

Ultimate Fracturing Destruction editor extension for Unity 3D

Advanced foliage shader [released]

$
0
0

Version 3.02 is available!

[​IMG]

Version 3.02 is now available – including physically based shading, physically based wetness, image based ambient lighting, advanced multi touch bending, ground lighting and enhanced billboarding for terrain trees


The advanced foliage shaders gives you the possibility to use all modern features of vegetation shading on imported, handmade...

Advanced foliage shader [released]

How to Setting Image depth?

$
0
0
The depth of the multiple images ,Add the order ?
How to set up more than the depth of the image?

Can't figure out a very basic layout... (container scales to fit children, text pinned to top-left)

$
0
0
Hi,

I'm messing around and trying to pin some dynamically changing text to the top-left of the screen. I'd like to also include a background image behind the text that scales to fit.

Something like this....

View attachment 110427

I figure out how to make the text element stretch to fit its content with the Content Size Fitter (set to PreferredSize on both axes). Next I added an Image and made the Text a child of that. Finally I added a Content Size Fitter to the Image, thinking I was...

Can't figure out a very basic layout... (container scales to fit children, text pinned to top-left)

ContentSizeFitter - Get Dimensions In Script

$
0
0
I am using a ContentSizeFitter on a Text object, but the sizeDelta property of the RectTransform is not being updated by the ContentSizeFitter so I can't read the dynamic height. How can I determine the current dimensions of the RectTransform at runtime of a UI element being adjusted by ContentSizeFitter?

Distance between Camera to game object.

$
0
0
Hello ,
I am vey new to the GLSL shaders. One od project needs to pass the distance value from camera to Game object . Can some one please help me, how to define the distance in GLSL shader.

thanks.

Jewel Match Framework

$
0
0
Hi,

I'm an independent developer just starting out fresh. Hope to get support from elites and veterans here.

I'm here to post about my new and upcoming (as soon as the asset store approves it) project. It is a match 3 game with features similar to bejeweled and candy crush.

Hopefully this will be the discussion / bug report section for my project.

=================================================================

Known Bugs :-

[Occurrence : Subjective to trigger]
1. All gems...

Jewel Match Framework

Infinite Runner Starter Pack

Viewing all 1461586 articles
Browse latest View live




Latest Images