Init() private method

private Init ( ) : void
return void
Beispiel #1
0
        public void ShellTest_SimpleTesting()
        {
            var shell = new Shell();

            shell.Init();
            shell.ProcessCommands();
        }
Beispiel #2
0
 void Awake()
 {
     Shell.Init(math: extraCommands);
     Shell.cheats = enableCheats;
     Shell.Module(this);
     Shell.Eval("alias quit exit; alias cls clear");
     Shell.Var("term.scale", () => currentScale, SetSize, this);
 }
Beispiel #3
0
 public void AttackMoment()
 {
     if (target != null && Vector3.Distance(target.transform.position, transform.position) <= range && Time.time >= timerDelay)
     {
         Shell shellObj = Instantiate(shell.gameObject, pos.position + new Vector3(0, 0, shell.GetComponent <SphereCollider>().radius), new Quaternion()).GetComponent <Shell>();
         shellObj.Init(target.gameObject, strong, damageType);
         timerDelay = Time.time + delay;
     }
 }
Beispiel #4
0
        public override void Run(bool runWithDefaultConfiguration)
        {
            base.Run(runWithDefaultConfiguration);

            if (mShell != null)
            {
                mShell.Init();
            }
        }
Beispiel #5
0
        public ConsolePage()
        {
            InitializeComponent();

            ServiceLocator.Subscribe("LocaleChanged", _ =>
            {
                Title = ServiceLocator._("Console");

                pingBtn.Text      = ServiceLocator._("Ping");
                downloadBtn.Text  = ServiceLocator._("Download");
                logoutButton.Text = ServiceLocator._("Logout");
            });

            Shell.Init(shellControl1);

            Tools.Add(new SimpleCommands());
        }
 void InitParticles()
 {
     Fire.Init();
     Fire.SetActive(false);
     Shell.Init();
 }