moved Cow.cs and Chicken.cs into Animals Folder
Chicken lays eggs now every day
This commit is contained in:
parent
4a8067d3d7
commit
2d51baacd8
10 changed files with 140 additions and 106 deletions
|
|
@ -82,7 +82,7 @@ namespace Actions {
|
|||
bool rv = false;
|
||||
try {
|
||||
_animal = gameObject.GetComponent<Animal>();
|
||||
rv = true;
|
||||
rv = _animal != null;
|
||||
}
|
||||
catch { }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue