Browse Source

Add global `string` to `Text` conversion

develop
Anton Tarasenko 4 years ago
parent
commit
cef551b660
  1. 5
      sources/Core/AcediaActor.uc
  2. 5
      sources/Core/AcediaObject.uc

5
sources/Core/AcediaActor.uc

@ -25,6 +25,11 @@ class AcediaActor extends Actor
var protected Global _;
public final function Text T(string string)
{
return _.text.FromString(string);
}
event PreBeginPlay()
{
super.PreBeginPlay();

5
sources/Core/AcediaObject.uc

@ -25,6 +25,11 @@
class AcediaObject extends Object
abstract;
public final function Text T(string string)
{
return _().text.FromString(string);
}
public static final function Global _()
{
return Global(class'Global'.static.GetInstance());

Loading…
Cancel
Save