Example #1
0
        internal void init(RaycastModel rm)
        {
            raycastModel = rm;
            pointerCurve = transform.Find("PointerCurve").gameObject;
            pointerCurve.SetActive(false);

            pointerSpline = pointerCurve.GetComponent<BezierSpline>();

            cardCanvasHelper = GameObject.Find(Constants.cardCanvas).GetComponent<CardCanvasHelperView>();
        }
 public void Init(RaycastModel rm)
 {
     raycastModel = rm;
     Camera.main.orthographicSize = CameraOrthoSize();
 }
Example #3
0
 internal void init(RaycastModel rm)
 {
     active = true;
     raycastModel = rm;
 }
 internal void init(RaycastModel rm)
 {
     active = true;
     clickSignal.AddListener(onClick);
     raycastModel = rm;
 }