AddStageAtIndex() public static method

public static AddStageAtIndex ( FStage, stageToAdd, int newIndex ) : void
stageToAdd FStage,
newIndex int
return void
Beispiel #1
0
 private static void AddBackground()
 {
     if (Futile.instance != null && Futile.instance.enabled == true)
     {
         if (tBackground == null)
         {
             tBackground        = new FSprite("blank");
             tBackground.color  = Color.grey;
             tBackground.width  = Futile.screen.width;
             tBackground.height = Futile.screen.height;
             tBackgroundStage.AddChild(tBackground);
             Futile.AddStageAtIndex(tBackgroundStage, 0);
         }
     }
 }