Ejemplo n.º 1
0
 private void Awake()
 {
     UFOFactory.getInstance().initItems(ufoItem);
 }
Ejemplo n.º 2
0
 // Update is called once per frame
 void Update()
 {
     UFOFactory.getInstance().detectLandingUFOs();
 }
Ejemplo n.º 3
0
 void Start()
 {
     ufoFactory    = Singleton <UFOFactory> .Instance;
     scoreRecorder = Singleton <ScoreRecorder> .Instance;
 }
Ejemplo n.º 4
0
 protected new void Start()
 {
     sceneController = (FirstSceneController)SSDirector.getInstance().current;
     sceneController.actionManager = this;
     factory = Singleton <UFOFactory> .Instance;
 }