-
Notifications
You must be signed in to change notification settings - Fork 70
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
Scp1344Item & move Prefabs #235
Conversation
build error moment |
forgot to commit ooops |
/// <param name="scale">The scale of the <see cref="Speaker"/>.</param> | ||
/// <param name="spawn">Whether the <see cref="Speaker"/> should be initially spawned.</param> | ||
/// <returns>The new <see cref="Speaker"/>.</returns> | ||
public static Speaker Create(Vector3? position, Vector3? rotation, Vector3? scale, bool spawn) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if you consider them as nullable maybe add a null
default value?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can add default value yeah, i just copied the method from another toy
Don't merge this pr for the moment because there is a problem with the prefab loader. We actually load them from NetworkClient which doesn't register prefabs before map generation so actually if we push this, we're unable to spawn things that use prefab when the map is generated |
There are conflicts. |
Description
Describe the changes
What is the current behavior? (You can also link to an open issue here)
What is the new behavior? (if this is a feature change)
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
Other information:
Types of changes
Submission checklist
Patches (if there are any changes related to Harmony patches)
Other