Exemplo n.º 1
0
 public void SetPart(MSBS.Part.Collision part)
 {
     setBasePart(part);
     Unk1 = gameObject.AddComponent <MSBSUnkStruct1Part>();
     Unk1.setStruct(part.Unk1);
     Unk2 = gameObject.AddComponent <MSBSUnkStruct2Part>();
     Unk2.setStruct(part.Unk2);
     Unk5 = gameObject.AddComponent <MSBSUnkStruct5Part>();
     Unk5.setStruct(part.Unk5);
     HitFilterID            = part.HitFilterID;
     SoundSpaceType         = part.SoundSpaceType;
     ReflectPlaneHeight     = part.ReflectPlaneHeight;
     MapNameID              = part.MapNameID;
     DisableStart           = part.DisableStart;
     UnkT17                 = part.UnkT17;
     DisableBonfireEntityID = part.DisableBonfireEntityID;
     UnkT24                 = part.UnkT24;
     UnkT25                 = part.UnkT25;
     UnkT26                 = part.UnkT26;
     MapVisibility          = part.MapVisibility;
     PlayRegionID           = part.PlayRegionID;
     LockCamParamID         = part.LockCamParamID;
     UnkT3C                 = part.UnkT3C;
     UnkT40                 = part.UnkT40;
     UnkT44                 = part.UnkT44;
     UnkT48                 = part.UnkT48;
     UnkT4C                 = part.UnkT4C;
     UnkT50                 = part.UnkT50;
     UnkT54                 = part.UnkT54;
     Unk3C = part.Unk6.Unk3C;
     Unk40 = part.Unk6.Unk40;
 }
Exemplo n.º 2
0
 public void SetPart(MSBS.Part.MapPiece part)
 {
     setBasePart(part);
     Unk1 = gameObject.AddComponent <MSBSUnkStruct1Part>();
     Unk1.setStruct(part.Unk1);
     Gparam = gameObject.AddComponent <MSBSGParamConfig>();
     Gparam.setStruct(part.Gparam);
     Unk00 = part.Unk7.Unk00;
     Unk04 = part.Unk7.Unk04;
     Unk08 = part.Unk7.Unk08;
     Unk0C = part.Unk7.Unk0C;
     Unk10 = part.Unk7.Unk10;
     Unk14 = part.Unk7.Unk14;
 }
Exemplo n.º 3
0
 public void SetPart(MSBS.Part.Enemy part)
 {
     base.SetPart(part);
     Unk1 = gameObject.AddComponent <MSBSUnkStruct1Part>();
     Unk1.setStruct(part.Unk1);
 }