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.


  • Content Count

  • Joined

  • Last visited

Community Reputation

6 Neutral

About CakeMonsTv

  • Rank

Contact Methods

Profile Information

  • Gender
  • Location:
  • Interests
    game developer

Recent Profile Visitors

939 profile views
  1. I changed my code a bit and came around the problem, but didnt solve it.
  2. It looks really awesome! I especially like animations and graphics. However, as it was already said before, gun shors might be too loud and I personally think that the gun takes too much of screen space.
  3. Hi. I ran into a problem where my editor window just reopens/restarts out of nowhere. Basically I press Shift 5(CreateFolderItem -> CreateFolder), then I press Shift 3(AddToLinkItem -> AddTolink) and if I press then Shift 4(RevertItem -> Revert), my editor window somehow restarts/reopens and that resets value of textField back to "Task name" https://gyazo.com/43332acf4d8a3590d86e20a25947ddb2 I suspect that it may have something to do with static functions or something. Code: Any help would be much appreciated! Thank you
  4. Everything looks cool except visual effects. That text and everything seems really unprofessional. You can pay someone to do that for like 10$. Nothing much.
  5. I made functions static and variables static. Fixed it.
  6. Hi. So basically I want to call a non-static function from a static function. I have done that by creating a new instance of class named "TemporaryLink" and then calling my non-static function "AddToLink". I have a string a string in TemporaryLink class named "taskName" which has to stay the same after I call AddToLink function. Right now it creates a new instance of TemporaryLink and taskName is the same as if it was never changed. (taskName is being changed with textField in OnGUI function) What should I do to fix this problem? Thank you
  7. Awesome stuff. Those blueprints might come in handy some day for me
  8. Not really my type of game
  9. Can someone people help me fix this issue? Is it a unity bug? https://gyazo.com/5a8efbf35b75ee2c1ecef46e383866ef Everything in my prefab looks centered just fine. Thank you.
  10. Can someone help me with this one? Code: using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerController : MonoBehaviour { public Transform target; void Start () { } // Update is called once per frame void Update () { Ray ray = Camera.main.ScreenPointToRay(Input.mousePosition); RaycastHit hit; target.position = hit.point; Vector3 direction = (target.position - transform.position).normalized; Quaternion lookRotation = Quaternion.LookRotation (new Vector3(direction.x, 0, direction.z)); transform.rotation = Quaternion.Slerp (transform.rotation, lookRotation, Time.deltaTime + 5f); } } Thanks!
  11. I Actually went for a totally different approach now. No sorting or anything, just instantiating objects one by one and adding them in list iin that order. (I had to do this sooner or later, since my project required it). Thanks for your time anyway.
  12. I did made a quick look into those articles and i didnt find anything usefull. I thought i could find a more elegant solution like simply searching for object name 1 then 2 then 3 etc. However I will give sorting a more in depth look if I dont find that solution.
  • Create New...