示例#1
0
    public virtual void Initialize()
    {
        Debug.Log("LogicController Initialize " + gameObject.name);
        LogicScriptManager.GetInstance().AddLogicScript(this);

        _oriPosition = this.transform.position;
        _oriScale    = this.transform.localScale;
        _oriRotation = this.transform.rotation;
    }
示例#2
0
    public void enter()
    {
        LogicScriptManager.GetInstance().EnterStop();

        LogicScriptManager.GetInstance().Reset();
    }
示例#3
0
 public void excute()
 {
     LogicScriptManager.GetInstance().StopUpdate(Time.deltaTime);
 }
示例#4
0
 public void enter()
 {
     LogicScriptManager.GetInstance().EnterActive();
 }
示例#5
0
 private void Start()
 {
     LogicScriptManager.GetInstance().AddLogicScript(this);
 }