/********************************* *ステージ自体のステータスENDに *********************************/ public void GameStageStaSetEND() { //print("ステージEND"); Vector3 work = new Vector3(transform.position.x, transform.position.y, endzpos); gamestagesta = GAMESTAGESTA.END; transform.position = work; }
/********************************* *ステージ自体のステータスNORMALに *********************************/ public void GameStageStaSetNORMAL() { gamestagesta = GAMESTAGESTA.NORMAL; }
/********************************* *ステージ自体のステータスPAUSEに *********************************/ public void GameStageStaSetPAUSE() { gamestagesta = GAMESTAGESTA.PAUSE; }
// Use this for initialization void Start() { gamestagesta = 0; velocity = new Vector3(0, -1, 0); satgeMG = transform.GetComponentInParent <StageManager>(); }