Jump to content
This site uses cookies! Learn More

This site uses cookies!

armedunity.com uses cookies to improve user experience.

By continuing to use this site, you agree to allow us to store cookies on your computer.

Leaderboard


Popular Content

Showing content with the highest reputation on 10/26/2017 in all areas

  1. 1 point
    Listen to this one. It's a game. Of course! You might say, BUT not just any game... This is a game about war. War? Yes war. War what? World war! No, wait. Craft war... That won't work either... P... No! Don't you think about going there, you might get banned, there's already a game about that so... How about we combine two completely different genres and... Wait! A chair game. A chair game? That doesn't sound very interesting... BUT you are on the chair! Wh... Ch... Ch... Charcoal game! What do you mean charcoal game... A first person shooter but... You throw charcoal at each other! Wait! This could be a weapon idea. The charcoal shooter, it'll have a mini furnace on the gun and you'll reload it by dumping a bag of charcoal in the furnace! Wh... Where are you getting all of these dumb ideas from... I might be crazy but it's beneficial at times... Kinda. Oh no... I just realized I can't delete posts...
  2. 1 point
    Maybe this will help, This is what I use for mine, Be sure to name the script "HUDMovement" in C#. //Embers Studio using System.Collections; using System.Collections.Generic; using UnityEngine; public class HUDMovement : MonoBehaviour { public float HUDTiltAngle = 0.005f; public float HUDSmoothComplexity = 1f; void Update() { float tiltX = Input.GetAxis("Mouse X") * HUDTiltAngle; float tiltY = Input.GetAxis("Mouse Y") * HUDTiltAngle; Quaternion target = Quaternion.Euler(tiltY, tiltX, 0); transform.localRotation = Quaternion.Slerp(transform.localRotation, target, Time.deltaTime * HUDSmoothComplexity); } }
  3. 1 point
    Hey, This is a small script i made that is used to display a device's (PC, Tablet, Phone) details. I made this for a benchmark I'm working on. This is adjustable and very simple, thought someone might find it useful in their own work. using UnityEngine.UI; using System.Collections; using System.Collections.Generic; using UnityEngine; public class Device_Details : MonoBehaviour { public Text Device_Model_Text; public Text Graphics_Device_Text; public Text Graphics_Memmory_Size_Text; public Text Processor_Type_Text; public Text System_Memmory_Size_Text; public string Device_Model; public string Graphics_Device; public float Graphics_Memmory_Size; public string Processor_Type; public float Processor_Count; public float System_Memmory_Size; void Update () { Device_Model = SystemInfo.deviceModel; Graphics_Device = SystemInfo.graphicsDeviceName; Graphics_Memmory_Size = SystemInfo.graphicsMemorySize; Processor_Type = SystemInfo.processorType; Processor_Count = SystemInfo.processorCount; System_Memmory_Size = SystemInfo.systemMemorySize; Device_Model_Text.text = Device_Model; Processor_Type_Text.text = Processor_Type + " X " + Processor_Count; Graphics_Device_Text.text = Graphics_Device; Graphics_Memmory_Size_Text.text = "Graphics Memmory Size" + " " + Graphics_Memmory_Size + "MB"; System_Memmory_Size_Text.text = "System Memmory Size" + " " + System_Memmory_Size + "MB"; } }
×