private void On_Create( xgc3.Core.Instance selfInstance, xgc3.Core.Instance other, String extra) { xgc3.Generated.Button self = selfInstance as xgc3.Generated.Button; Console.WriteLine( "Sprite - Create"); this.Resource = normal; }
public void ShowOver() { this.Resource = over; }
public void ShowUp() { if (!_enabled ) { this.Resource = disabled; } else { this.Resource = normal; } }
public void ShowDown() { this.Resource = down; }