void Awake() { s = this; Transform launchTrans = transform.Find("LaunchPoint"); launchPoint = launchTrans.gameObject; launchPoint.SetActive(false); launchPos = launchTrans.position; }
public void Init(Vector2 destination, SlingshotController slingshot) { this.destination = destination; this.slingshot = slingshot; }