SurvivorNinja.Behaviors.PlayerBehavior.ResolveDependencies C# (CSharp) Method

ResolveDependencies() protected method

Resolves the dependencies needed for this instance to work.
protected ResolveDependencies ( ) : void
return void
        protected override void ResolveDependencies()
        {
            base.ResolveDependencies();

            this.leftJoystick = this.EntityManager.Find<Joystick>("leftJoystick");
            this.rightJoystick = this.EntityManager.Find<Joystick>("rightJoystick");

            this.virtualScreenManager = this.Owner.Scene.VirtualScreenManager;
        }