public void Init(Transform weaponContainer) { _Belt = InitBelt(Config.WeaponBeltTypes); _Keys = BuildSwitchKeyMapping(Config.WeaponBeltTypes); _WeaponContainer = weaponContainer; _WeaponInfoDic = _WeaponInfoDic ?? QueryDic(DataBaseSys.GetTable(Config.WeaponInfoTableName)); _Unarmed = CreateWeaponObj(Config.UnarmedId); _Unarmed.TakeOut(); }
private void Start() { // todo return; string message = ( from row in DataBaseSys.GetTable("message") where row["Key"] == "flyingSaucerWelcome" select row["value"]).FirstOrDefault(); LogPanel.Ins.LogSystem(message); }