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

CLYS-116 - Unity example patches #200

Open
wants to merge 2 commits into
base: 0.15
Choose a base branch
from

Conversation

lpsandaruwan
Copy link
Contributor

@lpsandaruwan lpsandaruwan commented Jul 27, 2022

  • Fixed issues with method groups in example
  • Fixed namespace Settings for ColyseusSettings in example
  • Renamed Settings -> ColyseusSettings to match the class name
  • Patched nullPointerExceptions in ColyseusSettings

@lpsandaruwan lpsandaruwan self-assigned this Jul 27, 2022
@@ -84,6 +83,7 @@ private void InitializeInstance()
}

Instance = GetComponent<T>();
_colyseusSettings = ScriptableObject.CreateInstance<ColyseusSettings>();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Originally the settings object was designed to be able to be assigned in editor so devs could have multiple settings objects (local, dev, staging, prod, etc). @lpsandaruwan can you confirm that this doesn't break that functionality? Or if it does/needs to thats ok too, we just need to be able to provide an explanation/workaround for people who use that feature.

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.

None yet

3 participants