Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Unity is a cross-platform game creation system that focuses on easy art pipeline process. It consists of a game engine and an integrated development environment. The game engine's scripting is built on Mono.
3
votes
0
answers
975
views
IronPython with Python in Unity: How should I manage dependencies Python-side?
I am currently trying to get Python working in Unity, and I was wondering how would I manage dependencies on the Python end. … For example, say I have a Python script with the following dependencies:
import tensorflow as tf
import numpy as np
import cv2
I would like to get these working in IronPython in Unity. …
2
votes
Accepted
Loading a web page in unity
If it's user data, there are more elegant ways of solving this particular problem, i.e. https://gamedevelopment.tutsplus.com/tutorials/how-to-save-and-load-your-players-progress-in-unity--cms-20934
If …
0
votes
0
answers
122
views
Making neural nets more efficient in Unity
I am trying to embed an object detection neural net in Unity, and I have done so using TensorFlowSharp, but I can't figure out how to cut down lag. It's currently managing around 1FPS. … How do I speed up neural nets in Unity. It doesn't have to be loads, just around 30FPS.
Has anyone had any experience using neural nets in Unity, and how did you make it work well? …
0
votes
1
answer
717
views
C++ in Unity with dependencies
I am currently creating a c++ program to eventually use in Unity. … My question is:
How do you compile your c++ project so that it runs in Unity completely self-contained? …
0
votes
0
answers
121
views
Getting a multi-dimensional array of bytes from a Texture2D in unity
I am currently testing a neural net in Unity, which takes in a very specific configuration of inputs. The input the net takes is (ImageHeight, ImageWidth, 3) in bytes. … Here was what I tried in Unity:
Texture2D Image = currenttexture;
byte[] colors = Image.GetRawTextureData();
byte[,,,] floatarray = new byte[ Image.height, Image.width, 3]; …
2
votes
1
answer
798
views
Using DLL's for a cross-platform Unity Game
In my current project, I have quite a lot of dll's that I made myself for use in Unity. … If I were to develop for Android, would these dll's still function or is there another library format that Unity prefers to use? …
1
vote
1
answer
3k
views
Using CNN's in Unity via Tensorflow and TensorFlowSharp
I have a project that tracks hands made in python, shown here: https://github.com/timctho/convolutional-pose-machines-tensorflow
I want to effectively import this into Unity. … If anyone has worked with ML-Agents or TensorflowSharp in Unity and/or would be willing to have a look, this would be great. …
1
vote
Making read from and write to databases
this extension for Chrome: https://chrome.google.com/webstore/detail/convert-google-sheets-to/dhddhidmheohikpdhlhoefjkihdhngdh
You could make both into SQLite databases and then reference them from Unity …
1
vote
Accepted
Using CNN's in Unity via Tensorflow and TensorFlowSharp
Best way to do this is to create a frozen graph (with the extension .pb) and use TensorFlowSharp so this no interaction with any Python. For example, my code looks like this:
TFGraph graph = …
2
votes
How to do "realistic" plastic material?
Use a standard shader for simple materials. If you are looking how to modify the standard shader to achieve a plastic-y effect, consult the documentation on material effects.
On the site it says that …
0
votes
Display image a couple seconds after an enemy spawns?
I don't know how you want to display the image, but for this example I will use the Unity UI Image. …
2
votes
1
answer
2k
views
Nuget in Unity with Mac OS
I have moved over to Mac for Unity development, and am aware you can still use Windows .dll files in your project. … Using Visual Studio for Mac that has a NuGet interface built in with Unity
Has anyone done this, or found a solution for getting package from NuGet in Unity for Mac? …
1
vote
Unity - DontDestroyOnLoad - FindObjectsOfType(GetType()).Length is always returning 1
Try this. It compares time alive on different instances of the class, ensuring that your first instance will be the one that survives.
public class ExampleClass : MonoBehaviour {
float time = 0; …