Skip to content

Conversation

chriselion
Copy link
Contributor

Proposed change(s)

Low-hanging fruit, mostly unused using ...

Types of change(s)

  • Bug fix

public Material DefaultMaterial;
public Material SuccessMaterial;

private bool m_Visited = false;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure how people feel about. My instinct is to a) be explicit (from python) and b) always initialize everything (coming from C++), but Rider likes to complain about it.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah I think making them explicit is not a bad thing and sometimes it feels safer (I know it works that way but I like seeing it written that way).
No strong opinions anyway.

Copy link
Contributor

Choose a reason for hiding this comment

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

traumatized by c++

@@ -1,8 +1,9 @@
using System;
using System.Linq;
Copy link
Contributor Author

@chriselion chriselion Apr 15, 2021

Choose a reason for hiding this comment

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

This is only needed in non-editor compilation.

public Material DefaultMaterial;
public Material SuccessMaterial;

private bool m_Visited = false;
Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah I think making them explicit is not a bad thing and sometimes it feels safer (I know it works that way but I like seeing it written that way).
No strong opinions anyway.

@chriselion chriselion merged commit 2721989 into main Apr 15, 2021
@delete-merged-branch delete-merged-branch bot deleted the rider-cleanup-1 branch April 15, 2021 20:45
Copy link
Contributor

@surfnerd surfnerd left a comment

Choose a reason for hiding this comment

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

LGTM

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants