add
This commit is contained in:
parent
bc7c681282
commit
7a9220f737
@ -218,6 +218,15 @@ public class Role : Fun
|
||||
|
||||
public virtual async void Start()
|
||||
{
|
||||
if (mySkillUp == null)
|
||||
{
|
||||
mySkillUp = this.transform.GetComponent<SkillUp>();
|
||||
}
|
||||
|
||||
if (mySkillUp == null)
|
||||
{
|
||||
UnityEngine.Debug.LogError(this.name+"mySkillUp is no");
|
||||
}
|
||||
|
||||
maxHp = hp;
|
||||
SetSelfInfo();
|
||||
|
Loading…
Reference in New Issue
Block a user