Example #1
0
 void Start()
 {
     Coin  = this.GetComponent <CcreateCoin>().Coin;
     T     = this.GetComponent <Turn>();
     GP    = this.GetComponent <GaidPoint>();
     CC    = this.GetComponent <ChangeCoin>();
     point = this.GetComponent <GaidPoint>().point;
     SCB   = GameObject.Find("Button").GetComponent <SpecialCoinB>();
     sw    = false;
 }
Example #2
0
 // Update is called once per frame
 void Start()
 {
     Coin  = this.GetComponent <CcreateCoin>().Coin;
     T     = this.GetComponent <Turn>();
     GP    = this.GetComponent <GaidPoint>();
     CC    = this.GetComponent <ChangeCoin>();
     point = this.GetComponent <GaidPoint>().point;
     SCB   = GameObject.Find("Button").GetComponent <SpecialCoinB>();
     GA    = this.GetComponent <GameAI>();
     GP.Gaid(false);//初手のガイドを呼び出す
     audioSource = GetComponent <AudioSource>();
 }