コード例 #1
0
        public override void SpawnSetup()
        {
            base.SpawnSetup();
            mountableComp = base.GetComp <CompMountable>();

            UpdateGraphics();
        }
コード例 #2
0
        public override void SpawnSetup()
        {
            base.SpawnSetup();
            mountableComp = GetComp <CompMountable>();

            LongEventHandler.ExecuteWhenFinished(UpdateGraphics);
        }
コード例 #3
0
        public override void SpawnSetup()
        {
            base.SpawnSetup();
            mountableComp = base.GetComp <CompMountable>();

            if (allowances == null)
            {
                this.allowances = new ThingFilter();
                this.allowances.SetFromPreset(StorageSettingsPreset.DefaultStockpile);
                this.allowances.SetFromPreset(StorageSettingsPreset.DumpingStockpile);
            }

            UpdateGraphics();
        }
コード例 #4
0
ファイル: Vehicle_Cart.cs プロジェクト: BBream/ToolsForHaul
        public override void SpawnSetup()
        {
            base.SpawnSetup();
            mountableComp = base.GetComp<CompMountable>();

            if (allowances == null)
            {
                this.allowances = new ThingFilter();
                this.allowances.SetFromPreset(StorageSettingsPreset.DefaultStockpile);
                this.allowances.SetFromPreset(StorageSettingsPreset.DumpingStockpile);
            }

            UpdateGraphics();
        }