From 8b65edb43be0945203633b33d7a62c81ab3f05ce Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 16 Sep 2021 09:52:33 +0800 Subject: +unit effect --- Assets/Scripts/Managers/UnitManager.cs | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'Assets/Scripts/Managers/UnitManager.cs') diff --git a/Assets/Scripts/Managers/UnitManager.cs b/Assets/Scripts/Managers/UnitManager.cs index f268d033..62afc08b 100644 --- a/Assets/Scripts/Managers/UnitManager.cs +++ b/Assets/Scripts/Managers/UnitManager.cs @@ -2,17 +2,15 @@ using System.Collections.Generic; using UnityEngine; -public class UnitManager : MonoBehaviour +public class UnitManager : Singleton { - // Start is called before the first frame update - void Start() - { - - } + public PCController pc { get; private set; } - // Update is called once per frame - void Update() - { - - } + public List monsters { get; private set; } + + + public void SetPlayerCharacter(PCController pc) + { + this.pc = pc; + } } -- cgit v1.1-26-g67d0