void Start() { Debug.Log ("start"); moveSpeed = 0.1f; pos = transform.localPosition; stageControl = mainCamera.GetComponent<StageControl> (); //ステージクリアまで代入 pHp = PlayerStats.hitpoint * 5; pAtk = PlayerStats.attack; pDef = PlayerStats.deffence; pAgl = PlayerStats.agility; pHeal = PlayerStats.heal; pHpSlider = GameObject.Find ("PlayerHPGauge").GetComponent<Slider> (); pHpSlider.maxValue = pHp; //ダメージ var obj = GameObject.Find ("EDamageTextGen"); gen = obj.GetComponent<EDamageTextGen>(); damageCalc = obj.GetComponent<DamageCalc>(); //自然回復 StartCoroutine ("PlayerHeal", pHeal); }
void Start() { this.main_camera = GameObject.FindGameObjectWithTag("MainCamera"); //カメラ stageControl = main_camera.GetComponent<StageControl> (); }
internal BlockingProcessorStep(StageControl control, Configuration configuration, int maxProcessors, System.Threading.CountdownEvent latch) : base(control, "test", configuration, maxProcessors) { this.Latch = latch; }
internal MyProcessorStep(StageControl control, int maxProcessors) : base(control, "test", Configuration.DEFAULT, maxProcessors) { }
public DeadEndStep(StageControl control) : base(control, "END", Configuration.DEFAULT, 1) { }
internal ReceiveOrderAssertingStep(StageControl control, string name, Configuration config, long processingTime, bool endOfLine) : base(control, name, config, 1) { this.ProcessingTime = processingTime; this.EndOfLine = endOfLine; }
internal VerifierStep(StageControl control, Configuration config, AtomicInteger processCounter) : base(control, "Verifier", config, 1) { this.ProcessCounter = processCounter; }
public void setStage (StageControl stage) { if(currenStage != stage) { backState = currenStage; } if(currenStage != null) { currenStage.DisAppear (); } currenStage = stage; stage.Appear (); }
// Use this for initialization void Start () { Application.targetFrameRate = 80; new ListernerServer (this); currenStage = login; login.gameObject.SetActive (true); main.gameObject.SetActive (false); room.gameObject.SetActive (false); // NetworkUtil.GI ().connect (//SendData.onGetPhoneCSKH ()); }
protected internal BatchProcessor(StageControl control, int processors) : base(control, "PROCESSOR", Config(processors)) { }
public ProducerStep(StageControl control, Configuration config) : base(control, ">", config) { this.BatchSize = config.BatchSize(); }