public void Build() { if (build) { throw new System.Exception("Build Error !"); } this.manager.AddBox(true, 0f, 0f, mw, thick, 0, density.Get()); this.manager.AddBox(true, 0f, mh, mw, thick, 0, density.Get()); this.manager.AddBox(true, 0f, 0f, thick, mh, 0, density.Get()); this.manager.AddBox(true, mw, 0f, thick, mh, 0, density.Get()); this.build = true; }
public override void InnerBeginn() { health = target.Get(); min = minDistance.Get(); max = maxDistance.Get(); distanceFactor = (max + min) * 0.5f; }