33 lines
800 B
C#
33 lines
800 B
C#
using RootMotion;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace Beyond
|
|
{
|
|
[System.Serializable]
|
|
public class TreesDataContainer : MonoBehaviour
|
|
{
|
|
public List<TreeStateData> treesData = new List<TreeStateData>();
|
|
}
|
|
|
|
public class TreePlantingManager : Singleton<TreePlantingManager>
|
|
{
|
|
//singleton
|
|
//generic action trigger
|
|
//simple
|
|
//z gory zalozone miejsca co na co
|
|
//i chyba tyle? kek
|
|
//
|
|
// Start is called before the first frame update
|
|
|
|
[SerializeField] public List<TreeSpotController> treeSpots;
|
|
|
|
//jakas lista obiektowa miejscowa
|
|
//miejsce
|
|
//status
|
|
//prefab z animacj¹
|
|
//trigger?
|
|
//plant spot controller
|
|
}
|
|
} |