Exemple #1
0
    void Awakemethod()
    {
        SDirector d = SDirector.getInstance();

        d.currentSceneController = this;
        d.currentSceneController.Load();
    }
 public void setObj(string kind)
 {
     Uaction  = SDirector.getInstance().currentSceneController as UserAction;
     this.obj = kind;
 }
Exemple #3
0
 // Use this for initialization
 void Start()
 {
     action = SDirector.getInstance().currentSceneController as UserAction;
 }
 public void setObj()
 {
     controllor = (FirstControllor)SDirector.getInstance().currentSceneController;
 }