22 lines
570 B
C#
22 lines
570 B
C#
using UnityEngine;
|
|
using System.Collections;
|
|
using Games.LogicObj;
|
|
using Games.GlobeDefine;
|
|
|
|
public class Obj_ZombieUser : Obj_OtherPlayer
|
|
{
|
|
public override bool Init(ObjParent_Init_Data initData)
|
|
{
|
|
m_ObjType = GameDefine_Globe.OBJ_TYPE.OBJ_ZOMBIE_PLAYER;
|
|
|
|
bool result = base.Init(initData);
|
|
if (result == false)
|
|
return false;
|
|
Obj_Character_Init_Data data = initData as Obj_Character_Init_Data;
|
|
if (data == null)
|
|
return false;
|
|
InitImpactInfo(data);
|
|
return true;
|
|
}
|
|
}
|