상속: ThingComp
예제 #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
        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();
        }