Example #1
0
 public void SetPart(MSBBB.Part.Enemy part)
 {
     setBasePart(part);
     CollisionName = part.CollisionName;
     ThinkParamID  = part.ThinkParamID;
     NPCParamID    = part.NPCParamID;
     TalkID        = part.TalkID;
     CharaInitID   = part.CharaInitID;
     UnkT07        = part.UnkT07;
     UnkT08        = part.UnkT08;
     UnkT09        = part.UnkT09;
     UnkT10        = part.UnkT10;
     UnkT11        = part.UnkT11;
     UnkT12        = part.UnkT12;
     UnkT13        = part.UnkT13;
     UnkT14        = part.UnkT14;
     UnkT15        = part.UnkT15;
     UnkT16        = part.UnkT16;
 }
Example #2
0
    public MSBBB.Part.Enemy Serialize(GameObject parent)
    {
        var part = new MSBBB.Part.Enemy(ID, parent.name);

        _Serialize(part, parent);
        part.CollisionName = (CollisionName == "") ? null : CollisionName;
        part.ThinkParamID  = ThinkParamID;
        part.NPCParamID    = NPCParamID;
        part.TalkID        = TalkID;
        part.CharaInitID   = CharaInitID;
        part.UnkT07        = UnkT07;
        part.UnkT08        = UnkT08;
        part.UnkT09        = UnkT09;
        part.UnkT10        = UnkT10;
        part.UnkT11        = UnkT11;
        part.UnkT12        = UnkT12;
        part.UnkT13        = UnkT13;
        part.UnkT14        = UnkT14;
        part.UnkT15        = UnkT15;
        part.UnkT16        = UnkT16;
        return(part);
    }