Ejemplo n.º 1
0
 void Start()
 {
     action = SSDirector.getInstance().currentSceneController as FirstSceneController;
     fontstyle1.fontSize = 30;
 }
Ejemplo n.º 2
0
 public void Start()
 {
     sceneControler = (FirstSceneController)SSDirector.GetInstance().CurrentScenceController;
 }
Ejemplo n.º 3
0
 private void Start()
 {
     controller = SSDirector.getInstance().currentScenceController as FirstSceneController;
 }
Ejemplo n.º 4
0
    protected void Start()
    {
        scene_controller = (FirstSceneController)SSDirector.GetInstance().CurrentScenceController;

        scene_controller.action_manager = this;
    }
Ejemplo n.º 5
0
 // Use this for initialization
 void Start()
 {
     firstSceneController = (FirstSceneController)Director.getInstance().currentSceneControl;
 }
Ejemplo n.º 6
0
 void Start()
 {
     scene_controller = SSDirector.GetInstance().CurrentScenceController as FirstSceneController;
     recorder         = Singleton <ScoreRecorder> .Instance;
 }
Ejemplo n.º 7
0
 void CmdAddPlayer()
 {
     FirstSceneController.getInstance().addPlayer();
 }
Ejemplo n.º 8
0
    public FirstSceneController controller; // 当前场记

    protected new void Start()
    {
        controller = (FirstSceneController)Director.getInstance().currentSceneController;
        controller.actionManager = this;
    }
 private void Awake()
 {
     instance = this;
     Application.targetFrameRate = 60;
     CPlayerPrefs.useRijndael(CommonConst.ENCRYPTION_PREFS);
 }
Ejemplo n.º 10
0
 protected new void Start() {
     controller = (FirstSceneController)SSDirector.Director.currentController;
     controller.actionManager = this;
     cActions.Add(CCAction.GetSSAction());
 }
 public void Start()
 {
     sceneController            = (FirstSceneController)CurrentDirector.getInstance().currentSceneController;
     sceneController.actionCtrl = this;
     disks = Singleton <UFOFactory> .Instance;
 }
Ejemplo n.º 12
0
 private void Start()
 {
     sceneController = SSDirector.getInstance().currentSceneController as FirstSceneController;
     player          = sceneController.player;
 }
Ejemplo n.º 13
0
 protected new void Start()
 {
     sceneController = (FirstSceneController)SSDirector.getInstance().current;
     sceneController.actionManager = this;
     factory = Singleton <UFOFactory> .Instance;
 }
Ejemplo n.º 14
0
 void Start()
 {
     action = Director.getInstance().currentSceneControl as IUserAction;
     firstSceneController = (FirstSceneController)Director.getInstance().currentSceneControl;
 }
Ejemplo n.º 15
0
 // Use this for initialization
 void Awake()
 {
     sceneController = (FirstSceneController)SSDirector.GetInstance().CurrentSceneController;
 }
Ejemplo n.º 16
0
 protected void Start()
 {
     scene = (FirstSceneController)SSDirector.getInstance().currentScenceController;
     scene.actionManager = this;
 }
Ejemplo n.º 17
0
 private void Start()
 {
     sceneController = SSDirector.GetInstance().CurrentScenceController as FirstSceneController;
 }
Ejemplo n.º 18
0
 protected void Start()
 {
     sceneController = (FirstSceneController)SSDirector.getInstance().currentSceneController;
     sceneController.actionManager = this;
     disks = Singleton <DiskFactory> .Instance;
 }
Ejemplo n.º 19
0
 // Use this for initialization
 void Start()
 {
     sceneController          = (FirstSceneController)SSDirector.GetInstance().CurrentSceneController;
     sceneController.recorder = this;//先赋值
 }
Ejemplo n.º 20
0
 protected new void Start()
 {
     sceneCtrl = (FirstSceneController)Director.GetDirector().CurrentSceneCtrl;
     sceneCtrl.actionManager = this;
     fly.Add(CCFlyAction.GetSSAction());
 }
Ejemplo n.º 21
0
 protected void Start()
 {
     sceneCtrl = (FirstSceneController)SSDirector.getInstance().currentSceneController;
     sceneCtrl.actionManager = this;
     ufo = Singleton <UFOFactory> .Instance;
 }
Ejemplo n.º 22
0
    // Use this for initialization
    void Start()
    {
        action = SSDirector.getInstance().currentSceneController as ISceneController;

        sceneController = Singleton <FirstSceneController> .Instance;
    }