digitaldanny / digitaldanny/detached

Update "Public" Properties to Use Getter/Setter

Open
#9 1 comment 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
C#
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

**Description**
- The first several classes I implemented used public attributes that other classes also access immediately. It would be worthwhile to change these to use getters/setters.
- [This link](https://answers.unity.com/questions/1025164/getset-variable-vs-normal-public-variable.html) shows a good example of how to implement getters and setters in C# for private properties.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.