コード例 #1
0
 private void Start()
 {
     if (instance == null)
     {
         instance = this;
     }
 }
コード例 #2
0
    public float deviation = 10.0f; // in degrees

    private void Start()
    {
        blasterGun = GetComponent <BlasterGun>();
    }