Quantcast
Channel: Latest Questions by Shiro_Rin
Browsing all 50 articles
Browse latest View live

convert old gui to new

More specifically , a snippet of code I use to show a battery for a flashlight. It works perfectly how it is, however it uses the old GUI system and I want to keep everything updated. It is //Display...

View Article



Android app crash

To be to the point, my app works perfectly fine until the Level1 scene plays. I use a lot of models, but I suspect shaders to be the culprit too. I've recently went through and made everything a...

View Article

Load Level Screen Change Radial Fill

var Level: String; public var LoadCircle : UnityEngine.UI.Image; //Tells Unity that the gameObject is a UI Image public var fillAmount: float; //Fill Amount for UI Image function Start () { var async :...

View Article

Lighting script

I use a script to flicker lights to produce a lighting effect from a thunderstorm. However all my lights flash at different intervals. I tried making it an array of objects and to make them all flash...

View Article

Barrier script and adding points

I've been following a "make your own cod zombies" tutorial but sadly there hasnt been a video in months so I'm adding the other features in myself. My script is using UnityEngine; using...

View Article


My scene messes up changing back to main menu

My menu to level transition is great. However loading back up my main menu leaves me with no animations, and going back to the level renders my player useless. Is there a way to reset all values on...

View Article

Slider.value won't change to INT

void Update () { slider.wholeNumbers = true; } public void Test(){ WeaponsIndex = slider.value; } This is where my problem is residing in my code. I'm getting a Cannot implicitly convert type `float'...

View Article

Instantiate won't spawn at certain rotation

I am using the code public Vector3 SpawnPoint; public Quaternion SpawnRotaion; public GameObject ObjectSpawning; Instantiate(ObjectSpawning, SpawnPoint, SpawnRotaion); Now it works good except the...

View Article


Textures don't align (Using 3DS Max)

I'm sorry to post this here, as this is mainly a 3DS Max problem. But I'm hoping someone here could point me into the right direction as to why this is happening. Essentially, as shown in the picture,...

View Article


3DS Max Seams from Unity Cubes

*In Case someone needs a hands on approach to help https://drive.google.com/file/d/0B7mdQFKzSYjPZkZDY3BlSkJJeXc/view?usp=sharing I asked a question not to long ago about why my textures where messed up...

View Article

Spawning prefab button loses function

I am making a sorta quiz like game. and the way my script is working, is everything is inside one singular manager script. Including the buttons functions on whether it is right or wrong. Well after...

View Article

Add transforms to Transform[] list at runtime

Essentially my game is a game where enemies have spawn points based on a Transform[] list. Well you have multiple paths you can take, so my old way of just replacing the list with every door no longer...

View Article

Realistic FPS Prefab OnTriggerEnter

As I can't find the answer from the creators website or his limited set of videos, I'll ask here if anyone has used it. I'm using this for a game where you can build barriers. Well I have it set where...

View Article


Bloody Mess + RFPSP Head Problems

For anyone who uses these two , I have this rigged with Realistic fps prefab, and every time I shoot he head once, the head will dismember but the character is still alive. I use the character setup...

View Article

Parameter doesnt exist

Parameter 'Crawl' does not exist. UnityEngine.Animator:SetBool(String, Boolean) ![alt text][1] [1]: /storage/temp/54968-capture.png I'm seriously baffled by why this is happening

View Article


Mobile joystick controls ui image transform

I have a mobile joystick and a crosshair that follows my mouse. Well I decided I wanted to move onto mobile controls. I can't manage to get code in that will move the joystick, and the transform of my...

View Article

GetButton will only play animation when held down

How do I play an animation completely with Input.GetButton ? It'll only play the complete animation if the button is held down. if (Input.GetButton ("Attack1")&& grounded==true &&...

View Article


Rigidbody2d addforce isn't moving character

public void Fire(){ IsShot = true; BasePower += MeterPower; Instantiate (Player, CannonEnd.transform.position, CannonEnd.transform.rotation); Player.GetComponent().AddForce (Vector2.right * BasePower);...

View Article

DragRigidBody Dynamic Sound Door

I have it playing a sound no problem. What I want to know is where I should start using the default drag script at adding in dynamic sound. Like if it hits the o rotation in the y axis, it'll play a...

View Article

Separate mesh texture lighting

![alt text][1] [1]: /storage/temp/63078-capture.png I don't know how to fix this without breaking rigging or current uv. I know this isn't exactly a unity problem, but I figured someone here has needed...

View Article
Browsing all 50 articles
Browse latest View live




Latest Images