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

Added Paragraphs to in-script documentation & Renamed OnDestroyingComponent #7

Open
wants to merge 18 commits into
base: develop
Choose a base branch
from

Conversation

Walter-Haynes
Copy link

Added paragraphs in the in-code documentation where needed, added some instances of where I felt they would fit.

Renamed OnDestroyingComponent to OnDestroyedComponent so it's more like Unity''s API.
(If you really don't like this part I can undo it and make a new PR)

Change:
image

lazlo-bonin and others added 18 commits October 22, 2019 15:46
Makes it use the same convention as Unity does.

`OnCreated + OnDestroying`
versus
`OnCreated + OnDestroyed`

you could do
`OnCreating + OnDestroying `
but that does not follow the naming as unity which users are probably familiar with.
… System.

Did that before I understood the IWorldCallbackReceiver.
Passes arguments by reference (ReadOnly).
As long as the argument doesn't modify the parameter we can use this to increase performance.

https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/in-parameter-modifier

(In-Parameter-Modifier)
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.

3 participants