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.

UnityGamesRoland

Donator
  • Content count

    471
  • Joined

  • Last visited

  • Days Won

    32

UnityGamesRoland last won the day on January 16

UnityGamesRoland had the most liked content!

Community Reputation

275 Excellent

About UnityGamesRoland

  • Rank
    Member
  • Birthday 02/23/1999

Profile Information

  • Gender
    Male
  • Location:
    Hungary
  • Interests
    Game Creation and Programming

Recent Profile Visitors

1,563 profile views
  1. I would like to see, how are you going to handle and render a 20000x20000 terrain.
  2. And once again, its a 3 year old post... what do you expect?
  3. What do you mean by this? In theory, if you only change the color of an object in your script, it shouldn't affect the movement in any ways.
  4. Just create a bool to check if you are currently hiding or not. If you are hiding, then disable the movement script. If you are not hiding, you can enable the movement again and start looking for cover via the ray. #pragma strict var rayLength : int = 5; var Bed : GameObject; var Player : GameObject; var isHiding : boolean; function Update() { //Not hiding. if(!isHiding) { //Enable your movement script here. var hit : RaycastHit; var fwd = transform.TransformDirection(Vector3.forward); if(Physics.Raycast(transform.position, fwd, hit, rayLength)) { if(hit.collider.gameObject.tag == "Bed") { if(Input.GetKeyDown("e")) { print("Quick Hide!"); Player.GetComponent.<Animation>().Play("CrawlUnderBed"); isHiding = true; } } } } //Hiding if(isHiding) { //Disable your movement script here. if(Input.GetKeyDown("e")) { isHiding = false; } } }
  5. Its because renderer.enabled is a bool, which means it is a true/false statement. Shows the object: renderer.enabled = true; Hides the object: renderer.enabled = false; Set to the opposite: renderer.enabled = !renderer.enabled;
  6. To be honest, I think that one of your script has an error and because of that, the system doesn't let you to run the game. I had this issue before when I was a beginner in unity, and I was confused af.
  7. One more question: How can I get the error message if there is any?
  8. As others said before, you can play an animation or increase the image size via a script. //Paste this into a script, and call this method from the Event Trigger component, or from the UI Button. public Image yourImage; public void ScaleImage(bool zoom) { //If this method is called with true state. if(zoom) { //Scaling to bigger size. yourImage.GetComponent<RectTransform>().localScale = 1.2f; } //If this method called with false state. else if(!zoom) { //Scaling to default size. yourImage.GetComponent<RectTransform>().localScale = 1f; } }
  9. I always use Event Trigger in order to make my buttons to work. So for example you can use the OnPointerEnter() inside the Event Trigger component. You can learn more about Event Trigger component here.
  10. Is it possible to tell the server to delete the mail from the From address after it has been sent to the To address? (In my case the From and the To are not the same.)
  11. But that's the point. If you can't really do anything, there is just no reason to look for 8-10 people. You have to learn, not ask for people to every aspect for a game. And if you think about it, if the payment is profit-share but you can't do anything yourself you basically did nothing. And as I write this I'm just like wtf??
  12. Same. I think if you wan't to get other people to help you, do everything as good as you can so you have something to show. I think that's the easiest way. And be careful how much people you ask for. At first just ask for 1 person: Modeler/Programmer, and make something with him. Then go ahead and get more people.
  13. Welcome to AU! Just a suggestion though: It is good if you not only make but play games because you will know what to, and what not to do.
  14. This might help you: https://forum.unity3d.com/threads/how-to-check-of-list-contains-only-specific-strings.366987/
  15. Is it really that hard to check that you wrote everything correctly before posting a topic/video?