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