Added project

This commit is contained in:
2023-06-11 00:35:07 +03:00
parent 5bfa765889
commit f06629200c
545 changed files with 44339 additions and 2 deletions

View File

@@ -0,0 +1,29 @@
using UnityEngine;
public class Cat {
public string name { get; }
public int age { get; }
public int weight { get; set; }
public int height { get; }
public int length { get; }
public Cat() {
}
public Cat(string name, int age, int weight, int height, int length) {
this.name = name;
this.age = age;
this.weight = weight;
this.height = height;
this.length = length;
}
public void meov() {
Debug.Log(this);
}
public override string ToString() {
return $"Cat: \"name\": \"{name}\", \"age\": {age}, \"weight\": {weight}, \"height\": {height}, \"length\": {length}'";
}
}