Exemple #1
0
        public override void InstallBindings()
        {
            Container.BindInterfacesAndSelfTo <CarBehaviour>().AsSingle();
            base.InstallBindings();
            PlayerControlledInstaller.Install(Container);

            BindChasers();
        }
Exemple #2
0
        public override void InstallBindings()
        {
            CarId = 0;

            base.InstallBindings();
            PlayerControlledInstaller.Install(Container);

            PhotonInputInstaller.Install(Container);
            Container.BindInterfacesAndSelfTo <InputInstantiator>().AsSingle();
        }