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