void Awake()
 {
     if(instance==null){
         instance=this;
         DontDestroyOnLoad(this.gameObject);
     }else{
         DestroyImmediate(this.gameObject);
     }
 }
 public void Start(StateControllerManager manager)
 {
     this.manager = manager;
     this.StartController ();
 }