public void assignWindow(txUIObject parent, string rootName) { mRoot = mScript.newObject <txUIObject>(parent, rootName); mHead = mScript.newObject <txUIStaticTexture>(mRoot, "Head"); mName = mScript.newObject <txUIText>(mRoot, "Name"); mMoneyDelta = mScript.newObject <txUIText>(mRoot, "MoneyDelta"); }
public override void init() { mBackground = newObject <txUIStaticTexture>("Background"); }
protected override void applyHSL(Vector3 hsl, bool done) { txUIStaticTexture window = (mComponentOwner) as txUIStaticTexture; window.setHSLOffset(hsl); }
protected override void applyValue(float value, bool done = false) { txUIStaticTexture window = mComponentOwner as txUIStaticTexture; window.setFillPercent(value); }