Пример #1
0
    private AnimationType motion = AnimationType.run;                   //表示モーション

    void Start()
    {
        ivGimmick = ivyGimmick.GetComponent <IvyGimmick> ();
        boAnima   = boatBack.GetComponent <BoatAnimation> ();
        width     = Screen.width;       //	画面の横幅取得
        height    = Screen.height;      //	画面の縦幅取得
        middle    = width / 2;          //	画面の真ん中取得
    }
 private void Awake()
 {
     Instance = this;
 }
Пример #3
0
 // Use this for initialization
 void Start()
 {
     boaScript = boatBack.GetComponent <BoatAnimation> ();
     boatAnima = GetComponent <Animator> ();
 }