public override void SetPart(MSB3.Part bpart) { var part = (MSB3.Part.Collision)bpart; setBasePart(part); GParamConfig = gameObject.AddComponent <MSB3GParamConfig>(); GParamConfig.setStruct(part.Gparam); UnkStruct4 = gameObject.AddComponent <MSB3UnkStruct4>(); UnkStruct4.setStruct(part.Unk4); HitFilterID = part.HitFilterID; SoundSpaceType = part.SoundSpaceType; EnvLightMapSpotIndex = part.EnvLightMapSpotIndex; ReflectPlaneHeight = part.ReflectPlaneHeight; MapNameID = part.MapNameID; DisableStart = part.DisableStart; DisableBonfireEntityID = part.DisableBonfireEntityID; PlayRegionID = part.PlayRegionID; LockCamID1 = part.LockCamID1; LockCamID2 = part.LockCamID2; UnkHitName = part.UnkHitName; UnkT2C = part.UnkT2C; UnkT34 = part.UnkT34; UnkT35 = part.UnkT35; UnkT36 = part.UnkT36; MapVisType = part.MapVisType; }
public override void SetPart(MSB3.Part bpart) { var part = (MSB3.Part.MapPiece)bpart; setBasePart(part); GParamConfig = gameObject.AddComponent <MSB3GParamConfig>(); GParamConfig.setStruct(part.Gparam); }
public void SetPart(MSB3.Part.Enemy part) { setBasePart(part); GParamConfig = gameObject.AddComponent <MSB3GParamConfig>(); GParamConfig.setStruct(part.Gparam); CollisionName = part.CollisionName; ThinkParamID = part.ThinkParamID; NPCParamID = part.NPCParamID; TalkID = part.TalkID; CharaInitID = part.CharaInitID; UnkT04 = part.UnkT04; ChrManipulatorAllocationParameter = part.ChrManipulatorAllocationParameter; WalkRouteName = part.WalkRouteName; BackupEventAnimID = part.BackupEventAnimID; UnkT78 = part.UnkT78; UnkT84 = part.UnkT84; }
public void SetPart(MSB3.Part.Object part) { setBasePart(part); GParamConfig = gameObject.AddComponent <MSB3GParamConfig>(); GParamConfig.setStruct(part.Gparam); CollisionName = part.CollisionName; UnkT0C = part.UnkT0C; UnkT0E = part.UnkT0E; StartAnimID = part.UnkT10; UnkT12 = part.UnkT12; UnkT14 = part.UnkT14; UnkT16 = part.UnkT16; UnkT18 = part.UnkT18; UnkT1A = part.UnkT1A; UnkT1C = part.UnkT1C; UnkT1E = part.UnkT1E; }
public void SetPart(MSB3.Part.MapPiece part) { setBasePart(part); GParamConfig = gameObject.AddComponent<MSB3GParamConfig>(); GParamConfig.setStruct(part.Gparam); }