コード例 #1
0
 // Use this for initialization
 void Start()
 {
     //取得
     StartFlg = GameObject.Find("StartProduction").GetComponent <StartProduction>();
     SetParticle(false);
     StartDashCount = GameObject.Find("Player").GetComponent <StartDash>();
 }
コード例 #2
0
ファイル: UFORotate.cs プロジェクト: kimch2/SphereRaceProject
    private StartProduction StartFlg; //スタート判定用

    // Use this for initialization
    void Start()
    {
        //取得
        StartFlg = GameObject.Find("StartProduction").GetComponent <StartProduction>();
        DashFlg  = GameObject.Find("Player").GetComponent <StartDash>();
        //初期角度保存
        vInitAngle = transform.localEulerAngles;
    }