private IEnumerator createData() { bool exist = true; if (DoAction.getInstance().findFiles("monster01") == false) { MonsterCreate.getInstance().m01Create(); MonsterCreate.getInstance().m02Create(); MonsterCreate.getInstance().m03Create(); MonsterCreate.getInstance().m04Create(); MonsterCreate.getInstance().m05Create(); } if (DoAction.getInstance().findFiles("skill01") == false) { SkillCreat.getInstance().skill01Create(); SkillCreat.getInstance().skill02Create(); SkillCreat.getInstance().skill03Create(); SkillCreat.getInstance().skill04Create(); SkillCreat.getInstance().skill05Create(); SkillCreat.getInstance().skill06Create(); SkillCreat.getInstance().skill07Create(); SkillCreat.getInstance().skill08Create(); } if (DoAction.getInstance().findFiles("player") == false) { PlayerCreate.getInstance().playerCreate(); } if (DoAction.getInstance().findFiles("usingskill") == false) { OtherCreate.getInstance().usingSkill(1, 2, 3, 4); } yield return(0); }
public static OtherCreate getInstance() { if (_oc == null) { _oc = new OtherCreate(); } return(_oc); }