Quantcast
Channel: Latest Questions by Daniel Girgis
Browsing latest articles
Browse All 22 View Live

simple Shooting in C# script please

i can find them in java script everywhere but i cant seem to change it around into C# script can someone just send me a simple code i know how to add prefabs and spawn points for bullets ect thankyou!

View Article



Scoping script /Camera zoom preferably C#

does anyone have a script for somthing like using the scope on a sniper do i just need to do somthing like have a 2nd camera futher forward from my gun and when u press fire2/ right click it switchs...

View Article

flashlight on/off

how do i turn on and off a pointlight i made the torch and everything and i cant figure out how to access this thankyou btw i prefer C# but dont mind if u cant

View Article

Heres a Script for SloMo hold left shift

using UnityEngine; using System.Collections;public class ShiftForSloMo : MonoBehaviour {public int SetSlomoSpeed = 0; // Use this for initialization void Start () { } // Update is called once per frame...

View Article

GUI texture ? help please

i got a script to zoom the camera and i have a crosshair texture but i am having trouble getting the texture to go full screen on mouse click down heres the script its C#using UnityEngine; using...

View Article


Converting button to mouse click

can someone please help me change this to a left click on the mouse button. Thankyouif(Input.GetButtonDown("Jump"))

View Article

water mark texture

whats better then a watermark so i cant see it in my scene view and i have a script i wrote for slo motion and id like to make it so can limits its use time and have a bar that goes down withit and...

View Article

Spawning Objects

i need to spawn a barrier infront of my character i think i need to instantate it but im not sure, i work in C# btw but javascript would be fine

View Article


delay first spawn

When I play the enemys spawn instantly from each spawnpoint then go to there normal delay time and i need a way to get rid of the first enemy spawned maybe a delay or a way to delete it. Thankyouvar...

View Article


Vertical & horizontal movement world axis (top view)

Does anyone know how to script horizontal and vertical movement only in the world axis so my player can turn freely and their local direction doesnt effect the way forward left right is, my game is top...

View Article

camera move x axis

i have a top view game and i need the camera to follow the player with rotation in the x- axis so it only goes left and right to look at the player at the current time it will turn itself so the bottom...

View Article
Browsing latest articles
Browse All 22 View Live




Latest Images