예제 #1
0
 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");
 }
예제 #2
0
 public override void init()
 {
     mBackground = newObject <txUIStaticTexture>("Background");
 }
예제 #3
0
    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);
    }