Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // The Unity way
- public class BadHero {
- public int health { get; set; }
- public BadHero(int health) {
- this.health = health;
- }
- }
- // The C# convention
- public class GoodHero {
- public int Health { get; set; }
- public GoodHero(int health) {
- Health = health;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement