Exemple #1
0
    void Awake()
    {
        characterController = GetComponent <CharacterController>();
        baseHeight          = characterController.height;

        changeScale = GetComponent <ChangeScale>();
    }
Exemple #2
0
    void Awake()
    {
        controller = GetComponent<CharacterController>();
        changeScale = GetComponent<ChangeScale>();

        ground = GetComponent<Ground>();
        jump = GetComponent<Jump>();
        antigravityEffect = GetComponent<AntigravityEffect>();
    }
Exemple #3
0
    public override void Awake()
    {
        base.Awake();

        characterController = GetComponent<CharacterController>();
        baseHeight = characterController.height;

        changeScale = GetComponent<ChangeScale>();
    }
 private const int SETTING_2    = 2;         //設定変更(深度2)
 void Start()
 {
     wPause = GetComponent <ChangeScale>();
     BGMvol = SaveData.GetInt("BGMvolume");
     SEvol  = SaveData.GetInt("SEvolume");
     jump   = SaveData.GetInt("JumpKey");
     magic  = SaveData.GetInt("MagicKey");
     Reset();
 }
Exemple #5
0
    void Awake()
    {
        controller  = GetComponent <CharacterController>();
        changeScale = GetComponent <ChangeScale>();

        ground            = GetComponent <Ground>();
        jump              = GetComponent <Jump>();
        antigravityEffect = GetComponent <AntigravityEffect>();
    }
    const int SELECT_SETTING2 = 2;                      //深度2のメニュー

    void Start()
    {
        wConfig = GetComponent <ChangeScale>();
        //メニュー初期化
        ResetMenu();
        BGMvol = SaveData.GetInt("BGMvolume");
        SEvol  = SaveData.GetInt("SEvolume");
        jump   = SaveData.GetInt("JumpKey");
        magic  = SaveData.GetInt("MagicKey");
    }
Exemple #7
0
 // Use this for initialization
 void Start()
 {
     audio       = GetComponent <AudioSource>();
     seManager   = GetComponent <SEManager>();
     changeScale = new ChangeScale(new Vector3(1, 1, 1), changeTime);
     //mirrorRect = new Rect(1, 1, 1, 1);
     normalScale  = transform.localScale;
     scale        = new Vector3(1, 1, 1);//transform.localScale;
     scaleStorage = scale;
     normalMass   = GetComponent <Rigidbody>().mass;
     sizeStorage  = SizeEnum.Normal;
 }
 // Use this for initialization
 void Start()
 {
     changeScale = new ChangeScale(new Vector3(1, 1, 1), changeTime);
 }
Exemple #9
0
 void Start()
 {
     highPolyBoard = GameObject.Find("ChangeScale");
     changeScale   = highPolyBoard.GetComponent <ChangeScale>();
 }
Exemple #10
0
    private TitleBackShadows backShadow;    //バックのシャドウ

    void Start()
    {
        wCredit = GetComponent <ChangeScale>();  //取得
    }