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 since 07/19/2018 in all areas

  1. 11 points

    Version 1.6

    3,844 downloads

    Requires unity 5.6.3 or higher. In unity 5 you will have to rebuild the lighting data. In unity 2018.3 you will get MinAttribute error. To fix this error, open MinDrawer script and add following line at the top: using MinAttribute = UnityEngine.PostProcessing.MinAttribute; Also you will have to rebuild the lighting data. *************************** VIDEO TUTORIALS * How to open project: * How to add animated weapon: * How to add weapon by replacing model
  2. 6 points
    I know I know, tons of minecraft like stuff out there but I started working on something for my 5 year old last friday. He's still loves minecraft and I couldn't find anything worth a crap that was minecraft related and vr for ios so decided to make it myself. Like I said, I only just started it a little over a week ago but a big chunk of it is already done outside of some minor glitches (like tree leaves not going where theyre supposed to go if it's on the side of another chunk). Alot of stuff has not been added like water physics (outside of drag when walking in it), no ai yet, haven't tuned in some of the algorithms for block generation, no menu or large inventory or anything yet. It does run very quickly tho so don't be afraid to use max settings, even if you are on a less than average pc But if you would like to try it in it's current state, I'll post a link below. Once it's close to being finished and before I add vr I will post the source here in the forum. (right click) to remove a block. (left click) to place a block. (q) and (e) cycles which block your holding. Mouse is currently not locked for testing reasons so watch where you click and there is no boundary barriers in place yet HERE IS THE LINK TO THE BUILD
  3. 6 points
    I've just stumbled upon this asset while I was on reddit. Not my creation, just sharing it because it looks really cool. More info at: https://github.com/huwb/crest-oceanrender
  4. 5 points
    STR!PES is my entry for the 44th LudumDare. This is a procedural game. In my project there is only code - some procedural generation for shapes and stripes - no sprite, no prefab, no physics, no implicite value (excepted a radius PI). I optimized each part of code so as to reach the lowest execution using a simple (but efficient) pooling system and an improved implementation of coroutine. Also I use a leaderboard on-line so as to save best scores. Take a look at the video below. STR!PES is available for free on Itch.io ++
  5. 5 points
    Both shaders made by: u/AdultLink Vertical Dissolve: https://github.com/AdultLink/VerticalDissolve Spherical Dissolve: https://github.com/AdultLink/SphereDissolve
  6. 5 points
    This is literally Ant World all over again.
  7. 5 points
    Another asset I found on reddit. I can see it being useful for a lot of projects so I thought I share it. https://github.com/AdultLink/RadialProgressBar
  8. 5 points
    Hey, iwanted to share something with you that you might find useful. Im working on a Terrain Generator for my game and had some problems due to a lack of documentation of the TerrainData methods so i decided to share a working WIP version of my Terrain Generator. Note that the scripts are early wip and do contain some bugs and has some poor coding style at some points. But i think they are a good reference if you want to build a Terrain Generator yourself or even build further on this one. First of all here is a small preview: So here is the Script for the Texture Data: Here is the main Terrain Generator Logic: Note: you can see its still wip and includes empty methods but i left everything as it is if you want to expand it. And finally here is the Custom Inspector for the Terrain Generator: I hope you like this one since it took me longer that expected to create Also please share any improvements that would be great (Y) Thanks for the read and let me know if there are any major flaws/bugs as well if there are any questions -> feel free to ask
  9. 5 points
    Decided to do something a little different and make an example "Welcome Window" that creates and displays a form welcoming the player. This example requires you to use .Net 2.0 instead of the subset by going to edit>Project Settings>Api Compatibility Level. It also requires System.Drawing.dll and System.Windows.Forms.dll placed in a folder named "Plugins". You can find and copy them from C:/Program Files/Unity/Editor/Data/Mono/lib/mono/2.0. All textures must also a compression to none and read/write enabled. Here is the example: using System.Windows.Forms; using System.Drawing; using System.Collections; using System.Collections.Generic; using UnityEngine; public class WelcomeWindow : MonoBehaviour { public string gameName; public string version; public string gameInfo; public string supportPage = "http://www.armedunity.com"; public Texture2D gameImage; public Texture2D[] screenShots; public Vector2 windowSize = new Vector2(1100, 530); public int splitterPosition = 360; private Form f; private SplitContainer s; public void Start() { Show(); } public void Show() { if (f == null) GenerateForm(); f.ShowDialog(); f.BringToFront(); f.Focus(); } public void Hide() { if (f == null) return; f.Hide(); } public void Dispose() { if (f == null) return; f.Close(); } private void GenerateForm() { PrepareForm(); PreparePanel1(); PreparePanel2(); } private void PrepareForm() { f = new Form(); f.FormBorderStyle = FormBorderStyle.FixedDialog; f.Size = new Size((int)windowSize.x, (int)windowSize.y); f.Text = "Thanks for downloading " + gameName + " " + version + "!"; s = new SplitContainer(); s.Dock = DockStyle.Fill; s.BorderStyle = BorderStyle.Fixed3D; f.Controls.Add(s); } private void PreparePanel1() { s.SplitterDistance = splitterPosition; s.IsSplitterFixed = true; PictureBox p = new PictureBox(); p.Image = ImageFromTexture(gameImage); p.SizeMode = PictureBoxSizeMode.Zoom; p.Location = new Point(0, 0); p.Size = new Size(splitterPosition, splitterPosition); s.Panel1.Controls.Add(p); Label l = new Label(); l.Text = gameInfo; l.Location = new Point(0, splitterPosition); l.AutoSize = false; l.Size = new Size(splitterPosition, (s.Size.Height - splitterPosition) - 45); l.Font = new System.Drawing.Font(FontFamily.GenericSerif, 16); s.Panel1.Controls.Add(l); Button b = new Button(); b.Height = 40; b.Text = "Support Page"; b.Font = l.Font; b.Click += new System.EventHandler(Support); b.Dock = DockStyle.Bottom; s.Panel1.Controls.Add(b); } private void PreparePanel2() { TableLayoutPanel t = new TableLayoutPanel(); t.AutoSize = true; t.CellBorderStyle = TableLayoutPanelCellBorderStyle.Inset; t.ColumnCount = 2; t.RowCount = 2; s.Panel2.Controls.Add(t); t.Dock = DockStyle.Fill; for(int x = 0; x < 2; x++) { for(int y = 0; y < 2; y++) { int i = x * 2 + y; if (i >= screenShots.Length) return; if (screenShots[i] == null) continue; PictureBox b = new PictureBox(); b.Image = ImageFromTexture(screenShots[i]); b.Dock = DockStyle.Fill; b.SizeMode = PictureBoxSizeMode.StretchImage; t.RowStyles.Add(new RowStyle(SizeType.Percent, 50F)); t.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F)); t.Controls.Add(b, x, y); } } } private Image ImageFromTexture(Texture2D t) { if (t == null) return null; byte[] byteArray = t.EncodeToPNG(); using (var ms = new System.IO.MemoryStream(byteArray)) { return Image.FromStream(ms); } } private void Support(object sender, System.EventArgs e) { UnityEngine.Application.OpenURL(supportPage); } }
  10. 5 points
    Accidentally came across one video on YouTube. Turned out that author made this project open source (example FPS shooter game using Forge Remastered). I think this project will be useful to someone who is new to networking and/or Forge. Features! A fully working FPS shooter with a simple map and a main menu Fully commented source code! A networked weapon system with several weapons and easy flexibilty Separated world & view model system Player customization with player name and player skin, saved locally and fully networked! Animated & networked characters! Player health, respawn, spawnpoints HUD & UI Ragdolls A few more things MIT license! Engine: Unity 2018.1.3f1 Networking Solution: Forge 24.2 You can find more info + download project from here: https://github.com/NFMynster/ArenaGame
  11. 4 points
    Hello! I'm glad to present you my latest work! It's a dynamic 2d field of view. You can edit it's quality, angle and length. Everything works smoothly and nicely. Objects that are not visible disappear. Here you have example images: And also example of usage: License: - You can use it for commercial and non commercial projects - You don't need to credit me (but it's still nice to see!) - You can't share it on other websites - You can't call this asset as your own! Dynamic 2D FOV.unitypackage
  12. 4 points
    Bullshit! Respectfully I understand what meant your cousin, but honestly I have a doubt about his skill regarding this question. I could argue a few hours with you, but I prefer only quote some games which are good - and bankable - if you think that you need money developing your own projects : SuperHot, FireWatch, LayersOfFear, CupHead, TheRoom, MonumentValley, BroForce, Poney Island, SolarGun, Inside, HandOfFaith, Endless Space2, SubNautica, and more more more. I played almost all games which I quoted previously - and they are really good - better than some sh** which had been released using Unreal Engine Maybe Unity is not the best, the most beautiful, efficient or something else - OK (I don't agree), but it is not the least. I cannot imagine myself working on another engine. Take a look at the link below and you can see that many interesting games ($$$) have been developed under Unity. Considering all efforts that the Unity team does today so as to increase quality and power of their engine, I guess that the future will be amazing for Unity and its community ++ https://en.wikipedia.org/wiki/List_of_Unity_games
  13. 4 points
    Thank you for your constructive feedback.
  14. 4 points
    Pylow is our first project and we are delighted to announce that we will publish it by the end of this month Pylow is a Fps arena, where every player can choose his clothes and accessories, the classes and the weapons to use during each game We chose a low poly style, that guaranteed us a unique visual result that those who decided to follow us during our development, loved a lot. One of our most particular features is the animation of each character as soon as it dies, in fact who will be killed will swell very quickly and then fluctuate in the map, until someone else will shoot the mega balloon that will explode making it rain confetti. I hope you enjoy it, we have had very positive feedback and we are also counting on you to know if you are interested in the game or for asking us anything. These are our contacts: FACEBOOK YOUTUBE INSTAGRAM WEBSITE
  15. 4 points
    Update 6 Peak 2 IT IS STILL UNDER DEVELOPMENT. Its just a little peak, on what Im doing.
  16. 3 points
    (The next video will be in English!) Hey, guys at the moment I learn to program at school and while I'm doing this I decided to create my own game. I hope you will join the journey!
  17. 3 points
    Hello there, its been a while since i've posted something in here, so i thought i could give it a try and making an actual devlog on my current project. Its a strategy, turn based tile game in which your main goal is to have the most tiles conquered at the end of the game. Its a pretty simple concepts, but its quite fun. There's some thought process involved when making every turn and calculate opponents predictions, so gameplay wise, its pretty cool so far. Feedback is highly appreciated Right now it has: Core mechanics, such as generating tiles in a balanced way, placing them, conquering enemy tiles etc... Pretty color lerps lol Flexible match system that allows to make various game modes and story based stuff Smart AI that uses reward system and calculate all the best solutions for an optimal move. Main menu Modifiers Here are some screenshots P.S I felt pretty anxious when uploading this to public, but after couple days i managed to do it
  18. 3 points
    hello guys started working on prop/tool pack for selling purpose . pack price would be 10 $ and will contain 32 models or more . this is models i have already finished working on, C&c welcome . For 3d viewer: https://www.artstation.com/nika7586
  19. 3 points
    Hey guys! I was working on this project for some while, changed directions for the project a lot. Kinda like the new style i'm going at. Here's a teaser of the project, hope you like it! As i am lazy to make my models i used Synty's awesome models for the project, found them most suitable! Here are some screen shots of the teaser : At the end of the post is the video link. Video : https://www.youtube.com/watch?v=0aQFMv3mxns
  20. 3 points
    This is a pack of low polygon dinosaur 3D meshes and associated 2D texture maps. Each dinosaur averages about 3,000 triangles and uses a 1024px texture map in PSD format. I've included a CC License file in the folder containing the Unity package file. Please feel free to subscribe to my channel to get notified about new free Unity art assets I upload. Follow through to a video demo of the assets. The download link is in the video description.
  21. 3 points
    Working on a simple shader so as to apply a picture on screen, I found a way to create a broken glass shader like in Metro 2033. Also you can use this shader to create a frozen effect. I guess that it could be interesting for FPS project as damage FX or something else... As usual I use a sub folder callad MyShaders where my shaders are. Take a look at the link where I posted a picture ++ https://imgur.com/a/m2TC8ex PS : I use this texture in my project ++ https://yandex.com/collections/card/5aaa1d47be1d770087ac9f00/ using UnityEngine; [ExecuteInEditMode] [RequireComponent(typeof(Camera))] public class BrokenScreenFX : MonoBehaviour { public Texture2D texture; [Range(0, 1.0f)] public float Amplitude = 0.5f; [Range(0, 1.0f)] public float Bias = 0.5f; Camera cam; private Shader BrokenScreenShader = null; private Material BrokenScreenMaterial = null; bool isSupported = true; void Start() { CheckResources(); if (texture == null) texture = Resources.Load("BrokenScreen") as Texture2D; } public bool CheckResources() { BrokenScreenShader = Shader.Find("MyShaders/BrokenScreen"); BrokenScreenMaterial = CheckShader(BrokenScreenShader, BrokenScreenMaterial); return isSupported; } protected Material CheckShader(Shader s, Material m) { if (s == null) { Debug.Log("Missing shader on " + ToString()); this.enabled = false; return null; } if (s.isSupported == false) { Debug.Log("The shader " + s.ToString() + " is not supported on this platform"); this.enabled = false; return null; } cam = GetComponent<Camera>(); cam.renderingPath = RenderingPath.UsePlayerSettings; m = new Material(s); m.hideFlags = HideFlags.DontSave; if (s.isSupported && m && m.shader == s) return m; return m; } void OnDestroy() { #if UNITY_EDITOR DestroyImmediate(BrokenScreenMaterial); #else Destroy(BrokenScreenMaterial); #endif } void OnRenderImage(RenderTexture source, RenderTexture destination) { if (CheckResources() == false) { Graphics.Blit(source, destination); return; } BrokenScreenMaterial.SetFloat("_amplitude", Amplitude/100); BrokenScreenMaterial.SetFloat("_bias", Bias * 100); BrokenScreenMaterial.SetTexture("_MainTex2", texture); Graphics.Blit(source, destination, BrokenScreenMaterial); } } Shader "MyShaders/BrokenScreen" { Properties { _MainTex ("Base (RGB)", 2D) = "white" {} _MainTex2 ("Base (RGB)", 2D) = "white" {} } SubShader { Pass { Cull Off ZWrite Off ZTest Always CGPROGRAM #pragma vertex vert #pragma fragment frag #pragma fragmentoption ARB_precision_hint_fastest #pragma target 3.0 #include "UnityCG.cginc" uniform sampler2D _MainTex; uniform sampler2D _MainTex2; uniform float _amplitude; uniform float _bias; uniform float4 _ScreenResolution; uniform float2 _MainTex_TexelSize; struct appdata_t { float4 vertex : POSITION; float4 color : COLOR; float2 texcoord : TEXCOORD0; }; struct v2f { float2 texcoord : TEXCOORD0; float4 vertex : SV_POSITION; float4 color : COLOR; }; v2f vert(appdata_t IN) { v2f OUT; OUT.vertex = UnityObjectToClipPos(IN.vertex); OUT.texcoord = IN.texcoord; OUT.color = IN.color; return OUT; } half4 _MainTex_ST; float4 frag(v2f i) : COLOR { float2 uvst = UnityStereoScreenSpaceUVAdjust(i.texcoord, _MainTex_ST); float2 uv = uvst.xy; float2 brokenUV = uv; float3 fracture = (tex2D(_MainTex2, uv).rgb * _amplitude); fracture += (tex2D(_MainTex2, uv).rgb * _bias); brokenUV += float2(fracture.r, fracture.r)/512; float3 sum = tex2D(_MainTex, brokenUV).rgb; sum = sum + (fracture * _amplitude); return float4(sum, 1.0); } ENDCG } } }
  22. 3 points
    I love your FPS kit but please add zombies in it or just tell me how to do it. (I am a beginner and i know nothing about coding).. THANK YOU..
  23. 3 points
    I've been working on this souls like game in the past few weeks. Looking for feedback! As you can see in the title, this is a project that I'll be able to showcase if I apply for a job. Features: Responsive code driven movement (walking, running, crouching, falling) with animations for each state. Combat system, with chainable attacks, blocking, dodging, and a custom hitreg system. AI, that can move around player or retreat, can attack, and break defense of player. Gameplay HUD with health, stamina, and rune indicators. Entity (Player/AI) health & stamina + customizable stats for regen rates, damages, attacks, etc... Everything is made from scratch! (Except the animations and the character of course.) Latest showcase video: 2018-11-02_14-00-52.mp4
  24. 3 points
    Hello ArmedUnity! Welcome to my multiplayer progresss. Currently learning - First Time Discord: https://discord.gg/hfDrkEm Video 1: Video 2: Video 3: Thank you.
  25. 3 points
    Just a few words to say that there is a bundle in which you can find some intersting games which have been developed using Unity as engine like Oxenfree. Furthermore, you can buy for 1 buck minimum some assets which are available on Unity Store including UFPS, FlowCanvas and Inventory Pro. Their global price approaches 200$. In regard of their price, it's just a gift a few months before Xmas. For less than 10 dollars, you get Realistic Effects pack 4, Wasteland 2 and Gameflow. For 15$ you get Gaia and some good stuff... Take a look at the link below ++ https://www.humblebundle.com/games/unity-bundle
  26. 3 points
  27. 3 points
    This is a super simple script that creates an autosave for unity. This is not for ingame saves, this is for the unity editor. Anytime something is changed in edit mode in the hierarchy, it will automatically save your scene for you. If you want it to stop, just change active to false, simple as that. This script just goes in your project, does not belong in the scene. using UnityEditor; [UnityEditor.InitializeOnLoad] public static class AutoSave { private static bool active = true; static AutoSave() { EditorApplication.hierarchyChanged += OnHierarchyChanged; } public static void OnHierarchyChanged() { if(!EditorApplication.isPlaying && active) { UnityEditor.SceneManagement.EditorSceneManager.SaveOpenScenes(); } } }
  28. 3 points
    Other than a gun and arms, what am I looking at?
  29. 3 points
    Since I switched to Unity 2018.1 I haven't had a menu to create js files so I made my own. Remember, any version of unity past 2018.1 this will not work since javascript is deprecated. Create a file in your folder, name it JSEditor.js, then go back into unity and open it up. Then just drop in this code and your js menu's will reappear. I did make a small adjustment when it comes to creating the file tho, when you click the menu item it will open a savefilepanel. So here it is: public class JSEditor extends EditorWindow { private var text : String = ""; @MenuItem("Assets/Create/JavaScript", false, 80) static function Init() { var path = EditorUtility.SaveFilePanel("Create New JS", Application.dataPath, "New Behaviour", "js"); if(path == null) return; GenerateScript(path); } static function GenerateScript(path : String) { var sr = File.CreateText(path); sr.WriteLine("function Start(){"); sr.WriteLine("}"); sr.WriteLine(""); sr.WriteLine("function Update(){"); sr.WriteLine("}"); sr.Close(); AssetDatabase.Refresh(); } }
  30. 3 points
    Well, I was a game developer long before unity. But I picked up Unity in version 3 and spent a couple years messing around, learning the ins and outs of the engine (learning it's methods, shaders, etc..) and posting example projects as I learned the engine. I started developing seriously around the time unity 4 came out. developing games in general on the other hand I started by making text based adventure games on a macintosh that didn't have pictures. After that I got a windows 95 and started building apps and small games. After windows me came out, I started heavy modding and fine tuned my modelling and started building mid sized game engines. Over the years I worked in only my own game engines until I saw some videos of unity and thought I would give it a try. A couple months later I found this forum and have been using it (and my own engines) ever since
  31. 2 points
    In the past few weeks I've been working on this small multiplayer project, where you can basically drive and drift around the scene with others. It has no point at all but hey, I can safely say that I finally managed to figure out networking! This is a customizable, semi-realistic vehicle controller, with lightweight networking on top of it. For networking I'm using Photon. By lightweight I mean that it doesn't sync everything (like transforms and rigidbodies), only the data that I actually care about.
  32. 2 points
    //drawing the Damage indicator Texture: GUI.color = new Color (1.0f, 1.0f, 1.0f, IndicatorTime); //IndicatorTime is the alpha of the color here just set it somewhere and substract Time.deltaTime each iteration of OnGUI() Vector2 vector = new Vector2 (((Screen.width / 2) - (damageIndicatorTexture.width / 2)), 0); //position of the damage Indicator texture first vlale is the x-pos (centered), //2nd the y (at the very top od the screen) GUIUtility.RotateAroundPivot (AdjustIndicator, new Vector2 ((Screen.width / 2), (Screen.height / 2))); //rotate the GUI around center. adjustIndicator is the angle by which is rotated GUI.DrawTexture (new Rect (vector.x, vector.y, damageIndicatorTexture.width, damageIndicatorTexture.height), damageIndicatorTexture); //just draw the texture now :) //for the calculation of the angle: float AdjustIndicator; Vector3 tmp = (DirectionDamage - transform.position); //tmp is the Vector from us to the Damage source tmp.y = 0; //the indicator is like a 2d top down map pointing from us to the damage source so we dont care about the y value and set it 0 tmp.Normalize(); //just sets the length of the Vector to 1, since we only care about direction and not the "strength" of the vector float GetPos = Vector3.Dot(this.transform.forward, tmp); //"For normalized vectors Dot returns 1 if they point in exactly the same direction, -1 if they point in completely opposite directions and zero if the vectors are perpendicular." //more here: https://docs.unity3d.com/ScriptReference/Vector3.Dot.html //cross product returns the vector that stands perpendicular on the plane span by out two vectors forwards and the vector to enemy, //we can now tell wheather the enemy is left or right by the side the plane is facing: if (Vector3.Cross(forward, tmp).y > 0){ //plane faces upwards (right) AdjustIndicator = (1f - GetPos) * 90; //GetPos is 1 when they both point in the same direction, so the angle wont we adjusted since (1-1)*90 = 0. //else it gets moved to the right by how unlike the vectors are }else{ //plane faces down (left) AdjustIndicator = (1f - GetPos) * -90; //same thing but for the left side. } Hope thats enough to get you started and understand it... with this you should be able to do something like what you can see in cod.
  33. 2 points
    Hi friends.... I am unity3d game developer.i have found this forum today. i am developing mobile games since last 2 years.i don't take game development as only job. i always believe that "Game development is not only job,It is a joy to realize dreams ."
  34. 2 points

    Version 1.0.0

    8 downloads

    Un simple asset que con tiene un sprite que hace un reflejo de lo que esta al rededor
  35. 2 points
    It's basic - when you know the semantic. Thank you ++ I prefer this one - thank you for your help. I really appreciate ++
  36. 2 points
    Don't want to sound like a unity fanboy, but Unreal Engine is so bad when it comes to load times, i can find a wife and get two kids until my game loads if its on hdd. It also frustrating that its not very friendly when it comes to minimizing the application. Unity is not going anywhere, its a great platform for starters and indie companies and imo indie companies often produce better quality games than some triple A games.
  37. 2 points
    https://www.humblebundle.com/store/grid2-spa-bathurst Grid2 for free ++
  38. 2 points

    Version 1.0.0

    1,071 downloads

    Passowold: cfs42522fb -------------------------- Controlles: Frente: (W) Tras: (S) Esquerda: (A) Direita: (D) Abaixar: (C) Correr: (Shift) atira: ( AINDA EM CONTRUÇÃO) MIRA: (AINDA EM CONTRUÇÃO) Compra Arma: (B) Modifica Ama: (F)
  39. 2 points
    https://freebies.indiegala.com/welcome-to-princeland-sp-version/ Welcome to Princeland, the south east of Oman Sea. This is a place which is used by powerful countries to do drug trials and technology experiments. A place that has 800% tax rate, where you can barely stay alive. You are a part of the rebellion against the prince who exploit his people with taxes. Gather the best weapons, vehicles and followers to crush his army. By upgrading your skills, challenge him at different difficulty mods. After his funeral, we will all able get weapons, vehicles and followers tax-free. If you dare - I cannot. The story seems so boring
  40. 2 points
    Really interesting. Nice aesthetic. There is here a good potential. However I would like to ask you about something which could offend you (sorry) - this is not my will. Why are you wasting so many time and energy, developing a game, which you cannot sell because you have no copyright? Maybe you don't want to sell something and you are developing this project as a fan. Clearly you have skill so as to do something good. Respectfully why don't you want to create your own game? I wish you the best ++
  41. 2 points
    And where is problem? Open Scenes folder and double click on Testmap scene.
  42. 2 points
    For free on Epic games - a new platform ++ https://www.epicgames.com/store/en-US/product/super-meat-boy/home
  43. 2 points
    There is a little script that allow's you to create custom actions on trigger enter and exit without coding, like a button: using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; public class Trigger : MonoBehaviour { public UnityEvent OnAnyObjectEnter; public UnityEvent OnPlayerEnter; public UnityEvent OnAnyObjectExit; public UnityEvent OnPlayerExit; public void OnTriggerEnter(Collider other) { if (other.tag == "Player") { OnPlayerEnter.Invoke(); } else { OnAnyObjectEnter.Invoke(); } } public void OnTriggerExit(Collider other) { if (other.tag == "Player") { OnPlayerExit.Invoke(); } else { OnAnyObjectExit.Invoke(); } } } Simply create a cube and check "Is Trigger", and add the previous script to the gameObject. you shuld see something like this:
  44. 2 points
    Installing the latest Unity version 2018.2.7 which has been released a few days ago, all works fine excepted one shader. I don't know what it means but I am very happy ++
  45. 2 points
    Hi! My name is Vladimir! Excuse me for my poor english :(. I'm unity3d developer over two years. I think you have more experience than me. Anyway, wish you the best on this hard road like game development. Here are my projects: My simple mobile game, made in just one week: https://play.google.com/store/apps/details?id=com.aevien.ForestRiddles I had another game, named "Save The Egg", but google deleted it by some rules violation. Too bad! Here is my current project I'm working: https://www.instagram.com/jsa_game/ I'll create another thread for this project to tell you more about it.
  46. 2 points
    I feel like I'm turning into a sharing bot, but anyways here are some high quality PBR textured 3D models created by Skipper R&D. License in a nutshell: "If our assets make their way into your project, please credit us! Either way, they're yours now. Spreading the word is always appreciated. Good luck! - Skipper Research & Development, LLC." https://www.skipperrandd.com/ https://sketchfab.com/skipperrandd/models
  47. 2 points
    Warning, this master-peace was made by Ata Berdyev.
  48. 2 points
    Orwell for free for a limited time. Don't ask me about this game - I don't know anything, but mood seems to me very weird ++ https://www.humblebundle.com/store/orwell
  49. 2 points
    Edit GameManager script. If for you C# is like Chinese language, then stop use kits and learn C#.
  50. 2 points
    Update 6 Peak 1 IT IS STILL UNDER DEVELOPMENT. Its just a little peak, on what Im doing.
×
×
  • Create New...