first commit
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
function SetIsBonus(val)
|
||||
{
|
||||
isBonus = val;
|
||||
icon.gotoAndPlay(!isBonus ? "_primary" : "_bonus");
|
||||
}
|
||||
function SetOrdinalText(val)
|
||||
{
|
||||
marker.textClip.textVar = val;
|
||||
}
|
||||
function onUnload()
|
||||
{
|
||||
delete SetIsBonus;
|
||||
delete SetOrdinalText;
|
||||
delete onUnload;
|
||||
}
|
||||
if(!initialized)
|
||||
{
|
||||
isBonus = false;
|
||||
_parent.OnContentLoaded(this);
|
||||
initialized = true;
|
||||
}
|
||||
Reference in New Issue
Block a user