void FormatData() { if (photonView.isMine) { SceneManager.AddMy_SoldierList(this); if (originalData.ATK_Level != MyEnemyData.mySoldierAtkLevel || originalData.DEF_Level != MyEnemyData.mySoldierDefLevel) { originalData = MyEnemyData.instance.getMySoldierData(DataName); } } else { SceneManager.AddEnemy_SoldierList(this); if (originalData.ATK_Level != MyEnemyData.enemySoldierAtkLevel || originalData.DEF_Level != MyEnemyData.enemySoldierDefLevel) { originalData = MyEnemyData.instance.getEnemySoldierData(DataName); } } enemyData = originalData; deadManager.ifDead(false); nav.speed = enemyData.moveSpeed; if (ani.GetBool(aniHashValue[1])) { Net.RPC("TP_stopAni", PhotonTargets.All, false); } if (myCollider != null) { myCollider.enabled = true; } if (photonView.isMine) { nowPoint = Find_PathPoint; if (nav != null) { nav.enabled = true; } stopDetect = false; nowGoAtkCore = false; InvokeRepeating("FindMyTarget", 0.3f, 0.6f); } }