コード例 #1
0
    void Awake()
    {
        s = this;
        Transform launchTrans = transform.Find("LaunchPoint");

        launchPoint = launchTrans.gameObject;
        launchPoint.SetActive(false);
        launchPos = launchTrans.position;
    }
コード例 #2
0
 public void Init(Vector2 destination, SlingshotController slingshot)
 {
     this.destination = destination;
     this.slingshot   = slingshot;
 }