コード例 #1
0
 protected override void Start()
 {
     Logger.Log(DebugLogLevel, "[Start] Fired!!");
     ResetCharaTriggerInfo();
     CurrentCoordinate.Subscribe(value => { OnCoordinateChanged(); });
     base.Start();
 }
コード例 #2
0
        protected override void Start()
        {
            KoiSkinOverlayGui = Extension.Extension.TryGetPluginInstance("KSOX_GUI") as KoiSkinOverlayGui;
            CurrentCoordinate.Subscribe(onNext: delegate { ChangeCoordinate(); });

            base.Start();
        }
コード例 #3
0
        protected override void Awake()
        {
            base.Awake();
            OverlayStorage = new OverlayStorage(this);
#if KK
            CurrentCoordinate.Subscribe(v => UpdateTexture(0));
#endif
        }
コード例 #4
0
            protected override void Start()
            {
#if KK
                // Ignore coordinate in EC
                CurrentCoordinate.Subscribe(value => { OnCoordinateChanged(); });
#endif
                base.Start();
            }
コード例 #5
0
        protected override void Awake()
        {
            base.Awake();
            OverlayStorage = new OverlayStorage(this);
#if KK || KKS
            // this causes massive lag on overworld since charas change coords in background so avoid running this whenever possible
            CurrentCoordinate.Subscribe(v =>
            {
                if (OverlayStorage.IsPerCoord())
                {
                    UpdateTexture(WhatTexturesNeedUpdating());
                }
            });
#endif
        }
コード例 #6
0
            protected override void Start()
            {
                if (KoikatuAPI.GetCurrentGameMode() == GameMode.MainGame)
                {
                    return;
                }
                HairAccessoryCustomizer = new HairAccessoryCustomizerSupport.UrineBag(ChaControl);
                MaterialEditor          = new MaterialEditorSupport.UrineBag(ChaControl);
                MaterialRouter          = new MaterialRouterSupport.UrineBag(ChaControl);
                AccStateSync            = new AccStateSyncSupport.UrineBag(ChaControl);
                DynamicBoneEditor       = new DynamicBoneEditorSupport.UrineBag(ChaControl);

                CurrentCoordinate.Subscribe(value => { OnCoordinateChanged(); });
                base.Start();
            }
コード例 #7
0
 //EC only has one outfit slot, no need to watch changes
 protected override void Start()
 {
     CurrentCoordinate.Subscribe(value => { OnCoordinateChanged(); });
     base.Start();
 }