Initial commit

Basic plant generation and lifecycle implemented.
This commit is contained in:
2025-08-06 21:04:49 -07:00
parent 7c2cb4242f
commit 3a909fda70
94 changed files with 8592 additions and 0 deletions
@@ -0,0 +1,18 @@
using System.Collections.Generic;
using UnityEngine;
public class AnimalController : MonoBehaviour
{
[SerializeField] List<_IAnimal> animalPrefabs;
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
}
// Update is called once per frame
void Update()
{
}
}
@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 57bdcc6b5435f73478e14cc53eacec2f
@@ -0,0 +1,10 @@
using UnityEngine;
public class AnimalRabbit : _IAnimal
{
[SerializeField] GameObject visualPrefab;
public AnimalRabbit()
{
}
}
@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 7307a57df8e8a93418bff241ef45a13d
@@ -0,0 +1,41 @@
using UnityEngine;
public class _IAnimal : MonoBehaviour
{
[SerializeField] GameObject model;
// Inherent values
public int foodChainPlacement;
public int gender;
public float speed;
public float sightDist;
public float weightHunger;
public float weightBreed;
// Current values for need of each
public float health;
public float breed;
Collider sightSphere;
void Start()
{
}
void FixedUpdate()
{
}
public void Eat()
{
}
public void Breed()
{
}
}
@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 1d547cd47e0ec2545925c3496ddd02fa