Questions tagged as 'unity3d'

0
answers

My script can not reference my class in UNITY5 2D

I have the problem my script SelectScreenBase I can not reference my class PlayerBase I do not know why This the error: Assets / Scripts / MainMenu / SelectScreenManager.cs (112,16): error CS0246: The type or namespace name 'PlayerBase' could...
asked by 15.08.2018 / 19:34
1
answer

I can not access a class in another script in UNITY 2D

Hi, I'm having trouble calling PlayerBase and playerBase in another script This is the error that gives: Assets / Scripts / MainMenu / SelectScreenManager.cs (112,16): error CS0246: The type or namespace name 'PlayerBase' could not be found....
asked by 15.08.2018 / 00:58
0
answers

Unity SDK Facebook

I'm trying to integrate my game into Facebook, but in the key picking part it does not generate a 28-character key but a 4. Does anyone know how to solve it? My game is already published but this is a new version that I am developing so I alread...
asked by 05.08.2018 / 20:46
0
answers

How to share the image of the game icon with the PlayStore link?

I have researched a lot about it and the only thing I find is tutorials on how to share the screenshot with some text. However, instead of sharing the screenshot I would like to share the image of the icon of my game. I found this site the cod...
asked by 03.08.2018 / 20:13
0
answers

How do I verify that the user has completed the video in AdMob for Unity?

Code: using UnityEngine; using System.Collections; using System.Collections.Generic; using GoogleMobileAds.Api; using UnityEngine.UI; public class AdmobScript : MonoBehaviour { int CoinOld; public Text coins;...
asked by 25.07.2018 / 15:35
0
answers

Add components when installing Unity

I searched through countless old pages as well as the internet and found no solution. When you upgraded Unity 2018.2, a few basic components to install were on the screen. I ended up adding Facebook Gameroon. If I want to add other compone...
asked by 12.07.2018 / 19:42
1
answer

How to put Character Limit in Text (script)

I would like to limit the text that appears to the user ... I use the InputField for the user to write the text, and I make the final text receive InputField text ... (wanted to add ellipses (...) at the end of the text also, indicating conti...
asked by 11.07.2018 / 23:29
0
answers

How to change the color of a part of the text of an InputField via code in UnityEngine.UI?

I would like to change the color of certain words in a text from an InputField via code. Something similar to programming tools, such as Visual Studio, in which certain words are highlighted with different colors. Here is an illustration:...
asked by 27.06.2018 / 05:16
0
answers

How do I assign one gameObject to another?

I have a question about the C # language using Unity I was wondering how can I get a gameObject and assign to another gameObject . I created a array with 4 gameObjects with images and wanted to assign those gameO...
asked by 20.05.2018 / 04:49
0
answers

Relate facebook account to an existing application

Good morning, I own an android app and recently decided to start your marketing campaign. But one of the first steps is to relate my facebook account to the app and I'm having problems with it. Initially it appears my application correctly...
asked by 11.05.2018 / 21:36