//マナポイント追加 public void Add_SkillPoints(float value) { status.AddMP(value); if (canvas != null) { canvas.updatePlayerUI(); } if (status.getMP() >= 100) { if (manaIsFull != null) { status.UseManapoint(100); manaIsFull(); } } }
// public void initializeCanvas() { onDead(); //active canvas canvas = GetComponentInChildren <PlayerCanvas>(); if (canvas == null) { return; } canvas.Init(this); canvas.updatePlayerUI(); }