This is an old revision of the document!
<- PRPL reference <- Everything Else 2
| Arguments | Result | Notation |
|---|---|---|
| Unit UID | String | [ UID - String ] |
Takes a Unit's UID and returns a string of the type of unit it is.
i1 = GetIntFromStack(); // UID
stack.Push(new Data(unit.gameObject.name));
stack.Push(new Data(""));
<-UnitUID GetUnitType ->UnitType
<-UnitType trace