Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add IStartable, IPostStartable #78

Merged
merged 2 commits into from
Dec 13, 2020
Merged

Add IStartable, IPostStartable #78

merged 2 commits into from
Dec 13, 2020

Conversation

hadashiA
Copy link
Owner

Add new 2 entry points

  • IStartable.Start() : Nearly MonoBehaviour.Start()
  • IPostStartable.PostStart() : After MonoBehaviour.Start()

The following reasons:

  • The name Initialize for each object is ambiguous. It is difficult to find the difference from Constructor from the name
  • A good name, MonoBehaviour.Start, already exists. The word IStartable is also used in .NET.

Diagram

lifecycle_diagram

@vercel
Copy link

vercel bot commented Dec 13, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/hadashia/vcontainer/e82eqm2a6
✅ Preview: https://vcontainer-git-ku-startable.hadashia.vercel.app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant