Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Kamal124 · Apr 15, 2015 at 08:14 AM · events

Is it good to use events more often?

Is it good to use public static events more frequently in my projects? Does that affect the performance? And please anybody suggest me any tutorial or link on how to manage my project, scripts, proper way of coding and communicate different objects and components so i can properly debug, manage and grow my project.

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image AlwaysSunny · Apr 15, 2015 at 05:23 AM 2
Share

$$anonymous$$anaging growth and complexity are very deep, abstract topics. There's no prescribed approach which guarantees the "best" experience for the developer. Learning about and leveraging the strongest principles from various design strategies is the right answer to this question. Using delegates and events is a strong feature when it's appropriate, but does imply some overhead. Balancing your design strategy between convenience, performance, and sense is a career-long discovery. As your experience grows, you'll become familiar with the tools at your disposal and the strengths and weaknesses thereof. Apart from general program$$anonymous$$g "best practices", the wisest approach to a given requirement will always vary case-by-case.

So the other answer to your events question is the same answer to give anyone who asks about a specific feature: Choose the strongest feature or design archetype you can based on experience and foresight. When facing similar situations, use a similar solution. Before long, the strongest (or your favorite) approaches to various situations will become obvious to you. I think everybody learns this stuff the hard way. ;)

avatar image Kamal124 · Apr 15, 2015 at 11:31 AM 0
Share

Thanks AlwaysSunny you helped me to sort out some confusion. It really helped and thanks again for your time. :)

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

I want to set up a custom event class in javascript. How can that be done in Unity? 0 Answers

Delegate or Event: Reacting to another object's collision functions 2 Answers

Help with multi menu closing using bool 1 Answer

How to check a value from the last frame, while using events. 1 Answer

How to create animation event at specific keyframe at runtime 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges